openwrt-mirror/target/linux/generic
Shiji Yang f36e9e9888 kernel: rtl836x: convert to gpiod API
This is the recommended way for the OF based platform.

Tested-on TP-Link TL-WR2543N with RTL8367 switch:
```
root@OpenWrt:~# dmesg |grep -i rtl
[    7.941126] rtl8367 rtl8367: cannot find mdio node phandle
[    7.947562] rtl8367 rtl8367: RTL8367R ver. 0 chip found
[    9.056830] rtl8367 rtl8367: cpu_port:9, assigned to extif0
root@OpenWrt:~# cat /sys/kernel/debug/gpio
gpiochip0: GPIOs 512-529, parent: platform/18040000.gpio, 18040000.gpio:
 gpio-512 (                    |lime:status         ) out lo ACTIVE LOW
 gpio-513 (                    |rtl836x-sda         ) in  hi
 gpio-518 (                    |rtl836x-sck         ) in  lo
 gpio-520 (                    |lime:usb            ) out hi ACTIVE LOW
 gpio-523 (                    |reset               ) in  hi IRQ ACTIVE LOW
 gpio-524 (                    |wps                 ) in  hi IRQ ACTIVE LOW
```

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/21143
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-12-23 18:22:02 +01:00
..
backport-6.12 kernel: bump 6.12 to 6.12.62 2025-12-17 00:27:21 +01:00
files kernel: rtl836x: convert to gpiod API 2025-12-23 18:22:02 +01:00
hack-6.12 kernel: bump 6.12 to 6.12.60 2025-12-02 22:51:19 +01:00
image treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
other-files initramfs: switch to tmpfs to fix ujail 2020-11-27 01:23:43 +00:00
pending-6.12 kernel: Fix boot of realtek rtl838x 2025-12-17 00:30:46 +01:00
config-6.12 kernel: add network teaming modules 2025-12-10 23:54:39 +01:00
config-filter generic: config-filter: filter out CONFIG_PAHOLE_HAS_LANG_EXCLUDE 2025-05-14 11:28:01 +02:00
kernel-6.12 kernel: bump 6.12 to 6.12.62 2025-12-17 00:27:21 +01:00
PATCHES.md generic: improve patches documentation 2025-06-11 15:09:46 +02:00