openwrt/target/linux/realtek
Sander Vanheule feb7a2a232 realtek: ZyXEL GS1900-48: drop gpio-restart
GPIO 5 on the RTL8231 is defined reset the system, but fails to actually
do so. This triggers a kernel a number of warnings and backtrace for
GPIO pins that can sleep, such as the RTL8231's. Two warnings are
emitted by libgpiod, and a third warning by gpio-restart itself after it
fails to restart the system:

[  106.654008] ------------[ cut here ]------------
[  106.659240] WARNING: CPU: 0 PID: 4279 at drivers/gpio/gpiolib.c:3098 gpiod_set_value+0x7c/0x108
               [ Stack dump and call trace ]
[  106.826218] ---[ end trace d1de50b401f5a153 ]---
[  106.962992] ------------[ cut here ]------------
[  106.968208] WARNING: CPU: 0 PID: 4279 at drivers/gpio/gpiolib.c:3098 gpiod_set_value+0x7c/0x108
               [ Stack dump and call trace ]
[  107.136718] ---[ end trace d1de50b401f5a154 ]---
[  111.087092] ------------[ cut here ]------------
[  111.092271] WARNING: CPU: 0 PID: 4279 at drivers/power/reset/gpio-restart.c:46 gpio_restart_notify+0xc0/0xdc
               [ Stack dump and call trace ]
[  111.256629] ---[ end trace d1de50b401f5a155 ]---

By removing gpio-restart from this device, we skip the restart-by-GPIO
attempt and rely only on the watchdog for restarts, which is already the
de facto behaviour.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
(cherry picked from commit 2ada95ccdf)
2024-12-22 19:22:58 +01:00
..
base-files realtek: d-link: add support for dgs-1210-28p-f 2024-09-24 20:59:50 +02:00
dts realtek: ZyXEL GS1900-48: drop gpio-restart 2024-12-22 19:22:58 +01:00
files/firmware/rtl838x_phy
files-6.6 realtek: align kernel config with upstream 2024-11-28 18:47:31 +00:00
image realtek: add support for Linksys LGS310C 2024-10-02 20:15:21 +02:00
patches-6.6 kernel: bump 6.6 to 6.6.66 2024-12-19 11:22:12 +01:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: align kernel config with upstream 2024-11-28 18:47:31 +00:00
rtl839x realtek: align kernel config with upstream 2024-11-28 18:47:31 +00:00
rtl930x realtek: align kernel config with upstream 2024-11-28 18:47:31 +00:00
rtl931x realtek: align kernel config with upstream 2024-11-28 18:47:31 +00:00
Makefile realtek: default to 6.6 2024-09-17 21:21:37 +02:00