summaryrefslogtreecommitdiff
path: root/drivers/video/Kconfig
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2017-08-03 12:36:07 +0200
committerAnatolij Gustschin <agust@denx.de>2017-09-12 13:40:47 +0200
commit5b6a6a91c870949e21b7fd3865582ea6a32ea922 (patch)
tree1f5a02acdfdfa4c81c715ec8a74d80239c2c9ef1 /drivers/video/Kconfig
parent08a43cfbc29224dadf1d725e26697c227bf9723a (diff)
dm: backlight: Add a driver for GPIO backlight
Add a driver for GPIO backlights. It understands the standard device tree binding. It can be used with simple-panel when PWM is not necessary. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'drivers/video/Kconfig')
-rw-r--r--drivers/video/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index fe34da073bb..40a656ee0a8 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -25,6 +25,16 @@ config BACKLIGHT_PWM
it understands the standard device tree
(leds/backlight/pwm-backlight.txt)
+config BACKLIGHT_GPIO
+ bool "Generic GPIO based Backlight Driver"
+ depends on DM_VIDEO
+ help
+ If you have a LCD backlight adjustable by GPIO, say Y to enable
+ this driver.
+ This driver can be used with "simple-panel" and
+ it understands the standard device tree
+ (leds/backlight/gpio-backlight.txt)
+
config VIDEO_BPP8
bool "Support 8-bit-per-pixel displays"
depends on DM_VIDEO