[PATCH net-next v2 1/8] dt-bindings: net: x-powers: add AC200 EPHY control
James Hilliard <[email protected]> Tue, 04 Aug 2026 20:26:59 -0600
| Newsgroups | gmane.linux.network,gmane.linux.drivers.devicetree,gmane.linux.kernel,gmane.linux.ports.arm.kernel,gmane.linux.ports.arm.rockchip |
|---|---|
| Message-ID | <[email protected]> |
The AC200 contains a Fast Ethernet PHY whose power, calibration and interface-selection registers are accessed through the parent AC200 I2C regmap. Describe this control function and its optional SoC SID calibration cell. The vendor sequence adds three to the calibration value modulo 16 before writing BPS_EFFUSE. If the cell is omitted, the driver reads the AC200's internal copy of the calibration eFuse. This node represents the package control logic, not the Clause 22 PHY. The latter remains a separate ethernet-phy node on the MDIO bus, which supplies its address and the MAC-selected interface mode at runtime. Signed-off-by: James Hilliard <[email protected]> --- .../bindings/net/x-powers,ac200-ephy-ctl.yaml | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/Documentation/devicetree/bindings/net/x-powers,ac200-ephy-ctl.yaml b/Documentation/devicetree/bindings/net/x-powers,ac200-ephy-ctl.yaml new file mode 100644 index 000000000000..5bb60542030f --- /dev/null +++ b/Documentation/devicetree/bindings/net/x-powers,ac200-ephy-ctl.yaml @@ -0,0 +1,39 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/x-powers,ac200-ephy-ctl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: X-Powers AC200 Ethernet PHY control + +maintainers: + - James Hilliard <[email protected]> + +description: + The AC200 Ethernet PHY control function configures and powers the Fast + Ethernet PHY in the AC200. Its registers are accessed through the parent + AC200 I2C regmap. + +properties: + compatible: + const: x-powers,ac200-ephy-ctl + + nvmem-cells: + maxItems: 1 + description: + Optional SoC SID cell containing the Ethernet PHY calibration value + written to the AC200 BPS_EFFUSE field after adding 3 modulo 16, as + prescribed by the vendor initialization sequence. If omitted, the + driver reads the AC200's internal copy of the calibration eFuse. + + nvmem-cell-names: + const: calibration + +required: + - compatible + +dependentRequired: + nvmem-cells: [ nvmem-cell-names ] + +additionalProperties: false +... -- 2.53.0