]> 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:42:01 +0000 (14:42 +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 b4a1108c2dd74f66ef9bef4d9c22bb25d28e8bd5..0639f5ce1bd9e4a7e76a854d76fb94be39072065 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>;
        };