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

Siddharth Vadapalli posted 1 patch 1 month, 4 weeks ago
Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v2] dt-bindings: phy: cadence-sierra: Allow PHY types QSGMII and SGMII
Posted by Siddharth Vadapalli 1 month, 4 weeks ago
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(-)

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:
-- 
2.40.1
Re: [PATCH v2] dt-bindings: phy: cadence-sierra: Allow PHY types QSGMII and SGMII
Posted by Vinod Koul 1 month, 3 weeks ago
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,
-- 
~Vinod