Skip to contentSkip to conversation

arm64: dts: imx8mp: Remove the reference to audio ipg clock on imx8mp

PATCH Applied Jacky Bai 4 participants 5 messages Apr 20, 2021 – May 13, 2021

Subsystems (4)
lore
Share & tools
lore

Jacky Bai

author
#0 lore raw

PATCH v2 1/2 arm64: dts: imx8mp: Remove the reference to audio ipg clock on imx8mp

On i.MX8MP, there is no audio ipg clock, so remove the wrong reference to this clock in dts file.

---
- changes v2:
no

---
 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 --
 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8mp.dtsi +0 -2
index c2d51a46cb3c..0283c22c2bd3 100644
@@ -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>;
 			};
Signature · 1 line
2.26.2
author
#1 lore raw

PATCH v2 2/2 clk: imx: Remove the audio ipg clock from imx8mp

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

---
- 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(-)
drivers/clk/imx/clk-imx8mp.c +0 -1
index e39c9c907c38..12837304545d 100644
@@ -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);
Signature · 1 line
2.26.2
maintainer Applied
#2 lore raw

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

Quoted 4 lines · Jacky Bai

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

Applied, thanks.

Quoted 23 lines

---
- 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(-)
drivers/clk/imx/clk-imx8mp.c +0 -1
index e39c9c907c38..12837304545d 100644
@@ -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);
Signature · 1 line
2.26.2
Reviewed-by on v2 1/2
#3 lore raw
In reply to Jacky Bai
Quoted 4 lines · Jacky Bai

On i.MX8MP, there is no audio ipg clock, so remove the wrong reference to this clock in dts file.

For both patches:

Quoted 30 lines

---
- changes v2:
no

---
 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 --
 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8mp.dtsi +0 -2
index c2d51a46cb3c..0283c22c2bd3 100644
@@ -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>;
 			};
Signature · 1 line
2.26.2