All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Likely <grant.likely@secretlab.ca>
To: dbrownell@users.sourceforge.net, avorontsov@ru.mvista.com
Cc: bgat@billgatliff.com, dbaryshkov@gmail.com,
	devicetree-discuss@lists.ozlabs.org,
	linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
	linuxppc-dev@lists.ozlabs.org
Subject: [PATCH v2 0/5] Generalize OF gpio support code
Date: Wed, 09 Jun 2010 23:40:41 -0600	[thread overview]
Message-ID: <20100610053439.16716.53944.stgit@angua> (raw)

This series makes all gpio drivers usable from the OF support apis by
automatically registering a default OF translator when the of_node
pointer is assigned.  These patches are heavily based on the work that
Anton did earlier, but I didn't add the notifiers infrastructure and
the OF data now lives directly inside the core gpio_chip structure so
that fewer gymnastics are needed to get at it.

These patches are currently sitting in the following branch:

git://git.secretlab.ca/git/linux-2.6 next-devicetree

---

Anton Vorontsov (3):
      gpiolib: cosmetic improvements for error handling in gpiochip_add()
      of/gpio: Kill of_gpio_chip and add members directly to gpio_chip
      of/gpio: add default of_xlate function if device has a node pointer

Grant Likely (2):
      of/gpio: stop using device_node data pointer to find gpio_chip
      of/device: Add OF style matching helper function


 arch/microblaze/kernel/reset.c                 |   12 ++-
 arch/powerpc/platforms/52xx/mpc52xx_gpio.c     |   30 ++++----
 arch/powerpc/platforms/52xx/mpc52xx_gpt.c      |   29 ++++----
 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c |   34 ++-------
 arch/powerpc/platforms/86xx/gef_gpio.c         |   24 +++----
 arch/powerpc/sysdev/cpm1.c                     |   10 +--
 arch/powerpc/sysdev/cpm_common.c               |    5 -
 arch/powerpc/sysdev/mpc8xxx_gpio.c             |    5 -
 arch/powerpc/sysdev/ppc4xx_gpio.c              |    5 -
 arch/powerpc/sysdev/qe_lib/gpio.c              |   31 ++++-----
 arch/powerpc/sysdev/simple_gpio.c              |    5 -
 drivers/gpio/gpiolib.c                         |   55 ++++++++++++++-
 drivers/gpio/xilinx_gpio.c                     |   15 ++--
 drivers/of/device.c                            |    2 -
 drivers/of/gpio.c                              |   86 +++++++++++++++---------
 include/asm-generic/gpio.h                     |   15 ++++
 include/linux/of_device.h                      |   19 +++++
 include/linux/of_gpio.h                        |   35 +++-------
 18 files changed, 226 insertions(+), 191 deletions(-)

WARNING: multiple messages have this Message-ID (diff)
From: Grant Likely <grant.likely@secretlab.ca>
To: dbrownell@users.sourceforge.net, avorontsov@ru.mvista.com
Cc: bgat@billgatliff.com, dbaryshkov@gmail.com,
	benh@kernel.crashing.org, devicetree-discuss@lists.ozlabs.org,
	linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
	linuxppc-dev@lists.ozlabs.org
Subject: [PATCH v2 0/5] Generalize OF gpio support code
Date: Wed, 09 Jun 2010 23:40:41 -0600	[thread overview]
Message-ID: <20100610053439.16716.53944.stgit@angua> (raw)

This series makes all gpio drivers usable from the OF support apis by
automatically registering a default OF translator when the of_node
pointer is assigned.  These patches are heavily based on the work that
Anton did earlier, but I didn't add the notifiers infrastructure and
the OF data now lives directly inside the core gpio_chip structure so
that fewer gymnastics are needed to get at it.

These patches are currently sitting in the following branch:

git://git.secretlab.ca/git/linux-2.6 next-devicetree

---

Anton Vorontsov (3):
      gpiolib: cosmetic improvements for error handling in gpiochip_add()
      of/gpio: Kill of_gpio_chip and add members directly to gpio_chip
      of/gpio: add default of_xlate function if device has a node pointer

Grant Likely (2):
      of/gpio: stop using device_node data pointer to find gpio_chip
      of/device: Add OF style matching helper function


 arch/microblaze/kernel/reset.c                 |   12 ++-
 arch/powerpc/platforms/52xx/mpc52xx_gpio.c     |   30 ++++----
 arch/powerpc/platforms/52xx/mpc52xx_gpt.c      |   29 ++++----
 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c |   34 ++-------
 arch/powerpc/platforms/86xx/gef_gpio.c         |   24 +++----
 arch/powerpc/sysdev/cpm1.c                     |   10 +--
 arch/powerpc/sysdev/cpm_common.c               |    5 -
 arch/powerpc/sysdev/mpc8xxx_gpio.c             |    5 -
 arch/powerpc/sysdev/ppc4xx_gpio.c              |    5 -
 arch/powerpc/sysdev/qe_lib/gpio.c              |   31 ++++-----
 arch/powerpc/sysdev/simple_gpio.c              |    5 -
 drivers/gpio/gpiolib.c                         |   55 ++++++++++++++-
 drivers/gpio/xilinx_gpio.c                     |   15 ++--
 drivers/of/device.c                            |    2 -
 drivers/of/gpio.c                              |   86 +++++++++++++++---------
 include/asm-generic/gpio.h                     |   15 ++++
 include/linux/of_device.h                      |   19 +++++
 include/linux/of_gpio.h                        |   35 +++-------
 18 files changed, 226 insertions(+), 191 deletions(-)

WARNING: multiple messages have this Message-ID (diff)
From: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
To: dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	avorontsov-hkdhdckH98+B+jHODAdFcQ@public.gmane.org
Cc: bgat-uPd5UNENI//N9NzbbXoYwQ@public.gmane.org,
	dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org,
	linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
Subject: [PATCH v2 0/5] Generalize OF gpio support code
Date: Wed, 09 Jun 2010 23:40:41 -0600	[thread overview]
Message-ID: <20100610053439.16716.53944.stgit@angua> (raw)

This series makes all gpio drivers usable from the OF support apis by
automatically registering a default OF translator when the of_node
pointer is assigned.  These patches are heavily based on the work that
Anton did earlier, but I didn't add the notifiers infrastructure and
the OF data now lives directly inside the core gpio_chip structure so
that fewer gymnastics are needed to get at it.

These patches are currently sitting in the following branch:

git://git.secretlab.ca/git/linux-2.6 next-devicetree

---

Anton Vorontsov (3):
      gpiolib: cosmetic improvements for error handling in gpiochip_add()
      of/gpio: Kill of_gpio_chip and add members directly to gpio_chip
      of/gpio: add default of_xlate function if device has a node pointer

Grant Likely (2):
      of/gpio: stop using device_node data pointer to find gpio_chip
      of/device: Add OF style matching helper function


 arch/microblaze/kernel/reset.c                 |   12 ++-
 arch/powerpc/platforms/52xx/mpc52xx_gpio.c     |   30 ++++----
 arch/powerpc/platforms/52xx/mpc52xx_gpt.c      |   29 ++++----
 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c |   34 ++-------
 arch/powerpc/platforms/86xx/gef_gpio.c         |   24 +++----
 arch/powerpc/sysdev/cpm1.c                     |   10 +--
 arch/powerpc/sysdev/cpm_common.c               |    5 -
 arch/powerpc/sysdev/mpc8xxx_gpio.c             |    5 -
 arch/powerpc/sysdev/ppc4xx_gpio.c              |    5 -
 arch/powerpc/sysdev/qe_lib/gpio.c              |   31 ++++-----
 arch/powerpc/sysdev/simple_gpio.c              |    5 -
 drivers/gpio/gpiolib.c                         |   55 ++++++++++++++-
 drivers/gpio/xilinx_gpio.c                     |   15 ++--
 drivers/of/device.c                            |    2 -
 drivers/of/gpio.c                              |   86 +++++++++++++++---------
 include/asm-generic/gpio.h                     |   15 ++++
 include/linux/of_device.h                      |   19 +++++
 include/linux/of_gpio.h                        |   35 +++-------
 18 files changed, 226 insertions(+), 191 deletions(-)

             reply	other threads:[~2010-06-10  5:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-10  5:40 Grant Likely [this message]
2010-06-10  5:40 ` [PATCH v2 0/5] Generalize OF gpio support code Grant Likely
2010-06-10  5:40 ` Grant Likely
2010-06-10  5:40 ` [PATCH v2 1/5] gpiolib: cosmetic improvements for error handling in gpiochip_add() Grant Likely
2010-06-10  5:40   ` Grant Likely
2010-06-10  5:40 ` [PATCH v2 2/5] of/gpio: Kill of_gpio_chip and add members directly to gpio_chip Grant Likely
2010-06-10  5:40   ` Grant Likely
2010-06-10  5:40 ` [PATCH v2 3/5] of/gpio: stop using device_node data pointer to find gpio_chip Grant Likely
2010-06-10  5:40   ` Grant Likely
2010-06-10  5:41 ` [PATCH v2 4/5] of/gpio: add default of_xlate function if device has a node pointer Grant Likely
2010-06-10  5:41   ` Grant Likely
2010-06-10  5:41 ` [PATCH v2 5/5] of/device: Add OF style matching helper function Grant Likely
2010-06-10  5:41   ` Grant Likely

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=20100610053439.16716.53944.stgit@angua \
    --to=grant.likely@secretlab.ca \
    --cc=akpm@linux-foundation.org \
    --cc=avorontsov@ru.mvista.com \
    --cc=bgat@billgatliff.com \
    --cc=dbaryshkov@gmail.com \
    --cc=dbrownell@users.sourceforge.net \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.