summaryrefslogtreecommitdiff
path: root/drivers/video/Kconfig
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2017-08-03 12:36:06 +0200
committerAnatolij Gustschin <agust@denx.de>2017-09-12 13:40:47 +0200
commit08a43cfbc29224dadf1d725e26697c227bf9723a (patch)
tree64bbbc5d37fb57cdaa09e9f8b5514c0bcee27d20 /drivers/video/Kconfig
parentc98ac3487e413c71e5d36322ef3324b21c6f60f9 (diff)
downloadu-boot-08a43cfbc29224dadf1d725e26697c227bf9723a.tar.gz
dm: backlight: Add CONFIG_BACKLIGHT_PWM
Add a config to select individually the driver for PWM backlights. Manage "depends on" to be backyard compatible. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'drivers/video/Kconfig')
-rw-r--r--drivers/video/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 082cc4a528..fe34da073b 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -14,6 +14,17 @@ config DM_VIDEO
option compiles in the video uclass and routes all LCD/video access
through this.
+config BACKLIGHT_PWM
+ bool "Generic PWM based Backlight Driver"
+ depends on DM_VIDEO && DM_PWM
+ default y
+ help
+ If you have a LCD backlight adjustable by PWM, say Y to enable
+ this driver.
+ This driver can be use with "simple-panel" and
+ it understands the standard device tree
+ (leds/backlight/pwm-backlight.txt)
+
config VIDEO_BPP8
bool "Support 8-bit-per-pixel displays"
depends on DM_VIDEO