diff options
author | Stephen Warren <swarren@nvidia.com> | 2016-05-12 21:07:39 +0300 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2016-05-31 19:53:56 +0300 |
commit | 01a97a11db75c1a006da7b40d8ba4a325f05960c (patch) | |
tree | f2c49594d96073ee1f2020edc037f520805c4607 /arch/arm/include/asm/arch-tegra | |
parent | da6e2fab5db000e31187aa4c9495c244011792c1 (diff) | |
download | u-boot-01a97a11db75c1a006da7b40d8ba4a325f05960c.tar.xz |
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.h | 2 |
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) |