diff options
author | Denis Carikli <denis@eukrea.com> | 2014-02-27 14:28:33 (GMT) |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-04-08 12:20:40 (GMT) |
commit | 9a6adb339e5d1827da5e8b2459b12863d72ed3e7 (patch) | |
tree | b7b2e59f74713375f20b397c5f68eecba997586a /Documentation/devicetree/bindings | |
parent | 35762a47c0a24072a689cbd98ecf8c62b037ef8a (diff) | |
download | linux-9a6adb339e5d1827da5e8b2459b12863d72ed3e7.tar.xz |
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/devicetree/bindings')
-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 0000000..321be66 --- /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; + }; |