diff options
author | Denis Carikli <denis@eukrea.com> | 2014-02-27 15:28:33 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-04-08 13:20:40 +0100 |
commit | 9a6adb339e5d1827da5e8b2459b12863d72ed3e7 (patch) | |
tree | b7b2e59f74713375f20b397c5f68eecba997586a /Documentation | |
parent | 35762a47c0a24072a689cbd98ecf8c62b037ef8a (diff) |
backlight: gpio-backlight: Add DT support
Signed-off-by: Denis Carikli <denis@eukrea.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/video/backlight/gpio-backlight.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/video/backlight/gpio-backlight.txt b/Documentation/devicetree/bindings/video/backlight/gpio-backlight.txt new file mode 100644 index 00000000000..321be664053 --- /dev/null +++ b/Documentation/devicetree/bindings/video/backlight/gpio-backlight.txt @@ -0,0 +1,16 @@ +gpio-backlight bindings + +Required properties: + - compatible: "gpio-backlight" + - gpios: describes the gpio that is used for enabling/disabling the backlight. + refer to bindings/gpio/gpio.txt for more details. + +Optional properties: + - default-on: enable the backlight at boot. + +Example: + backlight { + compatible = "gpio-backlight"; + gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>; + default-on; + }; |