aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-realtek-otto.c
diff options
context:
space:
mode:
authorSander Vanheule <sander@svanheule.net>2022-04-09 21:55:51 +0200
committerBartosz Golaszewski <brgl@bgdev.pl>2022-04-11 14:30:31 +0200
commitd3bf3dc4bbbf6109bd9b4bd60089d36205ec4a37 (patch)
treeb8422dd6295eac8c9de956f2e1d5c64cd3165da1 /drivers/gpio/gpio-realtek-otto.c
parentdt-bindings: gpio: realtek-otto: Add rtl9310 compatible (diff)
downloadlinux-dev-d3bf3dc4bbbf6109bd9b4bd60089d36205ec4a37.tar.xz
linux-dev-d3bf3dc4bbbf6109bd9b4bd60089d36205ec4a37.zip
gpio: realtek-otto: Add RTL931x support
The RTL931x SoC series has support for 32 GPIOs, although not all lines may be broken out to a physical pad. The GPIO bank's parent interrupt can be routed to either or both of the SoC's CPU cores by the GIC. Line-by-line IRQ balancing is not possible on these SoCs. Signed-off-by: Sander Vanheule <sander@svanheule.net> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'drivers/gpio/gpio-realtek-otto.c')
-rw-r--r--drivers/gpio/gpio-realtek-otto.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-realtek-otto.c b/drivers/gpio/gpio-realtek-otto.c
index 3ddaa17accff..c52b2cb1acae 100644
--- a/drivers/gpio/gpio-realtek-otto.c
+++ b/drivers/gpio/gpio-realtek-otto.c
@@ -339,6 +339,9 @@ static const struct of_device_id realtek_gpio_of_match[] = {
.compatible = "realtek,rtl9300-gpio",
.data = (void *)(GPIO_PORTS_REVERSED | GPIO_INTERRUPTS_PER_CPU)
},
+ {
+ .compatible = "realtek,rtl9310-gpio",
+ },
{}
};
MODULE_DEVICE_TABLE(of, realtek_gpio_of_match);