[PATCH v4 net-next 1/2] dt-bindings: phy: cadence-torrent: Update property values to support 3 clocks

From: Gokul Praveen

Date: Wed Jul 01 2026 - 10:32:00 EST


Update maxItems value of "clocks" property to 3 as description of
this parameter already indicates 3 clocks(refclk,pll1_refclk(optional)
and phy_en_refclk(optional)).

Update the maxItems and items value of "clock-names" property with multiple
combination of clock-names possible since pll1_refclk and phy_en_refclk are
optional clocks.

Signed-off-by: Gokul Praveen <g-praveen@xxxxxx>
---
.../bindings/phy/phy-cadence-torrent.yaml | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
index 9af39b33646a..96c664d50629 100644
--- a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
+++ b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
@@ -34,7 +34,7 @@ properties:

clocks:
minItems: 1
- maxItems: 2
+ maxItems: 3
description:
PHY input reference clocks - refclk (for PLL0) & pll1_refclk (for PLL1).
pll1_refclk is optional and used for multi-protocol configurations requiring
@@ -45,9 +45,17 @@ properties:

clock-names:
minItems: 1
- items:
- - const: refclk
- - enum: [ pll1_refclk, phy_en_refclk ]
+ maxItems: 3
+ oneOf:
+ - items:
+ - const: refclk
+ - items:
+ - const: refclk
+ - enum: [ pll1_refclk, phy_en_refclk ]
+ - items:
+ - const: refclk
+ - const: pll1_refclk
+ - const: phy_en_refclk

reg:
minItems: 1
--
2.34.1