mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jamie Iles <jamie@jamieiles.com>
To: linux-kernel@vger.kernel.org
Cc: grant.likely@secretlab.ca, cbouatmailru@gmail.com,
	linux@arm.linux.org.uk, tglx@linutronix.de, arnd@arndb.de,
	nico@fluxnic.net, alan@lxorguk.ukuu.org.uk,
	Jamie Iles <jamie@jamieiles.com>
Subject: [RFC PATCH 0/3] Use basic_mmio_gpio to implement a generic gpio chip
Date: Wed,  4 May 2011 16:07:34 +0100	[thread overview]
Message-ID: <1304521657-8527-1-git-send-email-jamie@jamieiles.com> (raw)

This series is based on my earlier set of GPIO patches[1] to extend the
basic_mmio_driver to be used as a library to implement a more generic gpio
chip as initially implemented by Anton Vorontsov[2].

I've modified Anton's patch slightly to allow the bgpio_chip to be embedded
into another structure and converted two drivers over - bt8xxgpio and
langwell.  bt8xxgpio seems to play nicely, but langwell not so much as it
didn't previously use a gpio_chip per bank but it is a nice illustration.

Note that this is the same set of patches as attached in "Re: [PATCHv3 0/7]
gpio: extend basic_mmio_gpio for different controllers" but reposted as a set
of patches for convenience.

1. http://article.gmane.org/gmane.linux.kernel/1124700
2. http://lkml.org/lkml/2011/4/19/401

Jamie Iles (3):
  basic_mmio_gpio: split into a gpio library and platform device
  gpio/bt8xxgpio: convert to use basic_mmio_gpio library
  gpio/langwell: convert to use basic_mmio_gpio library

 drivers/gpio/Kconfig            |    8 +
 drivers/gpio/Makefile           |    1 +
 drivers/gpio/basic_mmio_gpio.c  |  317 +++++++++++++++++++++------------------
 drivers/gpio/bt8xxgpio.c        |  119 +++------------
 drivers/gpio/langwell_gpio.c    |  253 +++++++++++++++----------------
 include/linux/basic_mmio_gpio.h |   55 +++++++
 6 files changed, 381 insertions(+), 372 deletions(-)

-- 
1.7.4.4


             reply	other threads:[~2011-05-04 15:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-04 15:07 Jamie Iles [this message]
2011-05-04 15:07 ` [RFC PATCH 1/3] basic_mmio_gpio: split into a gpio library and platform device Jamie Iles
2011-05-04 15:07 ` [RFC PATCH 2/3] gpio/bt8xxgpio: convert to use basic_mmio_gpio library Jamie Iles
2011-05-04 15:07 ` [RFC PATCH 3/3] gpio/langwell: " Jamie Iles
2011-05-12 17:35 [RFC PATCH 0/3] Use basic_mmio_gpio to implement a generic gpio chip H Hartley Sweeten
2011-05-12 22:21 ` Jamie Iles

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=1304521657-8527-1-git-send-email-jamie@jamieiles.com \
    --to=jamie@jamieiles.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=arnd@arndb.de \
    --cc=cbouatmailru@gmail.com \
    --cc=grant.likely@secretlab.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=nico@fluxnic.net \
    --cc=tglx@linutronix.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

all inboxes | Powered by JetHome®