diff options
author | Sean Anderson <sean.anderson@seco.com> | 2022-10-17 16:22:32 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-10-19 13:25:09 +0100 |
commit | 76025ee53b7dc8dd9633231829b996d181bbcef2 (patch) | |
tree | 1fbb4de22cc8bda90494b1a54fc0401b67e89a6e /Documentation/devicetree/bindings/net/ethernet-controller.yaml | |
parent | 88a2b3cbb7b9c2d073697b3f0328326cb28312b4 (diff) |
dt-bindings: net: Expand pcs-handle to an array
This allows multiple phandles to be specified for pcs-handle, such as
when multiple PCSs are present for a single MAC. To differentiate
between them, also add a pcs-handle-names property.
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net/ethernet-controller.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/net/ethernet-controller.yaml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml index 4b3c590fcebf..3aef506fa158 100644 --- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml +++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml @@ -108,11 +108,17 @@ properties: $ref: "#/properties/phy-connection-type" pcs-handle: - $ref: /schemas/types.yaml#/definitions/phandle + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + maxItems: 1 description: Specifies a reference to a node representing a PCS PHY device on a MDIO bus to link with an external PHY (phy-handle) if exists. + pcs-handle-names: + description: + The name of each PCS in pcs-handle. + phy-handle: $ref: /schemas/types.yaml#/definitions/phandle description: @@ -216,6 +222,9 @@ properties: required: - speed +dependencies: + pcs-handle-names: [pcs-handle] + allOf: - if: properties: |