Skip to content

Commit

Permalink
Documentation: add missing documentation for tps65217-bl device tree …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Matus Ujhelyi authored and Linus Torvalds committed Apr 30, 2013
1 parent 4add066 commit 17e45db
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
TPS65217 family of regulators

The TPS65217 chip contains a boost converter and current sinks which can be
used to drive LEDs for use as backlights.

Required properties:
- compatible: "ti,tps65217"
- reg: I2C slave address
- backlight: node for specifying WLED1 and WLED2 lines in TPS65217
- isel: selection bit, valid values: 1 for ISEL1 (low-level) and 2 for ISEL2 (high-level)
- fdim: PWM dimming frequency, valid values: 100, 200, 500, 1000

Each regulator is defined using the standard binding for regulators.

Example:

tps: tps@24 {
reg = <0x24>;
compatible = "ti,tps65217";
backlight {
isel = <1>; /* 1 - ISET1, 2 ISET2 */
fdim = <100>; /* TPS65217_BL_FDIM_100HZ */
};
};

0 comments on commit 17e45db

Please sign in to comment.