* [PATCH] clk: at91: enable AUDIOPLL as source for PCKx
@ 2018-12-17 19:37 Michał Mirosław
2018-12-18 9:55 ` Alexandre Belloni
0 siblings, 1 reply; 2+ messages in thread
From: Michał Mirosław @ 2018-12-17 19:37 UTC (permalink / raw)
To: linux-clk, linux-arm-kernel
Cc: Stephen Boyd, Michael Turquette, Alexandre Belloni, Ludovic Desroches
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>;
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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] clk: at91: enable AUDIOPLL as source for PCKx
2018-12-17 19:37 [PATCH] clk: at91: enable AUDIOPLL as source for PCKx Michał Mirosław
@ 2018-12-18 9:55 ` Alexandre Belloni
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Belloni @ 2018-12-18 9:55 UTC (permalink / raw)
To: Michał Mirosław
Cc: Stephen Boyd, Michael Turquette, Ludovic Desroches, linux-clk,
linux-arm-kernel
Hello,
On 17/12/2018 20:37:04+0100, Michał Mirosław wrote:
> 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.
>
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-12-18 9:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-17 19:37 [PATCH] clk: at91: enable AUDIOPLL as source for PCKx Michał Mirosław
2018-12-18 9:55 ` Alexandre Belloni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).