public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Warren <twarren.nvidia@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V5 0/2] GPIO: Tegra2: add GPIO driver for Tegra2
Date: Fri, 17 Jun 2011 09:27:27 -0700	[thread overview]
Message-ID: <1308328049-4390-1-git-send-email-twarren@nvidia.com> (raw)

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
Changes in V5:
	- NUL-terminate the name string in gpio_request

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              |  255 +++++++++++++++++++++++++++++++
 include/configs/tegra2-common.h         |    2 +
 5 files changed, 536 insertions(+), 10 deletions(-)
 create mode 100644 arch/arm/include/asm/gpio.h
 create mode 100644 drivers/gpio/tegra2_gpio.c

-- 
1.7.5.4

             reply	other threads:[~2011-06-17 16:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-17 16:27 Tom Warren [this message]
2011-06-17 16:27 ` [U-Boot] [PATCH V5 1/2] GPIO: Tegra2: add GPIO driver for Tegra2 Tom Warren
2011-06-24 17:58   ` Tom Warren
2011-06-26 14:31     ` Albert ARIBAUD
2011-06-17 16:27 ` [U-Boot] [PATCH V5 2/2] arm: Tegra2: GPIO: enable GPIO for Tegra2 boards Tom Warren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1308328049-4390-1-git-send-email-twarren@nvidia.com \
    --to=twarren.nvidia@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox