diff options
author | Matus Ujhelyi <ujhelyi.m@gmail.com> | 2013-04-29 19:18:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-29 21:28:19 -0400 |
commit | 17e45db62a4683a7318294d652895dfad575da41 (patch) | |
tree | d35986ffd65302d38b5050cf89bffc06bd7763f3 /Documentation | |
parent | 4add06645a0be0519030705e3076e1a5ceba7477 (diff) |
Documentation: add missing documentation for tps65217-bl device tree binding
Signed-off-by: Matus Ujhelyi <matus.ujhelyi@streamunlimited.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/video/backlight/tps65217-backlight.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/video/backlight/tps65217-backlight.txt b/Documentation/devicetree/bindings/video/backlight/tps65217-backlight.txt new file mode 100644 index 000000000000..76485247b35d --- /dev/null +++ b/Documentation/devicetree/bindings/video/backlight/tps65217-backlight.txt | |||
@@ -0,0 +1,24 @@ | |||
1 | TPS65217 family of regulators | ||
2 | |||
3 | The TPS65217 chip contains a boost converter and current sinks which can be | ||
4 | used to drive LEDs for use as backlights. | ||
5 | |||
6 | Required properties: | ||
7 | - compatible: "ti,tps65217" | ||
8 | - reg: I2C slave address | ||
9 | - backlight: node for specifying WLED1 and WLED2 lines in TPS65217 | ||
10 | - isel: selection bit, valid values: 1 for ISEL1 (low-level) and 2 for ISEL2 (high-level) | ||
11 | - fdim: PWM dimming frequency, valid values: 100, 200, 500, 1000 | ||
12 | |||
13 | Each regulator is defined using the standard binding for regulators. | ||
14 | |||
15 | Example: | ||
16 | |||
17 | tps: tps@24 { | ||
18 | reg = <0x24>; | ||
19 | compatible = "ti,tps65217"; | ||
20 | backlight { | ||
21 | isel = <1>; /* 1 - ISET1, 2 ISET2 */ | ||
22 | fdim = <100>; /* TPS65217_BL_FDIM_100HZ */ | ||
23 | }; | ||
24 | }; | ||