diff options
author | Denis Carikli <denis@eukrea.com> | 2014-02-27 09:28:33 -0500 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-04-08 08:20:40 -0400 |
commit | 9a6adb339e5d1827da5e8b2459b12863d72ed3e7 (patch) | |
tree | b7b2e59f74713375f20b397c5f68eecba997586a /Documentation/devicetree | |
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/devicetree')
-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 000000000000..321be6640533 --- /dev/null +++ b/Documentation/devicetree/bindings/video/backlight/gpio-backlight.txt | |||
@@ -0,0 +1,16 @@ | |||
1 | gpio-backlight bindings | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: "gpio-backlight" | ||
5 | - gpios: describes the gpio that is used for enabling/disabling the backlight. | ||
6 | refer to bindings/gpio/gpio.txt for more details. | ||
7 | |||
8 | Optional properties: | ||
9 | - default-on: enable the backlight at boot. | ||
10 | |||
11 | Example: | ||
12 | backlight { | ||
13 | compatible = "gpio-backlight"; | ||
14 | gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>; | ||
15 | default-on; | ||
16 | }; | ||