Message ID | 20220509074857.195302-1-clabbe@baylibre.com (mailing list archive) |
---|---|
Headers | show |
Series | arm64: add ethernet to orange pi 3 | expand |
On Mon, May 09, 2022 at 07:48:51AM +0000, Corentin Labbe wrote: > Hello > > 2 sunxi board still does not have ethernet working, orangepi 1+ and > orangepi 3. > This is due to the fact thoses boards have a PHY which need 2 regulators. Why PHY make/module is it which is causing problems? Andrew
Le Mon, May 09, 2022 at 02:20:07PM +0200, Andrew Lunn a écrit : > On Mon, May 09, 2022 at 07:48:51AM +0000, Corentin Labbe wrote: > > Hello > > > > 2 sunxi board still does not have ethernet working, orangepi 1+ and > > orangepi 3. > > This is due to the fact thoses boards have a PHY which need 2 regulators. > > Why PHY make/module is it which is causing problems? > The problem was stmmac support only one regulator for PHY.
On Mon, May 09, 2022 at 03:27:30PM +0200, LABBE Corentin wrote: > Le Mon, May 09, 2022 at 02:20:07PM +0200, Andrew Lunn a écrit : > > On Mon, May 09, 2022 at 07:48:51AM +0000, Corentin Labbe wrote: > > > Hello > > > > > > 2 sunxi board still does not have ethernet working, orangepi 1+ and > > > orangepi 3. > > > This is due to the fact thoses boards have a PHY which need 2 regulators. > > > > Why PHY make/module is it which is causing problems? > > > > The problem was stmmac support only one regulator for PHY. I'm trying to understand the differences between the two different regulators. If you tell me what the PHY is, i might be able to find the data sheet, and then understand why two regulators are needed and if one needs to be controlled by the PHY driver, not the MDIO bus driver. Andrew
Le Mon, May 09, 2022 at 05:19:16PM +0200, Andrew Lunn a écrit : > On Mon, May 09, 2022 at 03:27:30PM +0200, LABBE Corentin wrote: > > Le Mon, May 09, 2022 at 02:20:07PM +0200, Andrew Lunn a écrit : > > > On Mon, May 09, 2022 at 07:48:51AM +0000, Corentin Labbe wrote: > > > > Hello > > > > > > > > 2 sunxi board still does not have ethernet working, orangepi 1+ and > > > > orangepi 3. > > > > This is due to the fact thoses boards have a PHY which need 2 regulators. > > > > > > Why PHY make/module is it which is causing problems? > > > > > > > The problem was stmmac support only one regulator for PHY. > > I'm trying to understand the differences between the two different > regulators. If you tell me what the PHY is, i might be able to find > the data sheet, and then understand why two regulators are needed and > if one needs to be controlled by the PHY driver, not the MDIO bus > driver. The schematic for the board is https://linux-sunxi.org/images/5/50/OrangePi_3_Schematics_v1.5.pdf Which show a RTL8211E.
On Mon, May 09, 2022 at 05:24:26PM +0200, LABBE Corentin wrote: > Le Mon, May 09, 2022 at 05:19:16PM +0200, Andrew Lunn a écrit : > > I'm trying to understand the differences between the two different > > regulators. If you tell me what the PHY is, i might be able to find > > the data sheet, and then understand why two regulators are needed and > > if one needs to be controlled by the PHY driver, not the MDIO bus > > driver. > The schematic for the board is https://linux-sunxi.org/images/5/50/OrangePi_3_Schematics_v1.5.pdf > Which show a RTL8211E. Most hardware will want all the regulators for the device turned on or off en masse (possibly in a specific sequence) - it's rare for devices to support only having some of their supplies enabled for extended periods, I'd be surprised if something like a PHY did that.