]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: tegra: Add VCC supply for GPIO expanders on Jetson TX2
authorThierry Reding <treding@nvidia.com>
Tue, 4 Jun 2019 15:29:12 +0000 (17:29 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 5 Jun 2019 08:18:53 +0000 (10:18 +0200)
The GPIO expanders on Jetson TX2 are powered by the VDD_1V8 and
VDD_3V3_SYS supplies, respectively. Model this in device tree so that
the correct supplies are referenced.

Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts

index 5102de1dac9cb29a03ce9625539ba0610a75a918..837218e83e69085a1ecea555ed701cc6a7e212e2 100644 (file)
@@ -31,6 +31,8 @@ exp1: gpio@74 {
 
                        #gpio-cells = <2>;
                        gpio-controller;
+
+                       vcc-supply = <&vdd_3v3_sys>;
                };
 
                exp2: gpio@77 {
@@ -43,6 +45,8 @@ exp2: gpio@77 {
 
                        #gpio-cells = <2>;
                        gpio-controller;
+
+                       vcc-supply = <&vdd_1v8>;
                };
        };