[PATCH] arm64: dts: imx93: correct mediamix power

Liu Ying posted 1 patch 2 years, 1 month ago
arch/arm64/boot/dts/freescale/imx93.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] arm64: dts: imx93: correct mediamix power
Posted by Liu Ying 2 years, 1 month ago
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(-)

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>;
 				};
 			};
-- 
2.37.1
Re: [PATCH] arm64: dts: imx93: correct mediamix power
Posted by Shawn Guo 2 years ago
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!