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

Tom Warren twarren.nvidia at gmail.com
Thu Jun 9 00:08:11 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

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



More information about the U-Boot mailing list