]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/tilcdc: panel: Fix backlight devicetree support
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Tue, 2 Sep 2014 12:51:20 +0000 (09:51 -0300)
committerDave Airlie <airlied@redhat.com>
Wed, 17 Sep 2014 00:55:10 +0000 (10:55 +1000)
commit18c44db8cafe9bda4fcb51bfc05c1f1d7cefc44c
tree11e9acff4f78b2edee93676925a52122460c5788
parent971645d1fd734b8098a5113d61ab9ea93ce83921
drm/tilcdc: panel: Fix backlight devicetree support

The current backlight support is broken; the driver expects a backlight-class
in the panel devicetree node. Fix this by implementing it properly, getting
an optional backlight from a phandle.

This shouldn't cause any backward-compatibility DT issue because the current
implementation doesn't work and is not even documented.

Tested-by: Darren Etheridge <detheridge@ti.com>
Tested-by: Johannes Pointner <johannes.pointner@br-automation.com>
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Documentation/devicetree/bindings/drm/tilcdc/panel.txt
drivers/gpu/drm/tilcdc/tilcdc_panel.c