[PATCH 2/3] realtek: enable gpio-restart driver in target
INAGAKI Hiroshi
musashino.open at gmail.com
Sat Oct 2 23:53:48 PDT 2021
On Panasonic Switch-M8eG PN28080K, a GPIO pin on PCA9539 chip is used
for for hard-reset of the system. To use this, enable gpio-restart
driver and built-in to the kernel.
Signed-off-by: INAGAKI Hiroshi <musashino.open at gmail.com>
---
target/linux/realtek/config-5.10 | 1 +
target/linux/realtek/config-5.4 | 1 +
2 files changed, 2 insertions(+)
diff --git a/target/linux/realtek/config-5.10 b/target/linux/realtek/config-5.10
index 810bacbefa..5a847a2bb1 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_PHY=y
diff --git a/target/linux/realtek/config-5.4 b/target/linux/realtek/config-5.4
index 8a353dfc32..34e4b9028b 100644
--- a/target/linux/realtek/config-5.4
+++ b/target/linux/realtek/config-5.4
@@ -159,6 +159,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_PSB6970_PHY=y
CONFIG_REALTEK_PHY=y
--
2.33.0.windows.2
More information about the openwrt-devel
mailing list