Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sander Vanheule and committed by
Bartosz Golaszewski
d3bf3dc4 d0b55b69

+3
+3
drivers/gpio/gpio-realtek-otto.c
··· 339 339 .compatible = "realtek,rtl9300-gpio", 340 340 .data = (void *)(GPIO_PORTS_REVERSED | GPIO_INTERRUPTS_PER_CPU) 341 341 }, 342 + { 343 + .compatible = "realtek,rtl9310-gpio", 344 + }, 342 345 {} 343 346 }; 344 347 MODULE_DEVICE_TABLE(of, realtek_gpio_of_match);