Re: [PATCH 08/21] dt-bindings: mfd: x-powers: add AC200
James Hilliard <[email protected]> Mon, 3 Aug 2026 10:45:23 -0600
| Newsgroups | dev.linux.lists.mfd,dev.linux.lists.linux-sunxi,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-rockchip,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.netdev |
|---|---|
| Message-ID | <CADvTj4pfNFVGrQV86T7X+nZQYUamxEYLLWuxVXk=av0da_XocQ@mail.gmail.com> |
On Mon, Aug 3, 2026 at 7:18=E2=80=AFAM Andrew Lunn <[email protected]> wrote: > > > + ethernet-phy-control { > > + compatible =3D "x-powers,ac200-ephy-ctl"; > > + nvmem-cells =3D <&ephy_calibration>; > > + nvmem-cell-names =3D "calibration"; > > + phy-mode =3D "rmii"; > > + }; > > What do you mean by an ethernet PHY control? > > I assume this is not an actual Ethernet PHY, but some control logic > around it? Where is the ethernet PHY itself? Correct, this is not the Ethernet PHY itself. It is the package-specific sideband control block that must be configured before the normal Clause 22 PHY registers become usable. For AC200, this control block is accessed through the parent AC200 I2C regmap. For AC300, the equivalent control bloc= k is accessed through a separate non-PHY Clause 22 address. The actual Ethernet PHY is a separate device on the MAC's MDIO bus. The shared PHY driver for that device is added in patch 16: https://lore.kernel.org/linux-sunxi/20260802-submit-acx00-of-dynamic-v1-v1-= [email protected]/ The later board DTS patches instantiate it as an ethernet-phy node beneath the MAC's MDIO bus and reference the appropriate sideband control provider. > > Andrew