]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: tegra: p2597: Fix gpio for vdd-1v8-dis regulator
authorDiogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Mon, 24 Feb 2025 12:17:36 +0000 (12:17 +0000)
committerThierry Reding <treding@nvidia.com>
Fri, 7 Mar 2025 17:38:28 +0000 (18:38 +0100)
According to the board schematics the enable pin of this regulator is
connected to gpio line #9 of the first instance of the TCA9539
GPIO expander, so adjust it.

Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Link: https://lore.kernel.org/r/20250224-diogo-gpio_exp-v1-1-80fb84ac48c6@tecnico.ulisboa.pt
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi

index 63b94a04308e86bd442d6c1d6558bdcf2fc65825..38d49d612c0c19181ec63790112f7a73597b8a82 100644 (file)
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-always-on;
-               gpio = <&exp1 14 GPIO_ACTIVE_HIGH>;
+               gpio = <&exp1 9 GPIO_ACTIVE_HIGH>;
                enable-active-high;
                vin-supply = <&vdd_1v8>;
        };