mfd: support stmpe1801 18 bits enhanced port expander
authorJean-Nicolas Graux <jean-nicolas.graux@stericsson.com>
Tue, 9 Apr 2013 08:35:19 +0000 (10:35 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 9 Apr 2013 12:15:58 +0000 (14:15 +0200)
commit230f13a5035fd4725a6623af83953623fd51173a
treeedc40619999feffbb4fa74c02d5faed228aae1b1
parente65ad41e3b3f28316565ad0061b8152a3a8227ba
mfd: support stmpe1801 18 bits enhanced port expander

Provides support for 1801 variant of stmpe gpio port expanders.
This chip has 18 gpios configurable as GPI, GPO, keypad matrix,
special key or dedicated key function.

Note that special/dedicated key function is not supported yet.

Signed-off-by: Jean-Nicolas Graux <jean-nicolas.graux@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig
drivers/mfd/stmpe-i2c.c
drivers/mfd/stmpe.c
drivers/mfd/stmpe.h
include/linux/mfd/stmpe.h