openwrt/target/linux/generic/files/drivers/net/phy
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
..
b53 treewide: fix coccinelle checks 2025-12-02 23:32:42 +01:00
rtl8261n kernel: rtl8261n: Add support for Serdes RX swap 2025-10-29 19:37:18 +01:00
adm6996.c treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
adm6996.h treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
ar8216.c generic: ar8216: remove support for Linux before version 6.1 2024-09-20 19:24:17 +01:00
ar8216.h kernek: use struct_group to wipe ar8216 volatile priv data 2023-05-22 22:28:18 +02:00
ar8327.c generic: fix kernel warning no previous prototype for ... 2025-04-11 20:34:24 +02:00
ar8327.h kernel: ar8327: support LED device tree bindings 2025-03-17 16:40:46 +01:00
ip17xx.c kernel: remove an unused callback from the ip17xx switch driver 2020-12-05 12:06:28 +01:00
psb6970.c generic: net: phy: psb6970: fix missing-prototypes warnings 2025-06-18 20:23:20 +02:00
rtl8306.c treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
rtl8366_smi.c kernel: rtl836x: convert to gpiod API 2025-12-23 18:22:02 +01:00
rtl8366_smi.h kernel: rtl836x: convert to gpiod API 2025-12-23 18:22:02 +01:00
rtl8366rb.c kernel: rtl836x: remove legacy platform_data support 2025-12-15 09:31:20 +01:00
rtl8366s.c kernel: rtl836x: remove legacy platform_data support 2025-12-15 09:31:20 +01:00
rtl8367.c kernel: rtl836x: remove legacy platform_data support 2025-12-15 09:31:20 +01:00
rtl8367.h kernel: rtl836x: remove legacy platform_data support 2025-12-15 09:31:20 +01:00
rtl8367b.c kernel: rtl836x: remove legacy platform_data support 2025-12-15 09:31:20 +01:00
swconfig.c generic: fix kernel warning no previous prototype for ... 2025-04-11 20:34:24 +02:00
swconfig_leds.c generic: remove support for older kernels from swconfig 2024-09-20 19:26:52 +01:00