[PATCH 0/8] STMPE fixes/rework and add STMPE1600 support

From: patrice.chotard
Date: Tue Apr 19 2016 - 08:21:54 EST


From: Patrice Chotard <patrice.chotard@xxxxxx>

This series cleans and fixes some bugs in MFD/GPIO STMPE drivers and prepare
the ground to add new STMPE1600 support.

STMPE1600 datasheet is available here :
http://www2.st.com/content/st_com/en/products/interfaces-and-transceivers/
i-o-expanders-and-level-translators/i-o-expanders/stmpe1600.html

Only STMPE1600 has been tested on STM32 platform. As i have no board with
others STMPE variant(STMPE610/STMPE801/STMPE811/STMPE1601/STMPE1801/STMPE2401
and STMPE2403), i put in CC boards's maintainers which are using others STMPE variant.

If they can kindly check that no regression has been introduce by this series
:

For ARM/FREESCALE IMX / MXC ARM ARCHITECTURE:
_ Shawn Guo <shawnguo@xxxxxxxxxx>
_ Sascha Hauer <kernel@xxxxxxxxxxxxxx>

For ARM/SOCFPGA ARCHITECTURE
_ Dinh Nguyen <dinguyen@xxxxxxxxxxxxxxxxxxxxx>

For SPEAR PLATFORM SUPPORT
_ Viresh Kumar <vireshk@xxxxxxxxxx>
_ Shiraz Hashim <shiraz.linux.kernel@xxxxxxxxx>

For TEGRA ARCHITECTURE SUPPORT
_ Stephen Warren <swarren@xxxxxxxxxxxxx>
_ Thierry Reding <thierry.reding@xxxxxxxxx>
_ Alexandre Courbot <gnurou@xxxxxxxxx>

For ARM/Ux500 ARM ARCHITECTURE
_ Linus Walleij <linus.walleij@xxxxxxxxxx>

Patrice Chotard (8):
mfd: stmpe: Add STMPE_IDX_SYS_CTRL/2 enum
mfd: stmpe: Add reset support for all STMPE variant
gpio: stmpe: fix edge and rising/falling edge detection
gpio: stmpe: write int status register only when needed
Documentation: dt: add stmpe1600 compatible string to stmpe mfd
mfd: Add STMPE1600 support
gpio: stmpe: Add STMPE1600 support
gpio: stmpe: configure GPIO as output by default

Documentation/devicetree/bindings/mfd/stmpe.txt | 2 +-
drivers/gpio/gpio-stmpe.c | 142 ++++++++++++++++++------
drivers/mfd/stmpe-i2c.c | 2 +
drivers/mfd/stmpe.c | 105 ++++++++++++++----
drivers/mfd/stmpe.h | 30 ++++-
include/linux/mfd/stmpe.h | 3 +
6 files changed, 223 insertions(+), 61 deletions(-)

--
1.9.1