Re: [PATCH net-next v2 0/3] net: mdio: support dynamic OF device changes
From: James Hilliard <hidden>
Date: 2026-08-04 19:13:56
Also in:
linux-devicetree, lkml
On Tue, Aug 4, 2026 at 12:57 PM Andrew Lunn [off-list ref] wrote:
On Tue, Aug 04, 2026 at 09:10:30AM -0600, James Hilliard wrote:quoted
On Tue, Aug 4, 2026 at 6:54 AM Andrew Lunn [off-list ref] wrote:quoted
quoted
quoted
If this was a hat on top of a SBC, with an EEPROM indicating what the hat was, then maybe DT overlays would make sense. But from what you have said, this is a fixed PCB design, nothing hot/cold plugable.Some H616/H618 boards have the ethernet port on an expansion board: http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/2W-expansion-board.htmlI don't see a list of pins which go across the connector. Does the MDIO bus go to the expansion board? Is the PHY on the expansion board. It all looks passive to me.Pins are listed under "24Pin expansion board interface pin description": https://orangepi.net/wp-content/uploads/2023/10/OrangePi_Zero2w_H618_User-Manual_v1.1.pdfSo just the lines after the PHY, basically the UTP lines without the twist. So please stop wasting my time by making invalid points.
I'm confused how this is an invalid point. Presumably one may want to use OF_DYNAMIC to dynamically enable the PHY only when the expansion board is installed. Whether or not the MDIO bus is wired to the expansion board or physically integrated into the SoC doesn't seem like it would make a difference in regards to whether or not one would want to dynamically enable the PHY using OF_DYNAMIC as that decision would presumably be made based on the actual configured hardware setup. If the PHY is not physically connected to an ethernet port then presumably it should remain disabled due to that being a non-functional hardware configuration. Or am I missing something here?
Andrew