Re: [PATCH net-next v3 3/4] dt-bindings: net: x-powers: add AC200/AC300 EPHY packages
[email protected] Fri, 07 Aug 2026 01:25:49 +0000
| Newsgroups | dev.linux.lists.mfd,org.kernel.vger.linux-devicetree |
|---|---|
| Message-ID | <[email protected]> |
> The AC200 and AC300 contain compatible Fast Ethernet link PHYs which > report the same Clause 22 identifier and use the same link-side register > layout. Their package control paths differ: AC200 uses registers in its > I2C MFD, while the AC300 control range is at a second Clause 22 address > fixed at 16 plus the link address. > > Describe both variants as Ethernet PHY packages. The package reg value is > the link PHY base address and the child supplies the documented PHY ID, > because the identification registers cannot be read until package setup > has completed. The AC300 driver reaches its control range with the PHY > package offset helpers. The AC200 package instead references its MFD. > > Give fixed hardware variant-specific compatibles. Also provide an ACx00 > compatible for systems which can contain either package, with one packed > NVMEM field containing calibration in bits 3 through 0, the AC300 selector > in bit 8 and its low-calibration selector in bit 9. Such a description > contains the potential resources for both backends; the driver consumes > only those selected by the configuration field. > > Describe the package clock, supply and optional xMII receive-clock > inversion needed by some integrations. A fixed AC200 package may omit the > NVMEM field and use its internal calibration copy. Limit AC300-capable link > addresses to 0 through 7 so the control address remains in the documented > range 16 through 23. > > Signed-off-by: James Hilliard <[email protected]> Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=3