aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@linaro.org>2015-08-04 03:27:27 -0400
committerMichael Turquette <mturquette@baylibre.com>2015-08-24 19:49:10 -0400
commit832446e8aaaeaf9365da18f95f01a42e6da27279 (patch)
treeda685b387de462dc2394f60a7ac80a5b5ff699e0
parent7e2a51e0cf75028888e5c670b3a3963e1716bdff (diff)
dt-bindings: clk: Hi6220: Document stub clock driver
Document the new compatible for stub clock driver which is used for CPU and DDR's dynamic frequency scaling. Signed-off-by: Leo Yan <leo.yan@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
-rw-r--r--Documentation/devicetree/bindings/clock/hi6220-clock.txt19
1 files changed, 18 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/clock/hi6220-clock.txt b/Documentation/devicetree/bindings/clock/hi6220-clock.txt
index 259e30af9597..e4d5feaebc29 100644
--- a/Documentation/devicetree/bindings/clock/hi6220-clock.txt
+++ b/Documentation/devicetree/bindings/clock/hi6220-clock.txt
@@ -15,19 +15,36 @@ Required Properties:
15 - "hisilicon,hi6220-sysctrl" 15 - "hisilicon,hi6220-sysctrl"
16 - "hisilicon,hi6220-mediactrl" 16 - "hisilicon,hi6220-mediactrl"
17 - "hisilicon,hi6220-pmctrl" 17 - "hisilicon,hi6220-pmctrl"
18 - "hisilicon,hi6220-stub-clk"
18 19
19- reg: physical base address of the controller and length of memory mapped 20- reg: physical base address of the controller and length of memory mapped
20 region. 21 region.
21 22
22- #clock-cells: should be 1. 23- #clock-cells: should be 1.
23 24
24For example: 25Optional Properties:
26
27- hisilicon,hi6220-clk-sram: phandle to the syscon managing the SoC internal sram;
28 the driver need use the sram to pass parameters for frequency change.
29
30- mboxes: use the label reference for the mailbox as the first parameter, the
31 second parameter is the channel number.
32
33Example 1:
25 sys_ctrl: sys_ctrl@f7030000 { 34 sys_ctrl: sys_ctrl@f7030000 {
26 compatible = "hisilicon,hi6220-sysctrl", "syscon"; 35 compatible = "hisilicon,hi6220-sysctrl", "syscon";
27 reg = <0x0 0xf7030000 0x0 0x2000>; 36 reg = <0x0 0xf7030000 0x0 0x2000>;
28 #clock-cells = <1>; 37 #clock-cells = <1>;
29 }; 38 };
30 39
40Example 2:
41 stub_clock: stub_clock {
42 compatible = "hisilicon,hi6220-stub-clk";
43 hisilicon,hi6220-clk-sram = <&sram>;
44 #clock-cells = <1>;
45 mboxes = <&mailbox 1>;
46 };
47
31Each clock is assigned an identifier and client nodes use this identifier 48Each clock is assigned an identifier and client nodes use this identifier
32to specify the clock which they consume. 49to specify the clock which they consume.
33 50