TX2 set GPIO Expander MDM_EN to low as default

Hi,

The GPIO Expander P05 MDM_EN is set to high as default.
Could anyone help to advise how to set it to low as default?

Thx
Yen

I think you can check the GPIO Expander kernel driver to configure it.

Hi ShaneCCC,

I would like to add it in device tree.
I have modified device tree as the following, but it didn’t work.

diff --git a/sources/hardware/nvidia/platform/t18x/common/kernel-dts/t18x-common-platforms/tegra186-cvb-prod-p2597-b00-p3310-1000-a00-00.dtsi b/sources/hardwar
index 394074e..cf1b212 100644
--- a/sources/hardware/nvidia/platform/t18x/common/kernel-dts/t18x-common-platforms/tegra186-cvb-prod-p2597-b00-p3310-1000-a00-00.dtsi
+++ b/sources/hardware/nvidia/platform/t18x/common/kernel-dts/t18x-common-platforms/tegra186-cvb-prod-p2597-b00-p3310-1000-a00-00.dtsi
@@ -216,10 +216,9 @@
                        regulator-name = "en-mdm-pwr-3v7";
                        regulator-min-microvolt = <3700000>;
                        regulator-max-microvolt = <3700000>;
-// 
 //                     gpio = <&gpio_i2c_0_74 7 1>;
-////
-                       enable-active-high;
+                       gpio = <&gpio_i2c_0_74 5 0>;
+//                     enable-active-high;
                };
 
                en_vdd_disp_1v8: regulator@10 {

I guess reg/regulator-min-microvolt/regulator-max-microvolt are wrong.
Please help to provide these information MDM_EN.

Thx
Yen

How about add enable-active-low;

Hi,

I have modified driver to set it low as default.

Thx
Yen