diff options
Diffstat (limited to 'Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt')
-rw-r--r-- | Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt b/Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt new file mode 100644 index 000000000000..de0eaed86651 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt | |||
@@ -0,0 +1,18 @@ | |||
1 | Atmel TCB PWM controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: should be "atmel,tcb-pwm" | ||
5 | - #pwm-cells: Should be 3. The first cell specifies the per-chip index | ||
6 | of the PWM to use, the second cell is the period in nanoseconds and | ||
7 | bit 0 in the third cell is used to encode the polarity of PWM output. | ||
8 | Set bit 0 of the third cell in PWM specifier to 1 for inverse polarity & | ||
9 | set to 0 for normal polarity. | ||
10 | - tc-block: The Timer Counter block to use as a PWM chip. | ||
11 | |||
12 | Example: | ||
13 | |||
14 | pwm { | ||
15 | compatible = "atmel,tcb-pwm"; | ||
16 | #pwm-cells = <3>; | ||
17 | tc-block = <1>; | ||
18 | }; | ||