Skip to content

mfd/stmpe: Add SPI interface support

Viresh Kumar lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mfd/stmpe: separate out controller and interface specific codedrivers/mfd/Kconfig drivers/mfd/Makefile drivers/mfd/stmpe-i2c.c +3 more+205 -910 replies
2/2mfd/stmpe: Add support for SPI interfacedrivers/mfd/Kconfig drivers/mfd/Makefile drivers/mfd/stmpe-spi.c +1 more+156 -10 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLinus Walleij
SeriesA-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] mfd/stmpe: Add SPI interface support

Few STMPE controller can have register interface over SPI or I2C. Current implementation only supports I2C and all code is present in a single file stmpe.c.

This patchset separates out code into three files
- stmpe: specific to controller only
- stmpe-i2c: specific to i2c interface
- stmpe-spi: specific to spi interface

In order to rebase it cleanly, please apply earlier floated patch
"mfd/stmpe: Add support for irq over gpio pin"

Viresh Kumar (2):
mfd/stmpe: separate out controller and interface specific code mfd/stmpe: Add support for SPI interface

 drivers/mfd/Kconfig       |   19 ++++++-
 drivers/mfd/Makefile      |    2 +
 drivers/mfd/stmpe-i2c.c   |  116 +++++++++++++++++++++++++++++++++++
 drivers/mfd/stmpe-spi.c   |  147 +++++++++++++++++++++++++++++++++++++++++++++
 drivers/mfd/stmpe.c       |  128 ++++++++++++---------------------------
 drivers/mfd/stmpe.h       |   34 ++++++++++
 include/linux/mfd/stmpe.h |    7 ++-
 7 files changed, 361 insertions(+), 92 deletions(-)
 create mode 100644 drivers/mfd/stmpe-i2c.c
 create mode 100644 drivers/mfd/stmpe-spi.c
Signature · 1 line
1.7.2.2