summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBintian Wang <bintian.wang@huawei.com>2015-01-06 09:30:38 +0800
committerXinwei Kong <kong.kongxinwei@hisilicon.com>2015-11-05 16:25:09 +0800
commitb9349112eccaab3e3210c27828fd56d1121dc479 (patch)
tree69457dd982bde92517898cd38b024cf8976bb63c
parentcf9077fd2ea62e3ba6bb1f339d3acdefc50d24bb (diff)
clk: hi6220: Document devicetree bindings for hi6220 clock
Document DT files bindings for Hisilicon hi6220 clock. Signed-off-by: Bintian Wang <bintian.wang@huawei.com> Reviewed-by: Haojian Zhuang <haojian.zhuang@linaro.org> Signed-off-by: Xinwei Kong <kong.kongxinwei@hisilicon.com>
-rw-r--r--Documentation/devicetree/bindings/clock/hi6220-clock.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/hi6220-clock.txt b/Documentation/devicetree/bindings/clock/hi6220-clock.txt
new file mode 100644
index 000000000000..5c3a50a3f724
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/hi6220-clock.txt
@@ -0,0 +1,26 @@
+* Hisilicon Hi6220 Clock Controller
+
+The hi6220 clock controller generates and supplies clock to various
+controllers within the hi6220 SoC.
+
+Required Properties:
+
+- compatible: should be one of the following.
+ - "hisilicon,hi6220-clock-ao" - controller for those clocks under
+ SoC power always on domain.
+ - "hisilicon,hi6220-clock-sys" - controller for those clocks under
+ SoC system control domain.
+ - "hisilicon,hi6220-clock-media" - controller for those clocks under
+ SoC media control domain.
+ - "hisilicon,hi6220-clock-power" - controller for those clocks under
+ SoC power control domain.
+
+- reg: physical base address of the controller and length of memory mapped
+ region.
+
+- #clock-cells: should be 1.
+
+Each clock is assigned an identifier and client nodes use this identifier
+to specify the clock which they consume.
+
+All these identifier could be found in <dt-bindings/clock/hi6220-clock.h>.