diff mbox series

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

Message ID f9b19361a83dc6c33a24dccd0fc6932fa9e39a3d.1637818349.git.sander@svanheule.net
State Accepted
Delegated to: Hauke Mehrtens
Headers show
Series gpio-restart for Netgear switches | expand

Commit Message

Sander Vanheule Nov. 25, 2021, 5:41 a.m. UTC
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@svanheule.net>
---
 target/linux/realtek/config-5.10 | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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