[PATCH net-next v2 0/2] net: dsa: realtek: enable RTL8365MB power supplies
Oleksij Rempel <[email protected]>
| Newsgroups | org.kernel.vger.netdev,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
The RTL8365MB family has several external power rails (analog, digital I/O and PLL supplies) that on some boards are gated by regulators. Until now the driver assumed they were always on, so it could not be used on designs that keep these rails software-controlled. This series adds a device-tree description for those supplies and enables them in the driver before the chip is accessed: The supplies are optional: boards that hard-wire the rails work unchanged Ahmad Fatoum (1): net: dsa: realtek: rtl83xx: add support for enabling supplies Oleksij Rempel (1): dt-bindings: net: dsa: realtek: add RTL8365MB power supplies .../devicetree/bindings/net/dsa/realtek.yaml | 25 +++++++++++++++++++ drivers/net/dsa/realtek/realtek.h | 3 +++ drivers/net/dsa/realtek/rtl8365mb_main.c | 6 +++++ drivers/net/dsa/realtek/rtl83xx.c | 17 ++++++++++++- 4 files changed, 50 insertions(+), 1 deletion(-) -- 2.47.3