Skip to contentSkip to conversation

arm: imx: imx8m: soc: Fix VPU fdt disable fixup

PATCH In review Vitor Soares 3 participants 3 messages Oct 1, 2024 – Oct 5, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: imx: imx8m: soc: Fix VPU fdt disable fixup

From: Vitor Soares <[email protected]>

With the introduction of downstream Linux 6.6, the iMX8MP VPU block control node in DTS was renamed "blk-ctl@38330000" and will not match the ones found in node_path_imx8mp resulting in the node not being disabled on the VPU-less variants.

Add an extra node_path entry for imx8mp VPU block control that match with downstream Linux.

---
 arch/arm/mach-imx/imx8m/soc.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-imx/imx8m/soc.c +1 -0
index be38ca528850..4c224382021e 100644
@@ -955,6 +955,7 @@ int disable_vpu_nodes(void *blob)
 		"/soc@0/video-codec@38300000",
 		"/soc@0/video-codec@38310000",
 		"/soc@0/blk-ctrl@38330000",
+		"/soc@0/blk-ctl@38330000",
 	};
 
 	if (is_imx8mq())
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines

Subject: [PATCH v1] arm: imx: imx8m: soc: Fix VPU fdt disable fixup

From: Vitor Soares <[email protected]>

With the introduction of downstream Linux 6.6, the iMX8MP VPU block control node in DTS was renamed "blk-ctl@38330000" and will not match the ones found in node_path_imx8mp resulting in the node not being disabled on the VPU-less variants.

Quoted 5 lines

Add an extra node_path entry for imx8mp VPU block control that match with downstream Linux.

---

I am thinking to make ocotp as access controller, then we no need such code in uboot in future.

Thanks,
Peng.

reviewer
#2 lore raw
In reply to Vitor Soares
Quoted 8 lines · Vitor Soares

From: Vitor Soares <[email protected]>

With the introduction of downstream Linux 6.6, the iMX8MP VPU block control node in DTS was renamed "blk-ctl@38330000" and will not match the ones found in node_path_imx8mp resulting in the node not being disabled on the VPU-less variants.

Quoted 4 lines

Add an extra node_path entry for imx8mp VPU block control that match with downstream Linux.

Applied to u-boot-imx/next, thanks.