mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: phy: cadence-torrent: enable PHY_TYPE_USXGMII
@ 2025-04-11  5:57 Siddharth Vadapalli
  2025-04-11 19:42 ` Rob Herring (Arm)
  2025-05-14 11:37 ` Vinod Koul
  0 siblings, 2 replies; 3+ messages in thread
From: Siddharth Vadapalli @ 2025-04-11  5:57 UTC (permalink / raw)
  To: vkoul, kishon, robh, krzk+dt, conor+dt, sjakhade, yamonkar
  Cc: linux-phy, linux-kernel, devicetree, linux-arm-kernel, srk, s-vadapalli

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>
---

Hello,

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

Regards,
Siddharth.

 Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
index 15dc8efe6ffe..9af39b33646a 100644
--- a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
+++ b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
@@ -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:
-- 
2.34.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-14 11:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-11  5:57 [PATCH] dt-bindings: phy: cadence-torrent: enable PHY_TYPE_USXGMII Siddharth Vadapalli
2025-04-11 19:42 ` Rob Herring (Arm)
2025-05-14 11:37 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®