mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add stmpe mfd
@ 2012-09-03 11:03 Steffen Trumtrar
  2012-09-03 11:03 ` [PATCH v2 1/2] mfd: add stmpe-i2c driver Steffen Trumtrar
  2012-09-03 11:03 ` [PATCH v2 2/2] gpio: add driver for stmpe io-expander Steffen Trumtrar
  0 siblings, 2 replies; 7+ messages in thread
From: Steffen Trumtrar @ 2012-09-03 11:03 UTC (permalink / raw)
  To: barebox; +Cc: Steffen Trumtrar

Hi,

this adds support for a stmpe1601 mfd connected via i2c.
This was only tested with the gpiolib support from the previous patch-series
"ARM i.MX: add gpiolib support".

With v2 I added the dependency on gpiolib in the Kconfig file and removed the
hardcoded gpiobase by a platformdata-provided or dynamic gpiobase.

Regards,

Steffen


Steffen Trumtrar (2):
  mfd: add stmpe-i2c driver
  gpio: add driver for stmpe io-expander

 drivers/Kconfig           |    1 +
 drivers/gpio/Kconfig      |    9 +++
 drivers/gpio/Makefile     |    2 +
 drivers/gpio/gpio-stmpe.c |  162 +++++++++++++++++++++++++++++++++++++++++++
 drivers/mfd/Kconfig       |    4 ++
 drivers/mfd/Makefile      |    1 +
 drivers/mfd/stmpe-i2c.c   |  166 +++++++++++++++++++++++++++++++++++++++++++++
 include/mfd/stmpe-i2c.h   |   56 +++++++++++++++
 8 files changed, 401 insertions(+)
 create mode 100644 drivers/gpio/Kconfig
 create mode 100644 drivers/gpio/Makefile
 create mode 100644 drivers/gpio/gpio-stmpe.c
 create mode 100644 drivers/mfd/stmpe-i2c.c
 create mode 100644 include/mfd/stmpe-i2c.h

-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-09-04  8:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-03 11:03 [PATCH v2 0/2] Add stmpe mfd Steffen Trumtrar
2012-09-03 11:03 ` [PATCH v2 1/2] mfd: add stmpe-i2c driver Steffen Trumtrar
2012-09-04  8:11   ` Sascha Hauer
2012-09-04  8:18   ` Marc Kleine-Budde
2012-09-03 11:03 ` [PATCH v2 2/2] gpio: add driver for stmpe io-expander Steffen Trumtrar
2012-09-04  8:13   ` Sascha Hauer
2012-09-04  8:29   ` Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox