From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Warren Date: Thu, 16 Jun 2011 16:51:32 -0700 Subject: [U-Boot] [PATCH V4 0/2] GPIO: Tegra2: add GPIO driver for Tegra2 Message-ID: <1308268294-14901-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 Changes in V4: - update code as per Mike Frysinger's review comments - rewrite gpio_info, aka gpio_status 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 | 250 +++++++++++++++++++++++++++++-- arch/arm/include/asm/gpio.h | 38 +++++ drivers/gpio/Makefile | 1 + drivers/gpio/tegra2_gpio.c | 254 +++++++++++++++++++++++++++++++ include/configs/tegra2-common.h | 2 + 5 files changed, 535 insertions(+), 10 deletions(-) create mode 100644 arch/arm/include/asm/gpio.h create mode 100644 drivers/gpio/tegra2_gpio.c -- 1.7.5.4