diff options
-rw-r--r-- | Documentation/devicetree/bindings/pwm/pwm-samsung.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pwm/pwm-samsung.txt b/Documentation/devicetree/bindings/pwm/pwm-samsung.txt index ac67c687a327..39f0ca7008ba 100644 --- a/Documentation/devicetree/bindings/pwm/pwm-samsung.txt +++ b/Documentation/devicetree/bindings/pwm/pwm-samsung.txt | |||
@@ -19,6 +19,16 @@ Required properties: | |||
19 | - reg: base address and size of register area | 19 | - reg: base address and size of register area |
20 | - interrupts: list of timer interrupts (one interrupt per timer, starting at | 20 | - interrupts: list of timer interrupts (one interrupt per timer, starting at |
21 | timer 0) | 21 | timer 0) |
22 | - clock-names: should contain all following required clock names: | ||
23 | - "timers" - PWM base clock used to generate PWM signals, | ||
24 | and any subset of following optional clock names: | ||
25 | - "pwm-tclk0" - first external PWM clock source, | ||
26 | - "pwm-tclk1" - second external PWM clock source. | ||
27 | Note that not all IP variants allow using all external clock sources. | ||
28 | Refer to SoC documentation to learn which clock source configurations | ||
29 | are available. | ||
30 | - clocks: should contain clock specifiers of all clocks, which input names | ||
31 | have been specified in clock-names property, in same order. | ||
22 | - #pwm-cells: number of cells used for PWM specifier - must be 3 | 32 | - #pwm-cells: number of cells used for PWM specifier - must be 3 |
23 | the specifier format is as follows: | 33 | the specifier format is as follows: |
24 | - phandle to PWM controller node | 34 | - phandle to PWM controller node |
@@ -38,6 +48,8 @@ Example: | |||
38 | reg = <0x7f006000 0x1000>; | 48 | reg = <0x7f006000 0x1000>; |
39 | interrupt-parent = <&vic0>; | 49 | interrupt-parent = <&vic0>; |
40 | interrupts = <23>, <24>, <25>, <27>, <28>; | 50 | interrupts = <23>, <24>, <25>, <27>, <28>; |
51 | clocks = <&clock 67>; | ||
52 | clock-names = "timers"; | ||
41 | samsung,pwm-outputs = <0>, <1>; | 53 | samsung,pwm-outputs = <0>, <1>; |
42 | #pwm-cells = <3>; | 54 | #pwm-cells = <3>; |
43 | } | 55 | } |