ARM: tegra: add GPIO initialization table function
authorStephen Warren <swarren@nvidia.com>
Tue, 22 Apr 2014 20:37:53 +0000 (14:37 -0600)
committerTom Warren <twarren@nvidia.com>
Tue, 13 May 2014 17:41:31 +0000 (10:41 -0700)
commiteceb3f26f407d65dae3902180b3c9f3128f0f349
treefa5130637f363cf3735b40355edf0bbe6defa32d
parent4a68d3431ace189746ffb498dc9e844296626615
ARM: tegra: add GPIO initialization table function

The HW-defined procedure for booting Tegra requires that some pins be
set up as GPIOs immediately at boot in order to avoid glitches on those
pins, when the pinmux is programmed. Add a feature to the GPIO driver
which executes a GPIO configuration table. Board files will use this to
implement the correct HW initialization procedure.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/include/asm/arch-tegra/gpio.h
drivers/gpio/tegra_gpio.c