]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:37:01 +0000 (14:37 +0200)
[ Upstream commit f34621f31e3be81456c903287f7e4c0609829e29 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi

index a9caaf7c0d67eb082e5f71671d2a20433cfbc47d..c04772a9740ec24aa962c2e34fd52a9a9f22736f 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>;
        };