]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
spi: spidev: Add an entry for elgin,jg10309-01
authorFabio Estevam <festevam@gmail.com>
Wed, 28 Aug 2024 18:00:56 +0000 (15:00 -0300)
committerMark Brown <broonie@kernel.org>
Thu, 29 Aug 2024 12:24:32 +0000 (13:24 +0100)
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>
drivers/spi/spidev.c

index 5304728c68c20d3a7e62538585993c013744b3b7..14bf0fa65befefe0e963d2a05e82e8ce37478d04 100644 (file)
@@ -731,6 +731,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 },