Message ID | 20221115073603.3425396-1-clabbe@baylibre.com (mailing list archive) |
---|---|
Headers | show |
Series | arm64: add ethernet to orange pi 3 | expand |
> But this way could have some problem, a netdev driver could handle > already its PHY (like dwmac-sun8i already do) and so both phy-core and > the netdev will use both. > It is why phy-supply was renamed in ephy-supply in patch #3. A MAC driver will put its DT properties in the MAC node. A PHY will put its DT properties in the PHY node of the MDIO bus. Since they are in different locations, they can use the same name. So please keep with phy-supply. Please also update Documentation/devicetree/bindings/net/ethernet-phy.yaml with these new properties. Andrew
On Tue, 15 Nov 2022 07:36:00 +0000, Corentin Labbe wrote: > 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. > > A first attempt by Ondřej Jirman was made to support them was made by adding support in > stmmac driver: > https://lore.kernel.org/lkml/20190820145343.29108-6-megous@megous.com/ > Proposal rejected, since regulators need to be handled by the PHY core. > > [...] Applied to broonie/regulator.git for-next Thanks! [1/3] regulator: Add of_regulator_bulk_get_all commit: 27b9ecc7a9ba1d0014779bfe5a6dbf630899c6e7 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark