소스 검색

ARM: tegra: use TEGRA_GPIO() in a couple more places

A couple of references to Tegra GPIO numbers were missed when cleaning
up the Tegra DT files. Convert them now.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Stephen Warren 12 년 전
부모
커밋
23f95ef2d9
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      arch/arm/boot/dts/tegra20-seaboard.dts
  2. 1 1
      arch/arm/boot/dts/tegra20-trimslice.dts

+ 1 - 1
arch/arm/boot/dts/tegra20-seaboard.dts

@@ -829,7 +829,7 @@
 			regulator-min-microvolt = <5000000>;
 			regulator-max-microvolt = <5000000>;
 			enable-active-high;
-			gpio = <&gpio 24 0>; /* PD0 */
+			gpio = <&gpio TEGRA_GPIO(D, 0) 0>;
 		};
 	};
 

+ 1 - 1
arch/arm/boot/dts/tegra20-trimslice.dts

@@ -411,7 +411,7 @@
 			regulator-min-microvolt = <5000000>;
 			regulator-max-microvolt = <5000000>;
 			enable-active-high;
-			gpio = <&gpio 170 0>; /* PV2 */
+			gpio = <&gpio TEGRA_GPIO(V, 2) 0>;
 		};
 	};