]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: asus: transformer-t30: set the correct pinmux lock and io-reset
authorSvyatoslav Ryhel <clamor95@gmail.com>
Sat, 20 Jan 2024 13:06:23 +0000 (15:06 +0200)
committerSvyatoslav Ryhel <clamor95@gmail.com>
Mon, 22 Apr 2024 09:17:20 +0000 (12:17 +0300)
For lock and io-reset pins 0 is the default value, while 1 is disabled
and 2 is enabled. This should be corrected to avoid regressions.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
arch/arm/dts/tegra30-asus-p1801-t.dts
arch/arm/dts/tegra30-asus-transformer.dtsi

index 350443d55ebfebf87843896cfea06495ae878880..243ff2bda26f99a7190f7924bd9a32535226c8d1 100644 (file)
                                nvidia,pull = <TEGRA_PIN_PULL_NONE>;
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
-                               nvidia,lock = <0>;
-                               nvidia,ioreset = <0>;
+                               nvidia,lock = <1>;
+                               nvidia,io-reset = <1>;
                        };
 
                        /* SDMMC3 pinmux */
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
                                nvidia,open-drain = <TEGRA_PIN_ENABLE>;
-                               nvidia,lock = <0>;
+                               nvidia,lock = <1>;
                        };
                        gen2_i2c {
                                nvidia,pins = "gen2_i2c_scl_pt5",
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
                                nvidia,open-drain = <TEGRA_PIN_ENABLE>;
-                               nvidia,lock = <0>;
+                               nvidia,lock = <1>;
                        };
                        cam_i2c {
                                nvidia,pins = "cam_i2c_scl_pbb1",
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
                                nvidia,open-drain = <TEGRA_PIN_ENABLE>;
-                               nvidia,lock = <0>;
+                               nvidia,lock = <1>;
                        };
                        ddc_i2c {
                                nvidia,pins = "ddc_scl_pv4",
                                nvidia,pull = <TEGRA_PIN_PULL_NONE>;
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
-                               nvidia,lock = <0>;
+                               nvidia,lock = <1>;
                        };
                        pwr_i2c {
                                nvidia,pins = "pwr_i2c_scl_pz6",
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
                                nvidia,open-drain = <TEGRA_PIN_ENABLE>;
-                               nvidia,lock = <0>;
+                               nvidia,lock = <1>;
                        };
                        hotplug_i2c {
                                nvidia,pins = "pu4";
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
                                nvidia,open-drain = <TEGRA_PIN_ENABLE>;
-                               nvidia,lock = <0>;
+                               nvidia,lock = <1>;
                        };
                        hdmi_hpd {
                                nvidia,pins = "hdmi_int_pn7";
                                nvidia,pull = <TEGRA_PIN_PULL_UP>;
                                nvidia,tristate = <TEGRA_PIN_ENABLE>;
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
-                               nvidia,lock = <0>;
-                               nvidia,ioreset = <0>;
+                               nvidia,lock = <1>;
+                               nvidia,io-reset = <1>;
                        };
 
                        /* GPIO keys pinmux */
                                nvidia,pull = <TEGRA_PIN_PULL_NONE>;
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
-                               nvidia,lock = <0>;
-                               nvidia,ioreset = <0>;
+                               nvidia,lock = <1>;
+                               nvidia,io-reset = <1>;
                        };
                        vi_d10_pt2 {
                                nvidia,pins = "vi_d10_pt2",
                                nvidia,pull = <TEGRA_PIN_PULL_NONE>;
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_DISABLE>;
-                               nvidia,lock = <0>;
-                               nvidia,ioreset = <0>;
+                               nvidia,lock = <1>;
+                               nvidia,io-reset = <1>;
                        };
                        vi_mclk_pt1 {
                                nvidia,pins = "vi_mclk_pt1";
index e6cc6e7105fd92aa6b4145b1588a6fb67bb17450..766c783adccb9b9755217360af0507411f71e0aa 100644 (file)
@@ -99,8 +99,8 @@
                                nvidia,pull = <TEGRA_PIN_PULL_NONE>;
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
-                               nvidia,lock = <0>;
-                               nvidia,io-reset = <0>;
+                               nvidia,lock = <1>;
+                               nvidia,io-reset = <1>;
                        };
 
                        /* SDMMC3 pinmux */
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
                                nvidia,open-drain = <TEGRA_PIN_ENABLE>;
-                               nvidia,lock = <0>;
+                               nvidia,lock = <1>;
                        };
 
                        gen2_i2c {
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
                                nvidia,open-drain = <TEGRA_PIN_ENABLE>;
-                               nvidia,lock = <0>;
+                               nvidia,lock = <1>;
                        };
 
                        cam_i2c {
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
                                nvidia,open-drain = <TEGRA_PIN_ENABLE>;
-                               nvidia,lock = <0>;
+                               nvidia,lock = <1>;
                        };
 
                        ddc_i2c {
                                nvidia,pull = <TEGRA_PIN_PULL_NONE>;
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
-                               nvidia,lock = <0>;
+                               nvidia,lock = <1>;
                        };
 
                        pwr_i2c {
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
                                nvidia,open-drain = <TEGRA_PIN_ENABLE>;
-                               nvidia,lock = <0>;
+                               nvidia,lock = <1>;
                        };
 
                        hotplug_i2c {
                                nvidia,pull = <TEGRA_PIN_PULL_UP>;
                                nvidia,tristate = <TEGRA_PIN_ENABLE>;
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
-                               nvidia,lock = <0>;
-                               nvidia,io-reset = <0>;
+                               nvidia,lock = <1>;
+                               nvidia,io-reset = <1>;
                        };
 
                        /* GPIO keys pinmux */
                                nvidia,pull = <TEGRA_PIN_PULL_NONE>;
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_ENABLE>;
-                               nvidia,lock = <0>;
-                               nvidia,io-reset = <0>;
+                               nvidia,lock = <1>;
+                               nvidia,io-reset = <1>;
                        };
 
                        vi_d10_pt2 {
                                nvidia,pull = <TEGRA_PIN_PULL_NONE>;
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_DISABLE>;
-                               nvidia,lock = <0>;
-                               nvidia,io-reset = <0>;
+                               nvidia,lock = <1>;
+                               nvidia,io-reset = <1>;
                        };
 
                        vi_mclk_pt1 {