linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: rubini-list@gnudd.com (Alessandro Rubini)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] i2c port expanders support for nomadik nhk8815
Date: Thu, 17 Dec 2009 11:13:19 +0100	[thread overview]
Message-ID: <cover.1261044597.git.rubini@unipv.it> (raw)

From: Alessandro Rubini <rubini@unipv.it>

The first patch adds a driver for STMPE2401, an i2c port expander with
keypad and pwm support, as well as irq capabilities.  The driver
currently only supports gpio, I'll add keypad later. The device is
used in the nomadik evaluation kit (already upstream) and in the U8500
evaluation kit, which is goint to be upstreamed soon. There are no
dependencies on PLAT_NOMADIK as the driver is generic and other boards
may mount the chip.

The second patch fixes NR_IRQS for the nhk8815 board, as some devices
use STMPE2401-driven GPIO pins.

The third patch adds platform data for nhk8815 so the expanders
actually work on the board.

Alessandro Rubini (3):
  i2c: added stmpe2401 port extender with irq support
  nhk8815: add port expander to NR_IRQS
  nhk8815: add platform data for port expanders

 arch/arm/mach-nomadik/i2c-8815nhk.c       |   33 ++
 arch/arm/mach-nomadik/include/mach/irqs.h |   27 ++-
 drivers/gpio/Kconfig                      |    7 +
 drivers/gpio/Makefile                     |    1 +
 drivers/gpio/stmpe2401.c                  |  571 +++++++++++++++++++++++++++++
 include/linux/i2c/stmpe2401.h             |  145 ++++++++
 6 files changed, 783 insertions(+), 1 deletions(-)
 create mode 100644 drivers/gpio/stmpe2401.c
 create mode 100644 include/linux/i2c/stmpe2401.h

             reply	other threads:[~2009-12-17 10:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-17 10:13 Alessandro Rubini [this message]
2009-12-17 10:13 ` [PATCH 1/3] i2c: added stmpe2401 port extender with irq support Alessandro Rubini
2009-12-17 10:13 ` [PATCH 2/3] nhk8815: add port expander to NR_IRQS Alessandro Rubini
2009-12-17 10:13 ` [PATCH 3/3] nhk8815: add platform data for port expanders Alessandro Rubini

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=cover.1261044597.git.rubini@unipv.it \
    --to=rubini-list@gnudd.com \
    --cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).