Skip to contentSkip to conversation

arm64: dts: imx8mm-venice-gw7901.dts: disable pgc_gpumix

PATCH Superseded Tim Harvey 2 participants 2 messages Oct 5, 2021 – Oct 6, 2021

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH 1/1 arm64: dts: imx8mm-venice-gw7901.dts: disable pgc_gpumix

Since commit d39d4bb15310 ("arm64: dts: imx8mm: add GPC node") the GW7901 will hang during kernel init because it does not power the unused GPU voltage rails on the IMX8MM. Disable pgc_gpumix to work around this.

We also disable the GPU devices that depend on the gpumix power domain to avoid them staying in a probe deferred state forever.

---
 .../boot/dts/freescale/imx8mm-venice-gw7901.dts      | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts +12 -0
index bafd5c8ea4e2..e0153ce35722 100644
@@ -282,6 +282,14 @@
 	};
 };
 
+&gpu_2d {
+	status = "disabled";
+};
+
+&gpu_3d {
+	status = "disabled";
+};
+
 &i2c1 {
 	clock-frequency = <100000>;
 	pinctrl-names = "default";
@@ -632,6 +640,10 @@
 	status = "okay";
 };
 
+&pgc_gpumix {
+	status = "disabled";
+};
+
 &uart1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart1>, <&pinctrl_uart1_gpio>;
Signature · 1 line
2.17.1
#1 lore raw

Am Dienstag, dem 05.10.2021 um 08:23 -0700 schrieb Tim Harvey:

Quoted 33 lines

Since commit d39d4bb15310 ("arm64: dts: imx8mm: add GPC node") the GW7901 will hang during kernel init because it does not power the unused GPU voltage rails on the IMX8MM. Disable pgc_gpumix to work around this.

We also disable the GPU devices that depend on the gpumix power domain to avoid them staying in a probe deferred state forever.

---
 .../boot/dts/freescale/imx8mm-venice-gw7901.dts      | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts +8 -0
index bafd5c8ea4e2..e0153ce35722 100644
@@ -282,6 +282,14 @@
 	};
 };
 
+&gpu_2d {
+	status = "disabled";
+};
+
+&gpu_3d {
+	status = "disabled";
+};
+
 &i2c1 {
 	clock-frequency = <100000>;
 	pinctrl-names = "default";

arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts line 645

Quoted 6 lines
arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts +3 -0
@@ -632,6 +640,10 @@
 	status = "okay";
 };
 
+&pgc_gpumix {
+	status = "disabled";
+};

I suggest to also disable the pgc_gpu, as that one is in the same situation as the GPU devices and will stay in probe deferred state forever, as the gpumix domain is not available.

Regards,
Lucas

Quoted 4 lines
arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts +1 -0
+
 &uart1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart1>, <&pinctrl_uart1_gpio>;