]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: phy: cadence-torrent: enable PHY_TYPE_USXGMII
authorSiddharth Vadapalli <s-vadapalli@ti.com>
Fri, 11 Apr 2025 05:57:43 +0000 (11:27 +0530)
committerVinod Koul <vkoul@kernel.org>
Wed, 14 May 2025 08:26:05 +0000 (09:26 +0100)
The Cadence Torrent SERDES supports USXGMII protocol. Hence, update the
bindings to allow PHY_TYPE_USXGMII. Since PHY_TYPE_USXGMII has the value
of "12" while the existing maximum allowed PHY TYPE is "9", switch back to
using "enum" property in the bindings to account for this discontinuity.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250411055743.623135-1-s-vadapalli@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml

index 15dc8efe6ffe74f0fdb258db54481cc4d75d5091..9af39b33646ac0a3449e7b23de9299bb02cafe28 100644 (file)
@@ -99,8 +99,7 @@ patternProperties:
           Specifies the type of PHY for which the group of PHY lanes is used.
           Refer include/dt-bindings/phy/phy.h. Constants from the header should be used.
         $ref: /schemas/types.yaml#/definitions/uint32
-        minimum: 1
-        maximum: 9
+        enum: [1, 2, 3, 4, 5, 6, 7, 8, 9, 12]
 
       cdns,num-lanes:
         description: