Message ID | 20240719111210.1287783-2-festevam@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | [v2,1/3] dt-bindings: trivial-devices: Document elgin,jg10309-01 | expand |
Am Freitag, 19. Juli 2024, 13:12:09 CEST schrieb Fabio Estevam: > 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> > --- > Changes since v1: > - Use a more specific compatible string. (Conor) > > drivers/spi/spidev.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c > index 05e6d007f9a7..316ed3664cb2 100644 > --- a/drivers/spi/spidev.c > +++ b/drivers/spi/spidev.c > @@ -730,6 +730,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 }, >
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 05e6d007f9a7..316ed3664cb2 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -730,6 +730,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 },
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> --- Changes since v1: - Use a more specific compatible string. (Conor) drivers/spi/spidev.c | 1 + 1 file changed, 1 insertion(+)