From: Tom Warren Date: Wed, 8 Jun 2011 15:08:11 -0700 Subject: [U-Boot] [PATCH V3 0/2] GPIO: Tegra2: add GPIO driver for Tegra2 Message-ID: <1307570893-31592-1-git-send-email-twarren@nvidia.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This patchset adds a GPIO driver for Tegra2 SoC, and enables it for all boards Changes in V2: - use 'gpio_pin' enum in gpio.h (Simon Glass review request) - change 'GPIO_PORT8' to 'GPIO_FULLPORT' (Simon Glass request) - change 'offset' to 'pin' globally - enable GPIO for all boards (tegra2-common.h) Changes in V3: - use common cmd_gpio; remove redundant cmd processing code - add gpio_request, gpio_free and gpio_toggle - alias 'gpio_status' to 'gpio_info' for use in cmd_gpio Tom Warren (2): GPIO: Tegra2: add GPIO driver for Tegra2 arm: Tegra2: GPIO: enable GPIO for Tegra2 boards arch/arm/include/asm/arch-tegra2/gpio.h | 249 ++++++++++++++++++++++++++++++- common/cmd_gpio.c | 4 + drivers/gpio/Makefile | 1 + drivers/gpio/tegra2_gpio.c | 225 ++++++++++++++++++++++++++++ include/configs/tegra2-common.h | 2 + 5 files changed, 474 insertions(+), 7 deletions(-) create mode 100644 drivers/gpio/tegra2_gpio.c -- 1.7.5.1