summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tinydrm/Kconfig
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2018-10-24 21:43:12 +0300
committerEric Anholt <eric@anholt.net>2018-10-31 02:23:38 +0300
commitf300c86e33a686c7abcf0c37deee04ef666ed78b (patch)
tree2866830062d03f0fe30b3e9bab656e3e11fc3301 /drivers/gpu/drm/tinydrm/Kconfig
parent86619c3859c0ff066e519257442b37f90b1212af (diff)
downloadlinux-f300c86e33a686c7abcf0c37deee04ef666ed78b.tar.xz
drm: Add an hx8367d tinydrm driver.
I want to sort out support for tinydrm in vc4, so I needed to get a tinydrm-appropriate panel working and this is what I had on hand. This is derived from a combination of ili9341.c from tinydrm and fb_hx8357d.c from staging's fbtft. v2: Write my own register defs from the spec to not need the header from fbtft. Fix spi device string to enable module autoloading. (Suggestions by Noralf) Signed-off-by: Eric Anholt <eric@anholt.net> Link: https://patchwork.freedesktop.org/patch/msgid/20181024184313.2967-3-eric@anholt.net Reviewed-by: Noralf Trønnes <noralf@tronnes.org> (v1)
Diffstat (limited to 'drivers/gpu/drm/tinydrm/Kconfig')
-rw-r--r--drivers/gpu/drm/tinydrm/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tinydrm/Kconfig b/drivers/gpu/drm/tinydrm/Kconfig
index 16f4b5c91f1b..2c408ac1a900 100644
--- a/drivers/gpu/drm/tinydrm/Kconfig
+++ b/drivers/gpu/drm/tinydrm/Kconfig
@@ -10,6 +10,17 @@ menuconfig DRM_TINYDRM
config TINYDRM_MIPI_DBI
tristate
+config TINYDRM_HX8357D
+ tristate "DRM support for HX8357D display panels"
+ depends on DRM_TINYDRM && SPI
+ depends on BACKLIGHT_CLASS_DEVICE
+ select TINYDRM_MIPI_DBI
+ help
+ DRM driver for the following HX8357D panels:
+ * YX350HV15-T 3.5" 340x350 TFT (Adafruit 3.5")
+
+ If M is selected the module will be called hx8357d.
+
config TINYDRM_ILI9225
tristate "DRM support for ILI9225 display panels"
depends on DRM_TINYDRM && SPI