summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/drm
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>2014-09-02 16:51:22 +0400
committerDave Airlie <airlied@redhat.com>2014-09-17 04:55:27 +0400
commitd898ce03675fc061f89a347a22d41271ed75c436 (patch)
tree80613f595ddcfe9dc6dd46c5178878c32b3095dd /Documentation/devicetree/bindings/drm
parent12778fc14301cf24d79cd89b0129874c319d0a38 (diff)
downloadlinux-d898ce03675fc061f89a347a22d41271ed75c436.tar.xz
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>
Diffstat (limited to 'Documentation/devicetree/bindings/drm')
-rw-r--r--Documentation/devicetree/bindings/drm/tilcdc/panel.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/drm/tilcdc/panel.txt b/Documentation/devicetree/bindings/drm/tilcdc/panel.txt
index 10a06e826b4a..4ab9e2300907 100644
--- a/Documentation/devicetree/bindings/drm/tilcdc/panel.txt
+++ b/Documentation/devicetree/bindings/drm/tilcdc/panel.txt
@@ -20,6 +20,7 @@ Required properties:
Optional properties:
- backlight: phandle of the backlight device attached to the panel
+- enable-gpios: GPIO pin to enable or disable the panel
Recommended properties:
- pinctrl-names, pinctrl-0: the pincontrol settings to configure
@@ -33,6 +34,7 @@ Example:
pinctrl-names = "default";
pinctrl-0 = <&bone_lcd3_cape_lcd_pins>;
backlight = <&backlight>;
+ enable-gpios = <&gpio3 19 0>;
panel-info {
ac-bias = <255>;