[PATCH 1/2] realtek: Enable gpio-restart driver

Sander Vanheule sander at svanheule.net
Wed Nov 24 21:41:58 PST 2021


Add the gpio-restart driver to the realtek build. This way devices,
which cannot reliably perform resets using the SoC's internal reset
logic, can use a GPIO line to drive the SoC's hard reset input.

Signed-off-by: Sander Vanheule <sander at svanheule.net>
---
 target/linux/realtek/config-5.10 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/realtek/config-5.10 b/target/linux/realtek/config-5.10
index 00f2a6af13ba..f75cf92897ad 100644
--- a/target/linux/realtek/config-5.10
+++ b/target/linux/realtek/config-5.10
@@ -158,6 +158,7 @@ CONFIG_PHYLIB=y
 CONFIG_PHYLINK=y
 CONFIG_PINCTRL=y
 CONFIG_POWER_RESET=y
+CONFIG_POWER_RESET_GPIO_RESTART=y
 CONFIG_POWER_RESET_SYSCON=y
 CONFIG_RATIONAL=y
 CONFIG_REALTEK_OTTO_WDT=y
-- 
2.33.1




More information about the openwrt-devel mailing list