Re: [PATCH v2 02/22] net: sunxi_emac: chase DT nodes to find PHY regulator

2023-10-21 Thread Andre Przywara
On Thu, 19 Oct 2023 19:01:30 -0500 Samuel Holland wrote: Hi, > Hi Andre, > > On 9/28/23 16:54, Andre Przywara wrote: > > At the moment the sun4i EMAC driver relies on hardcoded CONFIG_MACPWR > > Kconfig symbols to enable potential PHY regulators. As we want to get rid > > of those, we need to f

Re: [PATCH v2 02/22] net: sunxi_emac: chase DT nodes to find PHY regulator

2023-10-19 Thread Samuel Holland
Hi Andre, On 9/28/23 16:54, Andre Przywara wrote: > At the moment the sun4i EMAC driver relies on hardcoded CONFIG_MACPWR > Kconfig symbols to enable potential PHY regulators. As we want to get rid > of those, we need to find the regulator by chasing up the DT. > > The sun4i-emac binding puts the

[PATCH v2 02/22] net: sunxi_emac: chase DT nodes to find PHY regulator

2023-09-28 Thread Andre Przywara
At the moment the sun4i EMAC driver relies on hardcoded CONFIG_MACPWR Kconfig symbols to enable potential PHY regulators. As we want to get rid of those, we need to find the regulator by chasing up the DT. The sun4i-emac binding puts the PHY regulator into the MDIO node, which is the parent of the