]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc996eef387641dff5fe57ac91391a0a2ea2292a3
tree8054c0f96d988a9fb34d0e1d3a1a78c1e85ae426
parentb4288ddc455e93a3c7052d0aeee0e24954343cd7
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