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

Marcel Ziswiler marcel.ziswiler at toradex.com
Fri Apr 29 12:23:06 PDT 2016


On Thu, 2016-04-28 at 14:12 +0200, patrice.chotard at st.com wrote:
> From: Patrice Chotard <patrice.chotard at st.com>
> 
> 
> 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 at kernel.org>
> 	_ Sascha Hauer <kernel at pengutronix.de>
> 
> For ARM/SOCFPGA ARCHITECTURE
> 	_ Dinh Nguyen <dinguyen at opensource.altera.com>
> 
> For SPEAR PLATFORM SUPPORT
> 	_ Viresh Kumar <vireshk at kernel.org>
> 	_ Shiraz Hashim <shiraz.linux.kernel at gmail.com>
> 
> For Apalis/Colibri board SUPPORT
> 	_ marcel.ziswiler at toradex.com
> 	_ stefan at agner.ch
> 	_ dev at lynxeye.de
> 	_ Thierry Reding <thierry.reding at gmail.com>
> 	_ Alexandre Courbot <gnurou at gmail.com>
> 
> For ARM/Ux500 ARM ARCHITECTURE
> 	_ Linus Walleij <linus.walleij at linaro.org>
> 
> 
> 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 at toradex.com>


More information about the linux-arm-kernel mailing list