Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | - default-brightness: valid values: 0-100 |
| 13 | |
| 14 | Each regulator is defined using the standard binding for regulators. |
| 15 | |
| 16 | Example: |
| 17 | |
| 18 | tps: tps@24 { |
| 19 | reg = <0x24>; |
| 20 | compatible = "ti,tps65217"; |
| 21 | backlight { |
| 22 | isel = <1>; /* 1 - ISET1, 2 ISET2 */ |
| 23 | fdim = <100>; /* TPS65217_BL_FDIM_100HZ */ |
| 24 | default-brightness = <50>; |
| 25 | }; |
| 26 | }; |
| 27 | |