summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDaniel Walker <danielwa@cisco.com>2021-01-22 02:12:36 +0300
committerMark Brown <broonie@kernel.org>2021-01-25 15:53:48 +0300
commit396cf2a46adddbf51373e16225c1d25254310046 (patch)
treeb9018d3eaa100e7422b8d8cf78fe94374917681c /drivers
parent55a8b42e8645a6dab88674a30cb6ed328e660680 (diff)
downloadlinux-396cf2a46adddbf51373e16225c1d25254310046.tar.xz
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')
-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);