mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00

This driver requires of_get_display_timing() from
CONFIG_VIDEOMODE_HELPERS but does not select it. If no other driver
selects it, there will be a failure from the linker if the driver is
built in or modpost if it is a module.
ERROR: modpost: "of_get_display_timing" [drivers/gpu/drm/sitronix/st7571-i2c.ko] undefined!
Select CONFIG_VIDEOMODE_HELPERS to resolve the build failure.
Fixes: 4b35f0f41e
("drm/st7571-i2c: add support for Sitronix ST7571 LCD controller")
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20250610-drm-st7571-i2c-select-videomode-helpers-v1-1-d30b50ff6e64@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
53 lines
1.3 KiB
Plaintext
53 lines
1.3 KiB
Plaintext
config DRM_ST7571_I2C
|
|
tristate "DRM support for Sitronix ST7571 display panels (I2C)"
|
|
depends on DRM && I2C && MMU
|
|
select DRM_CLIENT_SELECTION
|
|
select DRM_GEM_SHMEM_HELPER
|
|
select DRM_KMS_HELPER
|
|
select REGMAP_I2C
|
|
select VIDEOMODE_HELPERS
|
|
help
|
|
DRM driver for Sitronix ST7571 panels controlled over I2C.
|
|
|
|
if M is selected the module will be called st7571-i2c.
|
|
|
|
config TINYDRM_ST7586
|
|
tristate
|
|
default n
|
|
|
|
config DRM_ST7586
|
|
tristate "DRM support for Sitronix ST7586 display panels"
|
|
depends on DRM && SPI
|
|
select DRM_CLIENT_SELECTION
|
|
select DRM_KMS_HELPER
|
|
select DRM_GEM_DMA_HELPER
|
|
select DRM_MIPI_DBI
|
|
default TINYDRM_ST7586
|
|
help
|
|
DRM driver for the following Sitronix ST7586 panels:
|
|
* LEGO MINDSTORMS EV3
|
|
|
|
If M is selected the module will be called st7586.
|
|
|
|
config TINYDRM_ST7735R
|
|
tristate
|
|
default n
|
|
|
|
config DRM_ST7735R
|
|
tristate "DRM support for Sitronix ST7715R/ST7735R display panels"
|
|
depends on DRM && SPI
|
|
select DRM_CLIENT_SELECTION
|
|
select DRM_KMS_HELPER
|
|
select DRM_GEM_DMA_HELPER
|
|
select DRM_MIPI_DBI
|
|
select BACKLIGHT_CLASS_DEVICE
|
|
default TINYDRM_ST7735R
|
|
help
|
|
DRM driver for Sitronix ST7715R/ST7735R with one of the following
|
|
LCDs:
|
|
* Jianda JD-T18003-T01 1.8" 128x160 TFT
|
|
* Okaya RH128128T 1.44" 128x128 TFT
|
|
|
|
If M is selected the module will be called st7735r.
|
|
|