[PATCH v1 0/6] Support for RTL930x/RTL931x GPIOs

From: Sander Vanheule
Date: Sat Apr 09 2022 - 16:05:18 EST


This patch series adds support for the GPIO controllers as found on the
RTL930x and RTL931x SoC families of MIPS CPUs, used in managed NBase-T
ethernet switches.

The RTL931x's GPIO controller behaves the same as the one in the older
RTL838x and RTL839x series. This controller is trivially supported.

The RTL930x's controller has a reversed port order, and supports CPU
affinity settings for individual GPIO line IRQs, thus requiring two
additional changes to implement these features.

Sander Vanheule (6):
dt-bindings: gpio: realtek-otto: Add rtl9300 compatible
gpio: realtek-otto: Support reversed port layouts
gpio: realtek-otto: Support per-cpu interrupts
gpio: realtek-otto: Add RTL930x support
dt-bindings: gpio: realtek-otto: Add rtl9310 compatible
gpio: realtek-otto: Add RTL931x support

.../bindings/gpio/realtek,otto-gpio.yaml | 34 ++++-
drivers/gpio/gpio-realtek-otto.c | 137 +++++++++++++++++-
2 files changed, 164 insertions(+), 7 deletions(-)

--
2.35.1