]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: tegra: Use TEGRA186_ prefix for GPIOs
authorThierry Reding <treding@nvidia.com>
Tue, 21 May 2019 14:30:10 +0000 (16:30 +0200)
committerThierry Reding <treding@nvidia.com>
Tue, 21 May 2019 14:32:09 +0000 (16:32 +0200)
In order to move away from misleadingly generic definitions of the GPIO
macros, use the Tegra186-specific prefix. These are the last remaining
occurrences. The generic definitions can be removed after this.

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

index 14d7fea82daf75d60a7aae908e96d906aa34e539..dfc206dd6fbba636ee11a0294a739860a92ee832 100644 (file)
@@ -278,7 +278,7 @@ vdd_usb0: regulator@102 {
                        regulator-min-microvolt = <5000000>;
                        regulator-max-microvolt = <5000000>;
 
-                       gpio = <&gpio TEGRA_MAIN_GPIO(L, 4) GPIO_ACTIVE_HIGH>;
+                       gpio = <&gpio TEGRA186_MAIN_GPIO(L, 4) GPIO_ACTIVE_HIGH>;
                        enable-active-high;
 
                        vin-supply = <&vdd_5v0_sys>;
@@ -292,7 +292,7 @@ vdd_usb1: regulator@103 {
                        regulator-min-microvolt = <5000000>;
                        regulator-max-microvolt = <5000000>;
 
-                       gpio = <&gpio TEGRA_MAIN_GPIO(L, 5) GPIO_ACTIVE_HIGH>;
+                       gpio = <&gpio TEGRA186_MAIN_GPIO(L, 5) GPIO_ACTIVE_HIGH>;
                        enable-active-high;
 
                        vin-supply = <&vdd_5v0_sys>;