diff options
author | Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> | 2014-09-02 08:51:22 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-09-16 20:55:27 -0400 |
commit | d898ce03675fc061f89a347a22d41271ed75c436 (patch) | |
tree | 80613f595ddcfe9dc6dd46c5178878c32b3095dd /Documentation | |
parent | 12778fc14301cf24d79cd89b0129874c319d0a38 (diff) |
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')
-rw-r--r-- | Documentation/devicetree/bindings/drm/tilcdc/panel.txt | 2 |
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: | |||
20 | 20 | ||
21 | Optional properties: | 21 | Optional properties: |
22 | - backlight: phandle of the backlight device attached to the panel | 22 | - backlight: phandle of the backlight device attached to the panel |
23 | - enable-gpios: GPIO pin to enable or disable the panel | ||
23 | 24 | ||
24 | Recommended properties: | 25 | Recommended properties: |
25 | - pinctrl-names, pinctrl-0: the pincontrol settings to configure | 26 | - pinctrl-names, pinctrl-0: the pincontrol settings to configure |
@@ -33,6 +34,7 @@ Example: | |||
33 | pinctrl-names = "default"; | 34 | pinctrl-names = "default"; |
34 | pinctrl-0 = <&bone_lcd3_cape_lcd_pins>; | 35 | pinctrl-0 = <&bone_lcd3_cape_lcd_pins>; |
35 | backlight = <&backlight>; | 36 | backlight = <&backlight>; |
37 | enable-gpios = <&gpio3 19 0>; | ||
36 | 38 | ||
37 | panel-info { | 39 | panel-info { |
38 | ac-bias = <255>; | 40 | ac-bias = <255>; |