aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt
diff options
context:
space:
mode:
authorPhilip Avinash <avinashphilip@ti.com>2013-03-25 03:04:53 -0400
committerThierry Reding <thierry.reding@avionic-design.de>2013-04-08 04:22:38 -0400
commitbdd7cf97153d354f654379563483bdb5a774ef16 (patch)
tree529c021580d4af5df82cf2eb8b83b1257aba1f30 /Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt
parent5df1b8fb6585a20cdf1d1fd50deecbf1983f2835 (diff)
pwm: pwm-tiehrpwm: Update device-tree binding document
Update binding document of pwm-tiehrpwm to reflect the usage of similar modules in da850 and am3xx SOCs. Signed-off-by: Philip Avinash <avinashphilip@ti.com> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Rob Herring <rob.herring@calxeda.com> Cc: Rob Landley <rob@landley.net> Acked-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt')
-rw-r--r--Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt12
1 files changed, 10 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt b/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt
index 4fc7079d822e..337c6fc65d3f 100644
--- a/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt
+++ b/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt
@@ -1,7 +1,9 @@
1TI SOC EHRPWM based PWM controller 1TI SOC EHRPWM based PWM controller
2 2
3Required properties: 3Required properties:
4- compatible : Must be "ti,am33xx-ehrpwm" 4- compatible: Must be "ti,<soc>-ehrpwm".
5 for am33xx - compatible = "ti,am33xx-ehrpwm";
6 for da850 - compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm";
5- #pwm-cells: Should be 3. Number of cells being used to specify PWM property. 7- #pwm-cells: Should be 3. Number of cells being used to specify PWM property.
6 First cell specifies the per-chip index of the PWM to use, the second 8 First cell specifies the per-chip index of the PWM to use, the second
7 cell is the period in nanoseconds and bit 0 in the third cell is used to 9 cell is the period in nanoseconds and bit 0 in the third cell is used to
@@ -15,9 +17,15 @@ Optional properties:
15 17
16Example: 18Example:
17 19
18ehrpwm0: ehrpwm@0 { 20ehrpwm0: ehrpwm@0 { /* EHRPWM on am33xx */
19 compatible = "ti,am33xx-ehrpwm"; 21 compatible = "ti,am33xx-ehrpwm";
20 #pwm-cells = <3>; 22 #pwm-cells = <3>;
21 reg = <0x48300200 0x100>; 23 reg = <0x48300200 0x100>;
22 ti,hwmods = "ehrpwm0"; 24 ti,hwmods = "ehrpwm0";
23}; 25};
26
27ehrpwm0: ehrpwm@0 { /* EHRPWM on da850 */
28 compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm";
29 #pwm-cells = <3>;
30 reg = <0x300000 0x2000>;
31};