summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spidev.c
diff options
context:
space:
mode:
authorDaniel Walker <danielwa@cisco.com>2021-01-21 15:12:36 -0800
committerMark Brown <broonie@kernel.org>2021-01-25 12:53:48 +0000
commit396cf2a46adddbf51373e16225c1d25254310046 (patch)
treeb9018d3eaa100e7422b8d8cf78fe94374917681c /drivers/spi/spidev.c
parent55a8b42e8645a6dab88674a30cb6ed328e660680 (diff)
downloadlinux-396cf2a46adddbf51373e16225c1d25254310046.tar.bz2
spidev: Add cisco device compatible
Add compatible string for Cisco device present on the Cisco Petra platform. Signed-off-by: Daniel Walker <danielwa@cisco.com> Cc: xe-linux-external@cisco.com Link: https://lore.kernel.org/r/20210121231237.30664-2-danielwa@cisco.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spidev.c')
-rw-r--r--drivers/spi/spidev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
index 859910ec8d9f..8cb4d923aeaa 100644
--- a/drivers/spi/spidev.c
+++ b/drivers/spi/spidev.c
@@ -682,6 +682,7 @@ static const struct of_device_id spidev_dt_ids[] = {
{ .compatible = "lwn,bk4" },
{ .compatible = "dh,dhcom-board" },
{ .compatible = "menlo,m53cpld" },
+ { .compatible = "cisco,spi-petra" },
{},
};
MODULE_DEVICE_TABLE(of, spidev_dt_ids);