OSDN Git Service

drm/omap: displays: panel-dpi: Support for handling backlight devices
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 9 Sep 2016 10:33:06 +0000 (13:33 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 3 Apr 2017 09:36:40 +0000 (12:36 +0300)
commit39135a305a0f0a82d60ceb79dcbf094fc4e70123
tree8054c0f96d988a9fb34d0e1d3a1a78c1e85ae426
parent4573ebe5ec3121dd4e6f3e8f0c5feba01a235251
drm/omap: displays: panel-dpi: Support for handling backlight devices

The associated backlight device can be configured via DT by providing the
phandle to the device.

If the backlight device is configured, the driver can manage the backligt
along with the panel's power state, iow it can turn on the backlight when
the panel is enabled and turn it off when the panel is disabled.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Documentation/devicetree/bindings/display/panel/panel-dpi.txt
drivers/gpu/drm/omapdrm/displays/panel-dpi.c