diff options
| author | Tero Kristo <t-kristo@ti.com> | 2014-02-27 10:21:33 -0500 |
|---|---|---|
| committer | Tero Kristo <t-kristo@ti.com> | 2014-05-28 05:30:07 -0400 |
| commit | 9fa160cb9f2f51ef8274df7b4f390edf6ae491c3 (patch) | |
| tree | 29cf62eb167e51f1a4b2b9d7c882cddffea1ad36 | |
| parent | 4d008589e271e28eae728eef7f5fb1f658f12b9f (diff) | |
CLK: TI: gate: fixed DT binding documentation bugs
ti,composite-gate-clock documentation was missing, also the register
offset examples were wrong.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
| -rw-r--r-- | Documentation/devicetree/bindings/clock/ti/gate.txt | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/clock/ti/gate.txt b/Documentation/devicetree/bindings/clock/ti/gate.txt index 125281aaa4ca..03f8fdee62a7 100644 --- a/Documentation/devicetree/bindings/clock/ti/gate.txt +++ b/Documentation/devicetree/bindings/clock/ti/gate.txt | |||
| @@ -25,6 +25,11 @@ Required properties: | |||
| 25 | to map clockdomains properly | 25 | to map clockdomains properly |
| 26 | "ti,hsdiv-gate-clock" - gate clock with OMAP36xx specific hardware handling, | 26 | "ti,hsdiv-gate-clock" - gate clock with OMAP36xx specific hardware handling, |
| 27 | required for a hardware errata | 27 | required for a hardware errata |
| 28 | "ti,composite-gate-clock" - composite gate clock, to be part of composite | ||
| 29 | clock | ||
| 30 | "ti,composite-no-wait-gate-clock" - composite gate clock that does not wait | ||
| 31 | for clock to be active before returning | ||
| 32 | from clk_enable() | ||
| 28 | - #clock-cells : from common clock binding; shall be set to 0 | 33 | - #clock-cells : from common clock binding; shall be set to 0 |
| 29 | - clocks : link to phandle of parent clock | 34 | - clocks : link to phandle of parent clock |
| 30 | - reg : offset for register controlling adjustable gate, not needed for | 35 | - reg : offset for register controlling adjustable gate, not needed for |
| @@ -41,7 +46,7 @@ Examples: | |||
| 41 | #clock-cells = <0>; | 46 | #clock-cells = <0>; |
| 42 | compatible = "ti,gate-clock"; | 47 | compatible = "ti,gate-clock"; |
| 43 | clocks = <&core_96m_fck>; | 48 | clocks = <&core_96m_fck>; |
| 44 | reg = <0x48004a00 0x4>; | 49 | reg = <0x0a00>; |
| 45 | ti,bit-shift = <25>; | 50 | ti,bit-shift = <25>; |
| 46 | }; | 51 | }; |
| 47 | 52 | ||
| @@ -57,7 +62,7 @@ Examples: | |||
| 57 | #clock-cells = <0>; | 62 | #clock-cells = <0>; |
| 58 | compatible = "ti,dss-gate-clock"; | 63 | compatible = "ti,dss-gate-clock"; |
| 59 | clocks = <&dpll4_m4x2_ck>; | 64 | clocks = <&dpll4_m4x2_ck>; |
| 60 | reg = <0x48004e00 0x4>; | 65 | reg = <0x0e00>; |
| 61 | ti,bit-shift = <0>; | 66 | ti,bit-shift = <0>; |
| 62 | }; | 67 | }; |
| 63 | 68 | ||
| @@ -65,7 +70,7 @@ Examples: | |||
| 65 | #clock-cells = <0>; | 70 | #clock-cells = <0>; |
| 66 | compatible = "ti,am35xx-gate-clock"; | 71 | compatible = "ti,am35xx-gate-clock"; |
| 67 | clocks = <&ipss_ick>; | 72 | clocks = <&ipss_ick>; |
| 68 | reg = <0x4800259c 0x4>; | 73 | reg = <0x059c>; |
| 69 | ti,bit-shift = <1>; | 74 | ti,bit-shift = <1>; |
| 70 | }; | 75 | }; |
| 71 | 76 | ||
| @@ -80,6 +85,22 @@ Examples: | |||
| 80 | compatible = "ti,hsdiv-gate-clock"; | 85 | compatible = "ti,hsdiv-gate-clock"; |
| 81 | clocks = <&dpll4_m2x2_mul_ck>; | 86 | clocks = <&dpll4_m2x2_mul_ck>; |
| 82 | ti,bit-shift = <0x1b>; | 87 | ti,bit-shift = <0x1b>; |
| 83 | reg = <0x48004d00 0x4>; | 88 | reg = <0x0d00>; |
| 84 | ti,set-bit-to-disable; | 89 | ti,set-bit-to-disable; |
| 85 | }; | 90 | }; |
| 91 | |||
| 92 | vlynq_gate_fck: vlynq_gate_fck { | ||
| 93 | #clock-cells = <0>; | ||
| 94 | compatible = "ti,composite-gate-clock"; | ||
| 95 | clocks = <&core_ck>; | ||
| 96 | ti,bit-shift = <3>; | ||
| 97 | reg = <0x0200>; | ||
| 98 | }; | ||
| 99 | |||
| 100 | sys_clkout2_src_gate: sys_clkout2_src_gate { | ||
| 101 | #clock-cells = <0>; | ||
| 102 | compatible = "ti,composite-no-wait-gate-clock"; | ||
| 103 | clocks = <&core_ck>; | ||
| 104 | ti,bit-shift = <15>; | ||
| 105 | reg = <0x0070>; | ||
| 106 | }; | ||
