]> 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)
commit7f7a786d8940b230810558eac6fe989a763281c1
tree8054c0f96d988a9fb34d0e1d3a1a78c1e85ae426
parentbed53681b60b9439d1cad6a84648cfadd33796fd
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