Skip to content

gpio-tqmx86: cleanup + changing directions

Matthias Schiffer linux-gpio lkml 2 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. v2 Latest5 patches 1 replyApplied
  2. v14 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- Improve wording of commit message (patch 1)
- Fix comment format (patch 1)
- Use lock guards

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5gpio: tqmx86: add macros for interrupt configurationdrivers/gpio/gpio-tqmx86.c+24 -200 replies
2/5gpio: tqmx86: consistently refer to IRQs by hwirq numbersdrivers/gpio/gpio-tqmx86.c+20 -200 replies
3/5gpio: tqmx86: use cleanup guards for spinlockdrivers/gpio/gpio-tqmx86.c+42 -420 replies
4/5gpio: tqmx86: introduce tqmx86_gpio_clrsetbits() helperdrivers/gpio/gpio-tqmx86.c+17 -50 replies
5/5gpio: tqmx86: add support for changing GPIO directionsdrivers/gpio/gpio-tqmx86.c+30 -140 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/5] gpio-tqmx86: cleanup + changing directions

This is the first of two series adding new features to the gpio-tqmx86 driver. The first 4 patches are cleanup/preparation and the last patch adds support for changing the directions of GPIOs.

Once this is merged, the final series will add support for new TQMx86 variants (SMARC and COM-HPC) that feature up to 14 GPIOs and full IRQ support on all lines.

# Changelog

v2:
- Improve wording of commit message (patch 1)
- Fix comment format (patch 1)
- Use lock guards

Matthias Schiffer (5):
gpio: tqmx86: add macros for interrupt configuration
gpio: tqmx86: consistently refer to IRQs by hwirq numbers
gpio: tqmx86: use cleanup guards for spinlock
gpio: tqmx86: introduce tqmx86_gpio_clrsetbits() helper
gpio: tqmx86: add support for changing GPIO directions

 drivers/gpio/gpio-tqmx86.c | 206 +++++++++++++++++++++----------------
 1 file changed, 119 insertions(+), 87 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/