summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-07-18 02:54:23 +0400
committerThierry Reding <thierry.reding@gmail.com>2013-09-03 15:08:10 +0400
commitebeec0af5b29635b847f5a7a17de1900193d0257 (patch)
tree0fe4464200d61b3fd7c25f9a9ac960adc40a4184 /Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt
parent208be7698fe39d54242348aef375fd86180c4506 (diff)
downloadlinux-ebeec0af5b29635b847f5a7a17de1900193d0257.tar.xz
pwm: Update DT bindings to reference pwm.txt for cells documentation
The PWM client cells format is documented in the generic pwm.txt documentation and duplicated in all PWM driver bindings. Remove duplicate information and reference pwm.txt instead. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt')
-rw-r--r--Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt b/Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt
index de0eaed86651..8031148bcf85 100644
--- a/Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt
+++ b/Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt
@@ -2,11 +2,9 @@ Atmel TCB PWM controller
Required properties:
- compatible: should be "atmel,tcb-pwm"
-- #pwm-cells: Should be 3. The first cell specifies the per-chip index
- of the PWM to use, the second cell is the period in nanoseconds and
- bit 0 in the third cell is used to encode the polarity of PWM output.
- Set bit 0 of the third cell in PWM specifier to 1 for inverse polarity &
- set to 0 for normal polarity.
+- #pwm-cells: should be 3. See pwm.txt in this directory for a description of
+ the cells format. The only third cell flag supported by this binding is
+ PWM_POLARITY_INVERTED.
- tc-block: The Timer Counter block to use as a PWM chip.
Example: