[U-Boot] [PATCH 14/60] ARM: tegra: use DT bindings for GPIO naming

Simon Glass
2016-04-20T19:26:24Z

On 19 April 2016 at 14:58, Stephen Warren <swarren@wwwdotorg.org> wrote:
> From: Stephen Warren <swarren@nvidia.com>
>
> 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>
> ---
> arch/arm/include/asm/arch-tegra124/gpio.h | 261 +--------------------
> arch/arm/include/asm/arch-tegra20/gpio.h | 229 +-----------------
> arch/arm/include/asm/arch-tegra210/gpio.h | 261 +--------------------
> arch/arm/include/asm/arch-tegra30/gpio.h | 253 +-------------------
> board/avionic-design/common/tamonten-ng.c | 14 +-
> board/avionic-design/common/tamonten.c | 5 +-
> board/nvidia/cardhu/cardhu.c | 6 +-
> board/nvidia/e2220-1170/e2220-1170.c | 3 +-
> board/nvidia/e2220-1170/pinmux-config-e2220-1170.h | 122 +++++-----
> board/nvidia/jetson-tk1/jetson-tk1.c | 1 +
> board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h | 106 ++++-----
> board/nvidia/nyan-big/nyan-big.c | 6 +-
> board/nvidia/nyan-big/pinmux-config-nyan-big.h | 98 ++++----
> board/nvidia/p2371-0000/p2371-0000.c | 3 +-
> board/nvidia/p2371-0000/pinmux-config-p2371-0000.h | 104 ++++----
> board/nvidia/p2371-2180/p2371-2180.c | 3 +-
> board/nvidia/p2371-2180/pinmux-config-p2371-2180.h | 126 +++++-----
> board/nvidia/p2571/p2571.c | 5 +-
> board/nvidia/p2571/pinmux-config-p2571.h | 54 ++---
> board/nvidia/seaboard/seaboard.c | 6 +-
> board/nvidia/venice2/pinmux-config-venice2.h | 120 +++++-----
> board/nvidia/venice2/venice2.c | 3 +-
> board/toradex/colibri_t20/colibri_t20.c | 7 +-
> board/toradex/colibri_t30/colibri_t30.c | 7 +-
> 24 files changed, 409 insertions(+), 1394 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>