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

Matthias Schiffer posted 5 patches 1 week, 5 days ago
drivers/mfd/tqmx86.c | 115 +++++++++++++++++++++++++++++--------------
1 file changed, 79 insertions(+), 36 deletions(-)
[PATCH v7 0/5] mfd: tqmx86: new hardware and GPIO/I2C IRQ improvements/additions
Posted by Matthias Schiffer 1 week, 5 days ago
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(-)

-- 
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/
Re: [PATCH v7 0/5] mfd: tqmx86: new hardware and GPIO/I2C IRQ improvements/additions
Posted by Lee Jones 1 week, 4 days ago
On Mon, 11 Nov 2024 15:10:27 +0100, Matthias Schiffer wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/5] mfd: tqmx86: add board definitions for TQMx120UC, TQMx130UC and TQMxE41S
      commit: 97f0db59525f7e82113404ea4bf79c435ad53365
[2/5] mfd: tqmx86: improve gpio_irq module parameter description
      commit: aaac6067d7749bba6401fe3d76fc554de8338f36
[3/5] mfd: tqmx86: refactor GPIO IRQ setup
      commit: b58bbbd7c599eab4861cc68a13440f5ad4679dba
[4/5] mfd: tqmx86: make IRQ setup errors non-fatal
      commit: 1f86faeb8b4bfeaa001a6c24141cdfc98093e9db
[5/5] mfd: tqmx86: add I2C IRQ support
      commit: 0d3f073975ad28bd16034ed81b8e525e808cbe37

--
Lee Jones [李琼斯]