Skip to content

Commit 8f0aecf

Browse files
Rustam AdilovBartosz Golaszewski
authored andcommitted
gpio: realtek-otto: add rtl9607 support
The RTL9607C SoC has support for 3 GPIO banks with 32 GPIOs each and the port order is reversed just like in RTL930x. Signed-off-by: Rustam Adilov <adilov@disroot.org> Reviewed-by: Sander Vanheule <sander@svanheule.net> Link: https://patch.msgid.link/20260305161106.15999-3-adilov@disroot.org Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
1 parent 49944d6 commit 8f0aecf

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/gpio/gpio-realtek-otto.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,10 @@ static const struct of_device_id realtek_gpio_of_match[] = {
351351
{
352352
.compatible = "realtek,rtl9310-gpio",
353353
},
354+
{
355+
.compatible = "realtek,rtl9607-gpio",
356+
.data = (void *)GPIO_PORTS_REVERSED,
357+
},
354358
{}
355359
};
356360
MODULE_DEVICE_TABLE(of, realtek_gpio_of_match);

0 commit comments

Comments
 (0)