[PATCH 21/26] imx8m: soc: update fuse path

Peng Fan (OSS) peng.fan at oss.nxp.com
Fri Mar 19 08:57:13 CET 2021


From: Peng Fan <peng.fan at nxp.com>

Update fuse path to disable modules correctly.

Reviewed-by: Ye Li <ye.li at nxp.com>
Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
 arch/arm/mach-imx/imx8m/soc.c | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c
index 6f7f093e87..c447ea2ab9 100644
--- a/arch/arm/mach-imx/imx8m/soc.c
+++ b/arch/arm/mach-imx/imx8m/soc.c
@@ -628,7 +628,8 @@ static int disable_mipi_dsi_nodes(void *blob)
 		"/mipi_dsi_bridge at 30A00000",
 		"/dsi_phy at 30A00300",
 		"/soc at 0/bus at 30800000/mipi_dsi at 30a00000",
-		"/soc at 0/bus at 30800000/dphy at 30a00300"
+		"/soc at 0/bus at 30800000/dphy at 30a00300",
+		"/soc at 0/bus at 30800000/mipi-dsi at 30a00000",
 	};
 
 	return disable_fdt_nodes(blob, nodes_path, ARRAY_SIZE(nodes_path));
@@ -656,7 +657,8 @@ static int check_mipi_dsi_nodes(void *blob)
 {
 	static const char * const lcdif_path[] = {
 		"/lcdif at 30320000",
-		"/soc at 0/bus at 30000000/lcdif at 30320000"
+		"/soc at 0/bus at 30000000/lcdif at 30320000",
+		"/soc at 0/bus at 30000000/lcd-controller at 30320000"
 	};
 	static const char * const mipi_dsi_path[] = {
 		"/mipi_dsi at 30A00000",
@@ -664,11 +666,13 @@ static int check_mipi_dsi_nodes(void *blob)
 	};
 	static const char * const lcdif_ep_path[] = {
 		"/lcdif at 30320000/port at 0/mipi-dsi-endpoint",
-		"/soc at 0/bus at 30000000/lcdif at 30320000/port at 0/endpoint"
+		"/soc at 0/bus at 30000000/lcdif at 30320000/port at 0/endpoint",
+		"/soc at 0/bus at 30000000/lcd-controller at 30320000/port at 0/endpoint"
 	};
 	static const char * const mipi_dsi_ep_path[] = {
 		"/mipi_dsi at 30A00000/port at 1/endpoint",
-		"/soc at 0/bus at 30800000/mipi_dsi at 30a00000/ports/port at 0/endpoint"
+		"/soc at 0/bus at 30800000/mipi_dsi at 30a00000/ports/port at 0/endpoint",
+		"/soc at 0/bus at 30800000/mipi-dsi at 30a00000/ports/port at 0/endpoint at 0"
 	};
 
 	int lookup_node;
@@ -776,7 +780,8 @@ static int low_drive_gpu_freq(void *blob)
 int disable_gpu_nodes(void *blob)
 {
 	static const char * const nodes_path_8mn[] = {
-		"/gpu at 38000000"
+		"/gpu at 38000000",
+		"/soc@/gpu at 38000000"
 	};
 
 	return disable_fdt_nodes(blob, nodes_path_8mn, ARRAY_SIZE(nodes_path_8mn));
-- 
2.30.0



More information about the U-Boot mailing list