Commit a4a124c3 authored by Leo Yan's avatar Leo Yan Committed by Stephen Boyd

dt-bindings: clk: Hi3660: Document stub clock

Document the DT binding for stub clock which is used for CPU,
GPU and DDR frequency scaling.
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 4fbd8d19
...@@ -13,12 +13,18 @@ Required Properties: ...@@ -13,12 +13,18 @@ Required Properties:
- "hisilicon,hi3660-pmuctrl" - "hisilicon,hi3660-pmuctrl"
- "hisilicon,hi3660-sctrl" - "hisilicon,hi3660-sctrl"
- "hisilicon,hi3660-iomcu" - "hisilicon,hi3660-iomcu"
- "hisilicon,hi3660-stub-clk"
- reg: physical base address of the controller and length of memory mapped - reg: physical base address of the controller and length of memory mapped
region. region.
- #clock-cells: should be 1. - #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 Each clock is assigned an identifier and client nodes use this identifier
to specify the clock which they consume. to specify the clock which they consume.
......
...@@ -208,4 +208,11 @@ ...@@ -208,4 +208,11 @@
#define HI3660_CLK_I2C6_IOMCU 3 #define HI3660_CLK_I2C6_IOMCU 3
#define HI3660_CLK_IOMCU_PERI0 4 #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 */ #endif /* __DTS_HI3660_CLOCK_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment