diff mbox series

[v2] dt-bindings: phy: cadence-sierra: Allow PHY types QSGMII and SGMII

Message ID 20240930095145.3004053-1-s-vadapalli@ti.com
State Accepted
Commit bbcc9e2bde693ec3fc6aab650abaf748eb9f38f9
Headers show
Series [v2] dt-bindings: phy: cadence-sierra: Allow PHY types QSGMII and SGMII | expand

Commit Message

Siddharth Vadapalli Sept. 30, 2024, 9:51 a.m. UTC
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>
---

Hello,

This patch is based on linux-next tagged next-20240930.

v1:
https://lore.kernel.org/r/20240830105316.1824319-1-s-vadapalli@ti.com/
Changes since v1:
- Rebased patch on next-20240930.
- Collected Acked-by tag from Conor Dooley <conor.dooley@microchip.com>

Regards,
Siddharth.

 Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Vinod Koul Oct. 7, 2024, 3:49 p.m. UTC | #1
On Mon, 30 Sep 2024 15:21:45 +0530, Siddharth Vadapalli wrote:
> 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.
> 
> 

Applied, thanks!

[1/1] dt-bindings: phy: cadence-sierra: Allow PHY types QSGMII and SGMII
      commit: bbcc9e2bde693ec3fc6aab650abaf748eb9f38f9

Best regards,
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml b/Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml
index 37f028f7a095..137ac5703853 100644
--- a/Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml
+++ b/Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml
@@ -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: