From 63f028c4dd73720b313b390558920e303205670e Mon Sep 17 00:00:00 2001 From: "Rob Herring (Arm)" Date: Fri, 25 Sep 2026 09:04:10 -0500 Subject: [PATCH] dt-bindings: net: Document Marvell PHY "marvell,reg-init" The Marvell PHY driver consumes marvell,reg-init as one or more tuples. Define the property so dtbs_check validates the existing board descriptions. Existing users have no compatible or just "ethernet-phy-ieee802.3-c22" so this has to go into the generic ethernet-phy.yaml schema. Marking it deprecated both for that reason and because opaque register initialization values are discouraged in DT. Assisted-by: LLM Signed-off-by: Rob Herring (Arm) Reviewed-by: Andrew Lunn Link: https://patch.msgid.link/20260925140410.1157036-2-robh@kernel.org Signed-off-by: Paolo Abeni --- .../devicetree/bindings/net/ethernet-phy.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml index c3ebb3af8b52..df50c4c33d76 100644 --- a/Documentation/devicetree/bindings/net/ethernet-phy.yaml +++ b/Documentation/devicetree/bindings/net/ethernet-phy.yaml @@ -269,6 +269,22 @@ properties: have to be placed on board. When omitted, the PHYs default will be left as is. + marvell,reg-init: + $ref: /schemas/types.yaml#/definitions/uint32-matrix + deprecated: true + description: + Register initialization tuples for Marvell PHYs. + items: + items: + - description: register page + maximum: 0xffff + - description: register number + maximum: 31 + - description: mask of bits to preserve + maximum: 0xffff + - description: value to apply + maximum: 0xffff + leds: type: object