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