diff options
Diffstat (limited to 'Documentation/devicetree/bindings/pwm/ti,twl-pwmled.txt')
| -rw-r--r-- | Documentation/devicetree/bindings/pwm/ti,twl-pwmled.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pwm/ti,twl-pwmled.txt b/Documentation/devicetree/bindings/pwm/ti,twl-pwmled.txt new file mode 100644 index 000000000000..cb64f3acc10f --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/ti,twl-pwmled.txt | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | Texas Instruments TWL series PWM drivers connected to LED terminals | ||
| 2 | |||
| 3 | Supported PWMs: | ||
| 4 | On TWL4030 series: PWMA and PWMB (connected to LEDA and LEDB terminals) | ||
| 5 | On TWL6030 series: LED PWM (mainly used as charging indicator LED) | ||
| 6 | |||
| 7 | Required properties: | ||
| 8 | - compatible: "ti,twl4030-pwmled" or "ti,twl6030-pwmled" | ||
| 9 | - #pwm-cells: should be 2. The first cell specifies the per-chip index | ||
| 10 | of the PWM to use and the second cell is the period in nanoseconds. | ||
| 11 | |||
| 12 | Example: | ||
| 13 | |||
| 14 | twl_pwmled: pwmled { | ||
| 15 | compatible = "ti,twl6030-pwmled"; | ||
| 16 | #pwm-cells = <2>; | ||
| 17 | }; | ||
