]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
dt-bindings: phy: cadence-sierra: Allow PHY types QSGMII and SGMII
authorSiddharth Vadapalli <s-vadapalli@ti.com>
Mon, 30 Sep 2024 09:51:45 +0000 (15:21 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 7 Oct 2024 06:48:55 +0000 (12:18 +0530)
The Sierra SERDES can be configured for QSGMII and SGMII protocols. Hence,
update the bindings to treat "PHY_TYPE_QSGMII" and "PHY_TYPE_SGMII" as
valid values for the "cdns,phy-type" property.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240930095145.3004053-1-s-vadapalli@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml

index 37f028f7a09554bd1580fa1390e27f46b5753fac..137ac5703853d8f8e7f5e0543c00e2ac978aea9a 100644 (file)
@@ -96,7 +96,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
-        enum: [2, 4]
+        enum: [2, 4, 8, 9]
 
       cdns,num-lanes:
         description: