[openwrt/openwrt] realtek: Enable gpio-restart driver

LEDE Commits lede-commits at lists.infradead.org
Sun Nov 28 15:17:44 PST 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/3f4d6da453c94adb0827a75c625f619ac40d8dab

commit 3f4d6da453c94adb0827a75c625f619ac40d8dab
Author: Sander Vanheule <sander at svanheule.net>
AuthorDate: Thu Nov 25 06:41:58 2021 +0100

    realtek: Enable gpio-restart driver
    
    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 00f2a6af13..f75cf92897 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



More information about the lede-commits mailing list