Thread (2 messages) 2 messages, 2 authors, 2018-12-18

Re: [PATCH] clk: at91: enable AUDIOPLL as source for PCKx

From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: 2018-12-18 09:56:03
Also in: linux-clk

Hello,

On 17/12/2018 20:37:04+0100, Michał Mirosław wrote:
quoted hunk ↗ jump to hunk
SAMA5D2x have 6 sources, the last being AUDIOPLL.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
---
 arch/arm/boot/dts/sama5d2.dtsi | 2 +-
 drivers/clk/at91/dt-compat.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index dd0dda6ed44b..6c8c15c363e4 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -526,7 +526,7 @@
 					#address-cells = <1>;
 					#size-cells = <0>;
 					interrupt-parent = <&pmc>;
-					clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>;
+					clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>, <&audio_pll_pmc>;
This won't apply as sama5d2 has now switch to the new binding. Please
fix drivers/clk/at91/sama5d2.c instead.
quoted hunk ↗ jump to hunk
 
 					prog0: prog0 {
 						#clock-cells = <0>;
diff --git a/drivers/clk/at91/dt-compat.c b/drivers/clk/at91/dt-compat.c
index b95bb4e2a927..19badfc51f50 100644
--- a/drivers/clk/at91/dt-compat.c
+++ b/drivers/clk/at91/dt-compat.c
@@ -17,7 +17,7 @@
 
 #define PERIPHERAL_ID_MIN	2
 
-#define PROG_SOURCE_MAX		5
+#define PROG_SOURCE_MAX		6
 #define PROG_ID_MAX		7
 
 #define SYSTEM_MAX_ID		31
-- 
2.19.2
-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help