[v5,2/7] dt-bindings: clk: at91: add audio plls to the compatible list

Message ID 09230b9714c7d8fee053d1b014ef6af43c1bebbc.1502346448.git-series.quentin.schulz@free-electrons.com
State Accepted
Commit 33202fa32d2f04f613ef748baebfa734013fdbbf
Headers show
Series
  • Untitled series #3255
Related show

Commit Message

Quentin Schulz Aug. 10, 2017, 6:34 a.m.
This new clock driver set allows to have a fractional divided clock that
would generate a precise clock particularly suitable for audio
applications.

The main audio pll clock has two children clocks: one that is connected
to the PMC, the other that can directly drive a pad. As these two routes
have different enable bits and different dividers and divider formulas,
they are handled by two different drivers.

This adds the audio plls (frac, pad and pmc) to the compatible list of
at91 clocks in DT binding.

Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>

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

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

---
 Documentation/devicetree/bindings/clock/at91-clock.txt | 10 ++++++++++
 1 file changed, 10 insertions(+)

-- 
git-series 0.9.1

Comments

Stephen Boyd Sept. 1, 2017, 10:55 p.m. | #1
On 08/10, Quentin Schulz wrote:
> This new clock driver set allows to have a fractional divided clock that

> would generate a precise clock particularly suitable for audio

> applications.

> 

> The main audio pll clock has two children clocks: one that is connected

> to the PMC, the other that can directly drive a pad. As these two routes

> have different enable bits and different dividers and divider formulas,

> they are handled by two different drivers.

> 

> This adds the audio plls (frac, pad and pmc) to the compatible list of

> at91 clocks in DT binding.

> 

> Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>

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

> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>

> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

> ---


Applied to clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

Patch

diff --git a/Documentation/devicetree/bindings/clock/at91-clock.txt b/Documentation/devicetree/bindings/clock/at91-clock.txt
index 5f3ad65..51c259a 100644
--- a/Documentation/devicetree/bindings/clock/at91-clock.txt
+++ b/Documentation/devicetree/bindings/clock/at91-clock.txt
@@ -81,6 +81,16 @@  Required properties:
 	"atmel,sama5d2-clk-generated":
 		at91 generated clock
 
+	"atmel,sama5d2-clk-audio-pll-frac":
+		at91 audio fractional pll
+
+	"atmel,sama5d2-clk-audio-pll-pad":
+		at91 audio pll CLK_AUDIO output pin
+
+	"atmel,sama5d2-clk-audio-pll-pmc"
+		at91 audio pll output on AUDIOPLLCLK that feeds the PMC
+		and can be used by peripheral clock or generic clock
+
 Required properties for SCKC node:
 - reg : defines the IO memory reserved for the SCKC.
 - #size-cells : shall be 0 (reg is used to encode clk id).