realtek: Enable gpio-restart driver
authorSander Vanheule <sander@svanheule.net>
Thu, 25 Nov 2021 05:41:58 +0000 (06:41 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 28 Nov 2021 21:43:08 +0000 (22:43 +0100)
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

index 00f2a6af13ba93f9f804c8551bcc8c4325a979c9..f75cf92897adb615ab9c4ca978945bdf656e83d5 100644 (file)
@@ -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