Skip to content

Commit

Permalink
dt-bindings: net: ti: k3-am654-cpsw-nuss: Document Serdes PHY
Browse files Browse the repository at this point in the history
Update bindings to include Serdes PHY as an optional PHY, in addition to
the existing CPSW MAC's PHY. The CPSW MAC's PHY is required while the
Serdes PHY is optional. The Serdes PHY handle has to be provided only
when the Serdes is being configured in a Single-Link protocol. Using the
name "serdes-phy" to represent the Serdes PHY handle, the am65-cpsw-nuss
driver can obtain the Serdes PHY and request the Serdes to be
configured.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Siddharth Vadapalli authored and Jakub Kicinski committed Mar 11, 2023
1 parent 939a3f2 commit aacaf7b
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,18 @@ properties:
description: CPSW port number

phys:
maxItems: 1
description: phandle on phy-gmii-sel PHY
minItems: 1
items:
- description: CPSW MAC's PHY.
- description: Serdes PHY. Serdes PHY is required only if
the Serdes has to be configured in the
Single-Link configuration.

phy-names:
minItems: 1
items:
- const: mac
- const: serdes

label:
description: label associated with this port
Expand Down

0 comments on commit aacaf7b

Please sign in to comment.