]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
dt-bindings: clk: Hi3660: Document stub clock
authorLeo Yan <leo.yan@linaro.org>
Fri, 17 Nov 2017 09:27:30 +0000 (17:27 +0800)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 7 Dec 2017 06:54:37 +0000 (22:54 -0800)
Document the DT binding for stub clock which is used for CPU,
GPU and DDR frequency scaling.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Documentation/devicetree/bindings/clock/hi3660-clock.txt
include/dt-bindings/clock/hi3660-clock.h

index 0035a7ecaf207e43a7f6bdfd1cf27ad7754f42da..946da7cee54f0d11c13086cb141b0d64b669b86c 100644 (file)
@@ -13,12 +13,18 @@ Required Properties:
        - "hisilicon,hi3660-pmuctrl"
        - "hisilicon,hi3660-sctrl"
        - "hisilicon,hi3660-iomcu"
+       - "hisilicon,hi3660-stub-clk"
 
 - reg: physical base address of the controller and length of memory mapped
   region.
 
 - #clock-cells: should be 1.
 
+Optional Properties:
+
+- mboxes: Phandle to the mailbox for sending message to MCU.
+            (See: ../mailbox/hisilicon,hi3660-mailbox.txt for more info)
+
 Each clock is assigned an identifier and client nodes use this identifier
 to specify the clock which they consume.
 
index adb768d447a523043f3936746ac59004af689c6c..75d583eb84ddada92cc5078bbeb6c3a5b676a53c 100644 (file)
 #define HI3660_CLK_I2C6_IOMCU          3
 #define HI3660_CLK_IOMCU_PERI0         4
 
+/* clk in stub clock */
+#define HI3660_CLK_STUB_CLUSTER0       0
+#define HI3660_CLK_STUB_CLUSTER1       1
+#define HI3660_CLK_STUB_GPU            2
+#define HI3660_CLK_STUB_DDR            3
+#define HI3660_CLK_STUB_NUM            4
+
 #endif /* __DTS_HI3660_CLOCK_H */