This is the first of two series adding new features to the gpio-tqmx86 driver. The first 3 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. Matthias Schiffer (4): gpio: tqmx86: add macros for interrupt configuration gpio: tqmx86: consistently refer to IRQs by hwirq numbers gpio: tqmx86: introduce tqmx86_gpio_clrsetbits() helper gpio: tqmx86: add support for changing GPIO directions drivers/gpio/gpio-tqmx86.c | 135 +++++++++++++++++++++++-------------- 1 file changed, 84 insertions(+), 51 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/