Re: [PATCH v2 00/10] STMPE fixes/rework and add STMPE1600 support

From: Marcel Ziswiler
Date: Fri Apr 29 2016 - 15:23:40 EST


On Thu, 2016-04-28 at 14:12 +0200, patrice.chotard@xxxxxx wrote:
> 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-transcei
> vers/
> 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 Apalis/Colibri board SUPPORT
> _ marcel.ziswiler@xxxxxxxxxxx
> _ stefan@xxxxxxxx
> _ dev@xxxxxxxxxx
> _ Thierry Reding <thierry.reding@xxxxxxxxx>
> _ Alexandre Courbot <gnurou@xxxxxxxxx>
>
> For ARM/Ux500 ARM ARCHITECTURE
> _ Linus Walleij <linus.walleij@xxxxxxxxxx>
>
>
> v1 => v2:
> _ update Cc list
> _ fix kbuild test robot warnings on original patch 3
> _ split patch 6 to extract usage of generic bitmask name
> _ split patch 6 and 7 and introduce a new way to access
> registers
> ÂÂfor both mfd/stmpe and gpio/gpio-stmpe drivers.
> _ remove patch 8
>
> Patrice Chotard (10):
> Â 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
> Â mfd: stmpe: use generic bit mask name
> Â mfd: stmpe: rework registers access
> Â gpio: stmpe: rework registers access
> Â Documentation: dt: add stmpe1600 compatible string to stmpe mfd
> Â mfd: Add STMPE1600 support
> Â gpio: stmpe: Add STMPE1600 support
>
> ÂDocumentation/devicetree/bindings/mfd/stmpe.txt |ÂÂÂ2 +-
> Âdrivers/gpio/gpio-stmpe.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ| 167
> +++++++++++++++++-------
> Âdrivers/mfd/stmpe-i2c.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂ2 +
> Âdrivers/mfd/stmpe.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ| 161
> +++++++++++++++++++----
> Âdrivers/mfd/stmpe.hÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ85 ++++++++++--
> Âinclude/linux/mfd/stmpe.hÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ21 +++
> Â6 files changed, 352 insertions(+), 86 deletions(-)

I gave the whole series a spin both on Apalis iMX6Q 2GB IT V1.1B as
well as Apalis T30 2GB V1.1A both featuring a STMPE811 and an EDT VGA
touch panel connected to it still works perfectly running LXDE on top
of the modesetting X driver.

Tested-by: Marcel Ziswiler <marcel.ziswiler@xxxxxxxxxxx>