dm: backlight: Add a backlight uclass
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:44:56 +0000 (19:44 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:36 +0000 (20:42 -0700)
commit363bf77acc31bf0db66e1d942860d79339e29b88
tree8443dffc47445836f252a6dec1efd6451ab37cc0
parent0e23fd81a54f92655315a1bc3aec85d1a3dd9ae8
dm: backlight: Add a backlight uclass

LCD panels normally have a backlight which can be controlled to illuminate
the LCD contents. Add a uclass to support this. Initially it only has a
method to enable the backlight.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/Makefile
drivers/video/backlight-uclass.c [new file with mode: 0644]
include/backlight.h [new file with mode: 0644]
include/dm/uclass-id.h