[PATCH v15 06/12] document: dt: add the binding on HiP04 clock
From: arnd@arndb.de (Arnd Bergmann)
Date: 2014-07-29 09:55:39
On Tuesday 29 July 2014 10:25:49 Haojian Zhuang wrote:
On 29 July 2014 01:54, Mark Rutland [off-list ref] wrote:quoted
On Mon, Jul 28, 2014 at 02:57:50PM +0100, Haojian Zhuang wrote:quoted
The DT binding for Hisilicon HiP04 clock driver. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org> --- .../devicetree/bindings/clock/hip04-clock.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/hip04-clock.txtdiff --git a/Documentation/devicetree/bindings/clock/hip04-clock.txt b/Documentation/devicetree/bindings/clock/hip04-clock.txt new file mode 100644 index 0000000..4d31ae3 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/hip04-clock.txt@@ -0,0 +1,20 @@ +* Hisilicon HiP04 Clock Controller + +The HiP04 clock controller generates and supplies clock to various +controllers within the HiP04 SoC. + +Required Properties: + +- compatible: should be one of the following. + - "hisilicon,hip04-clock" - controller compatible with HiP04 SoC.There's only one clock controller on-board and it's custom for HiP04?Since all those PLL settings are configured in bootloader, kernel don't need to configure it again. By the way, I don't have the manual to configure those PLLs. All the clocks are defined as fixed in kernel side.
If all the clocks are fixed-rate, you don't actually need a driver for them, just use the regular fixed-rate clock and define one node per clock. Arnd