Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1433993 > unrolled thread

[PATCH v3 01/14] dt-bindings: sunxi: Add CCU binding documentation

Started byMaxime Ripard <maxime.ripard@free-electrons.com>
First post2016-06-29 21:10 +0200
Last post2016-07-01 04:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v3 01/14] dt-bindings: sunxi: Add CCU binding documentation Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-06-29 21:10 +0200
    Re: [PATCH v3 01/14] dt-bindings: sunxi: Add CCU binding  documentation Rob Herring <robh@kernel.org> - 2016-07-01 04:20 +0200

#1433993 — [PATCH v3 01/14] dt-bindings: sunxi: Add CCU binding documentation

FromMaxime Ripard <maxime.ripard@free-electrons.com>
Date2016-06-29 21:10 +0200
Subject[PATCH v3 01/14] dt-bindings: sunxi: Add CCU binding documentation
Message-ID<rPt22-85k-29@gated-at.bofh.it>
Introduce a new binding with its documentation for the brand new clock
sub-framework.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 .../devicetree/bindings/clock/sunxi-ccu.txt        | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/sunxi-ccu.txt

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>;
+};
-- 
2.9.0

[toc] | [next] | [standalone]


#1434963 — Re: [PATCH v3 01/14] dt-bindings: sunxi: Add CCU binding documentation

FromRob Herring <robh@kernel.org>
Date2016-07-01 04:20 +0200
SubjectRe: [PATCH v3 01/14] dt-bindings: sunxi: Add CCU binding documentation
Message-ID<rPWdH-NS-5@gated-at.bofh.it>
In reply to#1433993
On Wed, Jun 29, 2016 at 09:05:22PM +0200, Maxime Ripard wrote:
> Introduce a new binding with its documentation for the brand new clock
> sub-framework.
> 
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> ---
>  .../devicetree/bindings/clock/sunxi-ccu.txt        | 24 ++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/clock/sunxi-ccu.txt

Yay!

Acked-by: Rob Herring <robh@kernel.org>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web