Commit 8f0aecf2 authored by Rustam Adilov's avatar Rustam Adilov Committed by Bartosz Golaszewski
Browse files

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: default avatarRustam Adilov <adilov@disroot.org>
Reviewed-by: default avatarSander Vanheule <sander@svanheule.net>
Link: https://patch.msgid.link/20260305161106.15999-3-adilov@disroot.org


Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
parent 49944d6a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -351,6 +351,10 @@ static const struct of_device_id realtek_gpio_of_match[] = {
	{
		.compatible = "realtek,rtl9310-gpio",
	},
	{
		.compatible = "realtek,rtl9607-gpio",
		.data = (void *)GPIO_PORTS_REVERSED,
	},
	{}
};
MODULE_DEVICE_TABLE(of, realtek_gpio_of_match);