summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2024-08-28 15:00:56 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-09-30 16:25:11 +0200
commita9affc6dd8b0d51da934e8370af3a8cd6292c816 (patch)
treea219c51d0661a8c896179a01e68d1cdf9f274559 /drivers/spi
parent5a8f8d49bcd71c8c2420d41d5872a22b84b293ef (diff)
downloadlinux-rpi-a9affc6dd8b0d51da934e8370af3a8cd6292c816.tar.gz
linux-rpi-a9affc6dd8b0d51da934e8370af3a8cd6292c816.tar.bz2
linux-rpi-a9affc6dd8b0d51da934e8370af3a8cd6292c816.zip
spi: spidev: Add an entry for elgin,jg10309-01
[ Upstream commit 5f3eee1eef5d0edd23d8ac0974f56283649a1512 ] The rv1108-elgin-r1 board has an LCD controlled via SPI in userspace. The marking on the LCD is JG10309-01. Add the "elgin,jg10309-01" compatible string. Signed-off-by: Fabio Estevam <festevam@gmail.com> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Link: https://patch.msgid.link/20240828180057.3167190-2-festevam@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/spi')
-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 b97206d47ec6..edc47a97cbe4 100644
--- a/drivers/spi/spidev.c
+++ b/drivers/spi/spidev.c
@@ -735,6 +735,7 @@ static int spidev_of_check(struct device *dev)
static const struct of_device_id spidev_dt_ids[] = {
{ .compatible = "cisco,spi-petra", .data = &spidev_of_check },
{ .compatible = "dh,dhcom-board", .data = &spidev_of_check },
+ { .compatible = "elgin,jg10309-01", .data = &spidev_of_check },
{ .compatible = "lineartechnology,ltc2488", .data = &spidev_of_check },
{ .compatible = "lwn,bk4", .data = &spidev_of_check },
{ .compatible = "menlo,m53cpld", .data = &spidev_of_check },