summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-tegra
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-05-12 12:07:39 -0600
committerTom Warren <twarren@nvidia.com>2016-05-31 09:53:56 -0700
commit01a97a11db75c1a006da7b40d8ba4a325f05960c (patch)
treef2c49594d96073ee1f2020edc037f520805c4607 /arch/arm/include/asm/arch-tegra
parentda6e2fab5db000e31187aa4c9495c244011792c1 (diff)
downloadtalos-obmc-uboot-01a97a11db75c1a006da7b40d8ba4a325f05960c.tar.gz
talos-obmc-uboot-01a97a11db75c1a006da7b40d8ba4a325f05960c.zip
ARM: tegra: use DT bindings for GPIO naming
There are currently many places that define the list of all Tegra GPIOs; the DT binding header and custom Tegra-specific header file gpio.h. Fix the redundancy by replacing everything with the DT binding header file. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/include/asm/arch-tegra')
-rw-r--r--arch/arm/include/asm/arch-tegra/gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-tegra/gpio.h b/arch/arm/include/asm/arch-tegra/gpio.h
index daf5698e66..db60864a25 100644
--- a/arch/arm/include/asm/arch-tegra/gpio.h
+++ b/arch/arm/include/asm/arch-tegra/gpio.h
@@ -6,6 +6,8 @@
#ifndef _TEGRA_GPIO_H_
#define _TEGRA_GPIO_H_
+#include <dt-bindings/gpio/tegra-gpio.h>
+
#define TEGRA_GPIOS_PER_PORT 8
#define TEGRA_PORTS_PER_BANK 4
#define MAX_NUM_GPIOS (TEGRA_GPIO_PORTS * TEGRA_GPIO_BANKS * 8)
OpenPOWER on IntegriCloud