diff mbox series

arm64: dts: imx93: correct mediamix power

Message ID 20231113100229.3885321-1-victor.liu@nxp.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: imx93: correct mediamix power | expand

Commit Message

Liu Ying Nov. 13, 2023, 10:02 a.m. UTC
From: Peng Fan <peng.fan@nxp.com>

"nic_media" clock should be enabled when power on/off mediamix, otherwise
power on/off will fail. Because "media_axi_root" clock is the parent of
"nic_media" clock, so replace "media_axi_clock" clock with "nic_media"
clock in mediamix node.

Link: https://github.com/nxp-imx/linux-imx/commit/ce18e6d0071ae9df5486af8613708ebe920484be
Fixes: f2d03ba997cb ("arm64: dts: imx93: reorder device nodes")
Fixes: e85d3458a804 ("arm64: dts: imx93: add src node")
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
---
I rebased the patch found in the link above upon v6.7-rc1 and improved
the commit message a bit.

 arch/arm64/boot/dts/freescale/imx93.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Shawn Guo Dec. 6, 2023, 12:59 a.m. UTC | #1
On Mon, Nov 13, 2023 at 06:02:29PM +0800, Liu Ying wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> "nic_media" clock should be enabled when power on/off mediamix, otherwise
> power on/off will fail. Because "media_axi_root" clock is the parent of
> "nic_media" clock, so replace "media_axi_clock" clock with "nic_media"
> clock in mediamix node.
> 
> Link: https://github.com/nxp-imx/linux-imx/commit/ce18e6d0071ae9df5486af8613708ebe920484be
> Fixes: f2d03ba997cb ("arm64: dts: imx93: reorder device nodes")
> Fixes: e85d3458a804 ("arm64: dts: imx93: add src node")
> Reviewed-by: Jacky Bai <ping.bai@nxp.com>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> Signed-off-by: Liu Ying <victor.liu@nxp.com>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
index 91d3c5003a2c..0f65658a40bf 100644
--- a/arch/arm64/boot/dts/freescale/imx93.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
@@ -417,7 +417,7 @@  mediamix: power-domain@44462400 {
 					compatible = "fsl,imx93-src-slice";
 					reg = <0x44462400 0x400>, <0x44465800 0x400>;
 					#power-domain-cells = <0>;
-					clocks = <&clk IMX93_CLK_MEDIA_AXI>,
+					clocks = <&clk IMX93_CLK_NIC_MEDIA_GATE>,
 						 <&clk IMX93_CLK_MEDIA_APB>;
 				};
 			};