diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-06-29 21:05:22 +0200 |
---|---|---|
committer | Michael Turquette <mturquette@baylibre.com> | 2016-07-09 03:04:21 +0200 |
commit | c0692d68a88a108fd0a34f0a9bc9c3781b49d6d6 (patch) | |
tree | 5033774d07b10bb29416c76ab212ace1baec7d46 /Documentation/devicetree/bindings/clock/sunxi-ccu.txt | |
parent | Linux 4.7-rc1 (diff) | |
download | linux-c0692d68a88a108fd0a34f0a9bc9c3781b49d6d6.tar.xz linux-c0692d68a88a108fd0a34f0a9bc9c3781b49d6d6.zip |
dt-bindings: sunxi: Add CCU binding documentation
Introduce a new binding with its documentation for the brand new clock
sub-framework.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Link: lkml.kernel.org/r/20160629190535.11855-2-maxime.ripard@free-electrons.com
Diffstat (limited to 'Documentation/devicetree/bindings/clock/sunxi-ccu.txt')
-rw-r--r-- | Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/sunxi-ccu.txt b/Documentation/devicetree/bindings/clock/sunxi-ccu.txt new file mode 100644 index 000000000000..cb91507ffb1e --- /dev/null +++ b/Documentation/devicetree/bindings/clock/sunxi-ccu.txt @@ -0,0 +1,24 @@ +Allwinner Clock Control Unit Binding +------------------------------------ + +Required properties : +- compatible: must contain one of the following compatible: + - "allwinner,sun8i-h3-ccu" + +- reg: Must contain the registers base address and length +- clocks: phandle to the oscillators feeding the CCU. Two are needed: + - "hosc": the high frequency oscillator (usually at 24MHz) + - "losc": the low frequency oscillator (usually at 32kHz) +- clock-names: Must contain the clock names described just above +- #clock-cells : must contain 1 +- #reset-cells : must contain 1 + +Example: +ccu: clock@01c20000 { + compatible = "allwinner,sun8i-h3-ccu"; + reg = <0x01c20000 0x400>; + clocks = <&osc24M>, <&osc32k>; + clock-names = "hosc", "losc"; + #clock-cells = <1>; + #reset-cells = <1>; +}; |