linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] arm64: dts: imx8mp: Remove the reference to audio ipg clock on imx8mp
@ 2021-04-20  5:54 Jacky Bai
  2021-04-20  5:54 ` [PATCH v2 2/2] clk: imx: Remove the audio ipg clock from imx8mp Jacky Bai
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jacky Bai @ 2021-04-20  5:54 UTC (permalink / raw)
  To: shawnguo, robh+dt, abel.vesa, s.hauer, sboyd
  Cc: festevam, devicetree, linux-clk, linux-imx

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>
---
- changes v2:
  no 
---
 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 --
 1 file changed, 2 deletions(-)

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>;
 			};
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v2 2/2] clk: imx: Remove the audio ipg clock from imx8mp
  2021-04-20  5:54 [PATCH v2 1/2] arm64: dts: imx8mp: Remove the reference to audio ipg clock on imx8mp Jacky Bai
@ 2021-04-20  5:54 ` Jacky Bai
  2021-05-13  9:41   ` Abel Vesa
  2021-04-20  7:13 ` [PATCH v2 1/2] arm64: dts: imx8mp: Remove the reference to audio ipg clock on imx8mp Abel Vesa
  2021-05-13  7:21 ` Shawn Guo
  2 siblings, 1 reply; 5+ messages in thread
From: Jacky Bai @ 2021-04-20  5:54 UTC (permalink / raw)
  To: shawnguo, robh+dt, abel.vesa, s.hauer, sboyd
  Cc: festevam, devicetree, linux-clk, linux-imx

There is no audio ipg clock on i.MX8MP, so remove this from
the clock driver.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
---
- changes v2:
  keep the clock binding define no changes to fix the cross tree
  dependency with dts.
---
 drivers/clk/imx/clk-imx8mp.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/clk/imx/clk-imx8mp.c b/drivers/clk/imx/clk-imx8mp.c
index e39c9c907c38..12837304545d 100644
--- a/drivers/clk/imx/clk-imx8mp.c
+++ b/drivers/clk/imx/clk-imx8mp.c
@@ -556,7 +556,6 @@ static int imx8mp_clocks_probe(struct platform_device *pdev)
 	hws[IMX8MP_CLK_MIPI_DSI_ESC_RX] = imx8m_clk_hw_composite_bus("mipi_dsi_esc_rx", imx8mp_mipi_dsi_esc_rx_sels, ccm_base + 0x9200);
 
 	hws[IMX8MP_CLK_IPG_ROOT] = imx_clk_hw_divider2("ipg_root", "ahb_root", ccm_base + 0x9080, 0, 1);
-	hws[IMX8MP_CLK_IPG_AUDIO_ROOT] = imx_clk_hw_divider2("ipg_audio_root", "audio_ahb", ccm_base + 0x9180, 0, 1);
 
 	hws[IMX8MP_CLK_DRAM_ALT] = imx8m_clk_hw_composite("dram_alt", imx8mp_dram_alt_sels, ccm_base + 0xa000);
 	hws[IMX8MP_CLK_DRAM_APB] = imx8m_clk_hw_composite_critical("dram_apb", imx8mp_dram_apb_sels, ccm_base + 0xa080);
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 1/2] arm64: dts: imx8mp: Remove the reference to audio ipg clock on imx8mp
  2021-04-20  5:54 [PATCH v2 1/2] arm64: dts: imx8mp: Remove the reference to audio ipg clock on imx8mp Jacky Bai
  2021-04-20  5:54 ` [PATCH v2 2/2] clk: imx: Remove the audio ipg clock from imx8mp Jacky Bai
@ 2021-04-20  7:13 ` Abel Vesa
  2021-05-13  7:21 ` Shawn Guo
  2 siblings, 0 replies; 5+ messages in thread
From: Abel Vesa @ 2021-04-20  7:13 UTC (permalink / raw)
  To: Jacky Bai
  Cc: shawnguo, robh+dt, s.hauer, sboyd, festevam, devicetree,
	linux-clk, linux-imx

On 21-04-20 13:54:52, Jacky Bai wrote:
> 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>

For both patches:

Reviewed-by: Abel Vesa <abel.vesa@nxp.com>

> ---
> - changes v2:
>   no 
> ---
>  arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 --
>  1 file changed, 2 deletions(-)
> 
> 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>;
>  			};
> -- 
> 2.26.2
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 1/2] arm64: dts: imx8mp: Remove the reference to audio ipg clock on imx8mp
  2021-04-20  5:54 [PATCH v2 1/2] arm64: dts: imx8mp: Remove the reference to audio ipg clock on imx8mp Jacky Bai
  2021-04-20  5:54 ` [PATCH v2 2/2] clk: imx: Remove the audio ipg clock from imx8mp Jacky Bai
  2021-04-20  7:13 ` [PATCH v2 1/2] arm64: dts: imx8mp: Remove the reference to audio ipg clock on imx8mp Abel Vesa
@ 2021-05-13  7:21 ` Shawn Guo
  2 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2021-05-13  7:21 UTC (permalink / raw)
  To: Jacky Bai
  Cc: robh+dt, abel.vesa, s.hauer, sboyd, festevam, devicetree,
	linux-clk, linux-imx

On Tue, Apr 20, 2021 at 01:54:52PM +0800, Jacky Bai wrote:
> 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>

Applied this one, thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 2/2] clk: imx: Remove the audio ipg clock from imx8mp
  2021-04-20  5:54 ` [PATCH v2 2/2] clk: imx: Remove the audio ipg clock from imx8mp Jacky Bai
@ 2021-05-13  9:41   ` Abel Vesa
  0 siblings, 0 replies; 5+ messages in thread
From: Abel Vesa @ 2021-05-13  9:41 UTC (permalink / raw)
  To: Jacky Bai
  Cc: shawnguo, robh+dt, abel.vesa, s.hauer, sboyd, festevam,
	devicetree, linux-clk, linux-imx

On 21-04-20 13:54:53, Jacky Bai wrote:
> There is no audio ipg clock on i.MX8MP, so remove this from
> the clock driver.
> 
> Signed-off-by: Jacky Bai <ping.bai@nxp.com>

Applied, thanks.

> ---
> - changes v2:
>   keep the clock binding define no changes to fix the cross tree
>   dependency with dts.
> ---
>  drivers/clk/imx/clk-imx8mp.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/clk/imx/clk-imx8mp.c b/drivers/clk/imx/clk-imx8mp.c
> index e39c9c907c38..12837304545d 100644
> --- a/drivers/clk/imx/clk-imx8mp.c
> +++ b/drivers/clk/imx/clk-imx8mp.c
> @@ -556,7 +556,6 @@ static int imx8mp_clocks_probe(struct platform_device *pdev)
>  	hws[IMX8MP_CLK_MIPI_DSI_ESC_RX] = imx8m_clk_hw_composite_bus("mipi_dsi_esc_rx", imx8mp_mipi_dsi_esc_rx_sels, ccm_base + 0x9200);
>  
>  	hws[IMX8MP_CLK_IPG_ROOT] = imx_clk_hw_divider2("ipg_root", "ahb_root", ccm_base + 0x9080, 0, 1);
> -	hws[IMX8MP_CLK_IPG_AUDIO_ROOT] = imx_clk_hw_divider2("ipg_audio_root", "audio_ahb", ccm_base + 0x9180, 0, 1);
>  
>  	hws[IMX8MP_CLK_DRAM_ALT] = imx8m_clk_hw_composite("dram_alt", imx8mp_dram_alt_sels, ccm_base + 0xa000);
>  	hws[IMX8MP_CLK_DRAM_APB] = imx8m_clk_hw_composite_critical("dram_apb", imx8mp_dram_apb_sels, ccm_base + 0xa080);
> -- 
> 2.26.2
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-13  9:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-20  5:54 [PATCH v2 1/2] arm64: dts: imx8mp: Remove the reference to audio ipg clock on imx8mp Jacky Bai
2021-04-20  5:54 ` [PATCH v2 2/2] clk: imx: Remove the audio ipg clock from imx8mp Jacky Bai
2021-05-13  9:41   ` Abel Vesa
2021-04-20  7:13 ` [PATCH v2 1/2] arm64: dts: imx8mp: Remove the reference to audio ipg clock on imx8mp Abel Vesa
2021-05-13  7:21 ` Shawn Guo

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).