xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/leds/backlight/tps65217-backlight.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunTPS65217 family of regulators
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThe TPS65217 chip contains a boost converter and current sinks which can be
4*4882a593Smuzhiyunused to drive LEDs for use as backlights.
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunRequired properties:
7*4882a593Smuzhiyun- compatible: "ti,tps65217"
8*4882a593Smuzhiyun- reg: I2C slave address
9*4882a593Smuzhiyun- backlight: node for specifying WLED1 and WLED2 lines in TPS65217
10*4882a593Smuzhiyun- isel: selection bit, valid values: 1 for ISEL1 (low-level) and 2 for ISEL2 (high-level)
11*4882a593Smuzhiyun- fdim: PWM dimming frequency, valid values: 100, 200, 500, 1000
12*4882a593Smuzhiyun- default-brightness: valid values: 0-100
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunEach regulator is defined using the standard binding for regulators.
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunExample:
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun	tps: tps@24 {
19*4882a593Smuzhiyun		reg = <0x24>;
20*4882a593Smuzhiyun		compatible = "ti,tps65217";
21*4882a593Smuzhiyun		backlight {
22*4882a593Smuzhiyun			isel = <1>;  /* 1 - ISET1, 2 ISET2 */
23*4882a593Smuzhiyun			fdim = <100>; /* TPS65217_BL_FDIM_100HZ */
24*4882a593Smuzhiyun			default-brightness = <50>;
25*4882a593Smuzhiyun		};
26*4882a593Smuzhiyun	};
27*4882a593Smuzhiyun
28