diff options
author | Carlo Caione <ccaione@baylibre.com> | 2022-12-19 12:02:37 +0300 |
---|---|---|
committer | Neil Armstrong <neil.armstrong@linaro.org> | 2023-01-02 13:02:08 +0300 |
commit | e9c7cfe7b71d26ee4a9f17192632f3d0ff246001 (patch) | |
tree | 7b6b4257185878fa9ce9bd7f0c9ff99b9b83b428 /drivers/gpu/drm/tiny/ili9486.c | |
parent | 12cf36c7125e5313249230e6235b4bfb2c4f765f (diff) | |
download | linux-e9c7cfe7b71d26ee4a9f17192632f3d0ff246001.tar.xz |
drm/tiny: ili9486: Enable driver module autoloading
SPI devices use the spi_device_id for module autoloading even on
systems using device tree.
Add the spi_device_id entry to enable autoloading for the 3.5inch RPi
Display (rpi-lcd-35 and piscreen).
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Carlo Caione <ccaione@baylibre.com>
Reviewed-by: Kamlesh Gurudasani <kamlesh.gurudasani@gmail.com>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20221116-s905x_spi_ili9486-v4-1-f86b4463b9e4@baylibre.com
Diffstat (limited to 'drivers/gpu/drm/tiny/ili9486.c')
-rw-r--r-- | drivers/gpu/drm/tiny/ili9486.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tiny/ili9486.c b/drivers/gpu/drm/tiny/ili9486.c index 9f735d84d85d..c207ee76f612 100644 --- a/drivers/gpu/drm/tiny/ili9486.c +++ b/drivers/gpu/drm/tiny/ili9486.c @@ -180,6 +180,8 @@ MODULE_DEVICE_TABLE(of, ili9486_of_match); static const struct spi_device_id ili9486_id[] = { { "ili9486", 0 }, + { "rpi-lcd-35", 0 }, + { "piscreen", 0 }, { } }; MODULE_DEVICE_TABLE(spi, ili9486_id); |