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

Matthias Schiffer posted 5 patches 1 year ago
drivers/gpio/gpio-tqmx86.c | 206 +++++++++++++++++++++----------------
1 file changed, 119 insertions(+), 87 deletions(-)
[PATCH v2 0/5] gpio-tqmx86: cleanup + changing directions
Posted by Matthias Schiffer 1 year ago
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(-)

-- 
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 v2 0/5] gpio-tqmx86: cleanup + changing directions
Posted by Bartosz Golaszewski 1 year ago
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Thu, 12 Dec 2024 15:08:04 +0100, Matthias Schiffer wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/5] gpio: tqmx86: add macros for interrupt configuration
      commit: 2a485c83787723671b7ad215e4e141315e46b311
[2/5] gpio: tqmx86: consistently refer to IRQs by hwirq numbers
      commit: 0ccf314304ed5b83df7470a8ed0fe1b6ed48fc03
[3/5] gpio: tqmx86: use cleanup guards for spinlock
      commit: 2abb6e53b5b08987265946b258ca29762091930c
[4/5] gpio: tqmx86: introduce tqmx86_gpio_clrsetbits() helper
      commit: a1389f5c128e80c8ad3132bbdc7b5061f3710b7f
[5/5] gpio: tqmx86: add support for changing GPIO directions
      commit: 2251fbd05f2357927fa5c5a8dd955f84da883008

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>