diff mbox series

[1/2] arm64: dts: imx8mp: Remove the reference to audio ipg clock on imx8mp

Message ID 20210416073703.1037718-1-ping.bai@nxp.com
State Superseded
Headers show
Series [1/2] arm64: dts: imx8mp: Remove the reference to audio ipg clock on imx8mp | expand

Commit Message

Jacky Bai April 16, 2021, 7:37 a.m. UTC
On i.MX8MP, there is no audio ipg clock, so remove the wrong reference
to this clock in dts file.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 --
 1 file changed, 2 deletions(-)

Comments

Stephen Boyd April 16, 2021, 11:57 p.m. UTC | #1
Quoting Jacky Bai (2021-04-16 00:37:03)
> diff --git a/include/dt-bindings/clock/imx8mp-clock.h b/include/dt-bindings/clock/imx8mp-clock.h
> index 43927a1b9e94..235c7a00d379 100644
> --- a/include/dt-bindings/clock/imx8mp-clock.h
> +++ b/include/dt-bindings/clock/imx8mp-clock.h
> @@ -117,7 +117,6 @@
>  #define IMX8MP_CLK_AUDIO_AHB                   108
>  #define IMX8MP_CLK_MIPI_DSI_ESC_RX             109
>  #define IMX8MP_CLK_IPG_ROOT                    110
> -#define IMX8MP_CLK_IPG_AUDIO_ROOT              111

Maybe just add a comment saying it isn't there? Or remove it in three
months time once DTS no longer references it?

Removing this here means that it has to merge whenever the DTS doesn't
reference it anymore which causes a cross tree dependency.

>  #define IMX8MP_CLK_DRAM_ALT                    112
>  #define IMX8MP_CLK_DRAM_APB                    113
>  #define IMX8MP_CLK_VPU_G1                      114
Jacky Bai April 19, 2021, 2:24 a.m. UTC | #2
> -----Original Message-----

> From: Stephen Boyd [mailto:sboyd@kernel.org]

> Sent: Saturday, April 17, 2021 7:57 AM

> To: Jacky Bai <ping.bai@nxp.com>; Abel Vesa <abel.vesa@nxp.com>;

> robh+dt@kernel.org; s.hauer@pengutronix.de; shawnguo@kernel.org

> Cc: festevam@gmail.com; devicetree@vger.kernel.org;

> linux-clk@vger.kernel.org; dl-linux-imx <linux-imx@nxp.com>

> Subject: Re: [PATCH 2/2] clk: imx: Remove the audio ipg clock from imx8mp

> 

> Quoting Jacky Bai (2021-04-16 00:37:03)

> > diff --git a/include/dt-bindings/clock/imx8mp-clock.h

> > b/include/dt-bindings/clock/imx8mp-clock.h

> > index 43927a1b9e94..235c7a00d379 100644

> > --- a/include/dt-bindings/clock/imx8mp-clock.h

> > +++ b/include/dt-bindings/clock/imx8mp-clock.h

> > @@ -117,7 +117,6 @@

> >  #define IMX8MP_CLK_AUDIO_AHB                   108

> >  #define IMX8MP_CLK_MIPI_DSI_ESC_RX             109

> >  #define IMX8MP_CLK_IPG_ROOT                    110

> > -#define IMX8MP_CLK_IPG_AUDIO_ROOT              111

> 

> Maybe just add a comment saying it isn't there? Or remove it in three months

> time once DTS no longer references it?

> 


Ok, will resolve this comments in V2. I can add some comments and keep it here for a while.

> Removing this here means that it has to merge whenever the DTS doesn't

> reference it anymore which causes a cross tree dependency.


Right, this delete will lead to the dependency with the dts tree for now.

BR
Jacky Bai

> 

> >  #define IMX8MP_CLK_DRAM_ALT                    112

> >  #define IMX8MP_CLK_DRAM_APB                    113

> >  #define IMX8MP_CLK_VPU_G1                      114
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
index c2d51a46cb3c..0283c22c2bd3 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
@@ -407,7 +407,6 @@  clk: clock-controller@30380000 {
 						  <&clk IMX8MP_CLK_GIC>,
 						  <&clk IMX8MP_CLK_AUDIO_AHB>,
 						  <&clk IMX8MP_CLK_AUDIO_AXI_SRC>,
-						  <&clk IMX8MP_CLK_IPG_AUDIO_ROOT>,
 						  <&clk IMX8MP_AUDIO_PLL1>,
 						  <&clk IMX8MP_AUDIO_PLL2>;
 				assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>,
@@ -423,7 +422,6 @@  clk: clock-controller@30380000 {
 						       <500000000>,
 						       <400000000>,
 						       <800000000>,
-						       <400000000>,
 						       <393216000>,
 						       <361267200>;
 			};