Skip to content

mfd: tqmx86: new hardware and GPIO/I2C IRQ improvements/additions

Matthias Schiffer lkml 7 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest5 patches 1 replyApplied
  2. v65 patches 2 repliesSuperseded
  3. v55 patches 1 replySuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v45 patches6 repliesSuperseded
v35 patches1 replySuperseded
v25 patches3 repliesSuperseded
v14 patches5 repliesSuperseded

Patches in v7 Applied

#Subject and filesSizeRepliesApplied
1/5mfd: tqmx86: add board definitions for TQMx120UC, TQMx130UC and TQMxE41Sdrivers/mfd/tqmx86.c+12 -00 replies
2/5mfd: tqmx86: improve gpio_irq module parameter descriptiondrivers/mfd/tqmx86.c+1 -10 replies
3/5mfd: tqmx86: refactor GPIO IRQ setupdrivers/mfd/tqmx86.c+37 -220 replies
4/5mfd: tqmx86: make IRQ setup errors non-fataldrivers/mfd/tqmx86.c+10 -130 replies
5/5mfd: tqmx86: add I2C IRQ supportdrivers/mfd/tqmx86.c+21 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.

Read the v7 thread

Cover letter [PATCH v7 0/5] mfd: tqmx86: new hardware and GPIO/I2C IRQ improvements/additions

Patch 1 adds support for 3 new TQMx86 COMs. GPIO support on SMARC modules is currently limited (not all GPIOs can be controlled, pins use incorrect default directions, IRQ configuration is handled incorrectly), however this is a preexisting issue also effecting the TQMxE39S and TQMxE40S, not only the new TQMxE41S. This will be addressed by a future patch series involving both the TQMx86 MFD and GPIO drivers.

Patches 2-5 improve module parameter description and error handling of GPIO IRQ configuration and add support for configuring an IRQ for the TQMx86's OpenCores I2C controller in the same way.

Changelog:

v2: improve module parameter description (new patch 2, adjusted patch 5)
v3: replace IRQ 0 resource entries with empty placeholders to simplify
error handling (patches 4 and 5)
v4: remove tqmx86_irq_to_irq_cfg() function (patch 3)
v5: move placeholders to the end of the resource arrays, use defines for
index (patches 4 and 5)
v6: remove obsolete comment; refer to I2C controller as I2C1 (patch 5)
v7: replaced index defines with enums; shortened verbose comments (patch 4

    and 5)

Gregor Herburger (1):
mfd: tqmx86: add I2C IRQ support

Matthias Schiffer (4):
mfd: tqmx86: add board definitions for TQMx120UC, TQMx130UC and
TQMxE41S
mfd: tqmx86: improve gpio_irq module parameter description
mfd: tqmx86: refactor GPIO IRQ setup
mfd: tqmx86: make IRQ setup errors non-fatal

 drivers/mfd/tqmx86.c | 115 +++++++++++++++++++++++++++++--------------
 1 file changed, 79 insertions(+), 36 deletions(-)
Signature · 4 lines
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
https://www.tq-group.com/