]> git.karo-electronics.de Git - linux-beck.git/commit
drm/tilcdc: panel: Add support for enable GPIO
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Tue, 2 Sep 2014 12:51:22 +0000 (09:51 -0300)
committerDave Airlie <airlied@redhat.com>
Wed, 17 Sep 2014 00:55:27 +0000 (10:55 +1000)
commitd898ce03675fc061f89a347a22d41271ed75c436
tree80613f595ddcfe9dc6dd46c5178878c32b3095dd
parent12778fc14301cf24d79cd89b0129874c319d0a38
drm/tilcdc: panel: Add support for enable GPIO

In order to support the "enable GPIO" available in many panel devices,
this commit adds a proper devicetree binding.

By providing an enable GPIO in the devicetree, the driver can now turn
off and on the panel device, and/or the backlight device. Both the
backlight and the GPIO are optional properties.

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