diff options
author | Tero Kristo <t-kristo@ti.com> | 2013-07-15 06:14:20 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-01-17 15:35:45 -0500 |
commit | 24582b3407775d57f06becfccd8cd202bc01eda6 (patch) | |
tree | d365fb760c6433fcc2dcc6a3dd0c53078445ad58 /Documentation | |
parent | 45622e2162b6d5907006f4595f2ac862afe1dfb5 (diff) |
CLK: TI: add interface clock support for OMAP3
OMAP3 has interface clocks in addition to functional clocks, which
require special handling for the autoidle and idle status register
offsets mainly.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/clock/ti/interface.txt | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/ti/interface.txt b/Documentation/devicetree/bindings/clock/ti/interface.txt new file mode 100644 index 000000000000..064e8caccac3 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/ti/interface.txt | |||
@@ -0,0 +1,54 @@ | |||
1 | Binding for Texas Instruments interface clock. | ||
2 | |||
3 | Binding status: Unstable - ABI compatibility may be broken in the future | ||
4 | |||
5 | This binding uses the common clock binding[1]. This clock is | ||
6 | quite much similar to the basic gate-clock [2], however, | ||
7 | it supports a number of additional features, including | ||
8 | companion clock finding (match corresponding functional gate | ||
9 | clock) and hardware autoidle enable / disable. | ||
10 | |||
11 | [1] Documentation/devicetree/bindings/clock/clock-bindings.txt | ||
12 | [2] Documentation/devicetree/bindings/clock/gate-clock.txt | ||
13 | |||
14 | Required properties: | ||
15 | - compatible : shall be one of: | ||
16 | "ti,omap3-interface-clock" - basic OMAP3 interface clock | ||
17 | "ti,omap3-no-wait-interface-clock" - interface clock which has no hardware | ||
18 | capability for waiting clock to be ready | ||
19 | "ti,omap3-hsotgusb-interface-clock" - interface clock with USB specific HW | ||
20 | handling | ||
21 | "ti,omap3-dss-interface-clock" - interface clock with DSS specific HW handling | ||
22 | "ti,omap3-ssi-interface-clock" - interface clock with SSI specific HW handling | ||
23 | "ti,am35xx-interface-clock" - interface clock with AM35xx specific HW handling | ||
24 | - #clock-cells : from common clock binding; shall be set to 0 | ||
25 | - clocks : link to phandle of parent clock | ||
26 | - reg : base address for the control register | ||
27 | |||
28 | Optional properties: | ||
29 | - ti,bit-shift : bit shift for the bit enabling/disabling the clock (default 0) | ||
30 | |||
31 | Examples: | ||
32 | aes1_ick: aes1_ick@48004a14 { | ||
33 | #clock-cells = <0>; | ||
34 | compatible = "ti,omap3-interface-clock"; | ||
35 | clocks = <&security_l4_ick2>; | ||
36 | reg = <0x48004a14 0x4>; | ||
37 | ti,bit-shift = <3>; | ||
38 | }; | ||
39 | |||
40 | cam_ick: cam_ick@48004f10 { | ||
41 | #clock-cells = <0>; | ||
42 | compatible = "ti,omap3-no-wait-interface-clock"; | ||
43 | clocks = <&l4_ick>; | ||
44 | reg = <0x48004f10 0x4>; | ||
45 | ti,bit-shift = <0>; | ||
46 | }; | ||
47 | |||
48 | ssi_ick_3430es2: ssi_ick_3430es2@48004a10 { | ||
49 | #clock-cells = <0>; | ||
50 | compatible = "ti,omap3-ssi-interface-clock"; | ||
51 | clocks = <&ssi_l4_ick>; | ||
52 | reg = <0x48004a10 0x4>; | ||
53 | ti,bit-shift = <0>; | ||
54 | }; | ||