diff mbox series

clk: at91: enable AUDIOPLL as source for PCKx

Message ID e07fdef0c9a959a6e820a040048e9ab5b7aec9d2.1545075103.git.mirq-linux@rere.qmqm.pl (mailing list archive)
State New, archived
Headers show
Series clk: at91: enable AUDIOPLL as source for PCKx | expand

Commit Message

Michał Mirosław Dec. 17, 2018, 7:37 p.m. UTC
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(-)

Comments

Alexandre Belloni Dec. 18, 2018, 9:55 a.m. UTC | #1
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
>
diff mbox series

Patch

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