diff options
author | Simon Glass <sjg@chromium.org> | 2016-01-21 19:44:57 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-21 20:42:36 -0700 |
commit | 65fba5927c9f5e313a15b952c8e51b6e3a693534 (patch) | |
tree | 9907823d2a41ce77ae81427a91c198e2a4ecf767 /drivers/video/Makefile | |
parent | 363bf77acc31bf0db66e1d942860d79339e29b88 (diff) | |
download | u-boot-65fba5927c9f5e313a15b952c8e51b6e3a693534.zip u-boot-65fba5927c9f5e313a15b952c8e51b6e3a693534.tar.gz u-boot-65fba5927c9f5e313a15b952c8e51b6e3a693534.tar.bz2 |
dm: backlight: Add a driver for a PWM backlight
Many backlights need to use a PWM to control the brightness. Add a driver
for this. It understands the standard device tree binding.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/video/Makefile')
-rw-r--r-- | drivers/video/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/Makefile b/drivers/video/Makefile index fa90721..6d89532 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -10,6 +10,9 @@ obj-$(CONFIG_DISPLAY_PORT) += dp-uclass.o obj-$(CONFIG_DM_VIDEO) += backlight-uclass.o obj-$(CONFIG_DM_VIDEO) += video-uclass.o vidconsole-uclass.o console_normal.o obj-$(CONFIG_DM_VIDEO) += video_bmp.o +ifdef CONFIG_DM_VIDEO +obj-$(CONFIG_DM_PWM) += pwm_backlight.o +endif obj-$(CONFIG_VIDEO_ROTATION) += console_rotate.o endif |