[U-Boot] [PATCH V4 0/2] GPIO: Tegra2: add GPIO driver for Tegra2

Tom Warren twarren.nvidia at gmail.com
Fri Jun 17 01:51:32 CEST 2011


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



More information about the U-Boot mailing list