Re: [PATCH phy 13/14] dt-bindings: phy: lynx-28g: add compatible strings per SerDes and instantiation
From: Vladimir Oltean <vladimir.oltean@nxp.com>
Date: 2025-09-05 11:03:02
Also in:
linux-phy, lkml
From: Vladimir Oltean <vladimir.oltean@nxp.com>
Date: 2025-09-05 11:03:02
Also in:
linux-phy, lkml
On Fri, Sep 05, 2025 at 10:29:33AM +0200, Krzysztof Kozlowski wrote:
quoted
diff --git a/Documentation/devicetree/bindings/phy/fsl,lynx-28g.yaml b/Documentation/devicetree/bindings/phy/fsl,lynx-28g.yaml index ff9f9ca0f19c..55d773c8d0e4 100644 --- a/Documentation/devicetree/bindings/phy/fsl,lynx-28g.yaml +++ b/Documentation/devicetree/bindings/phy/fsl,lynx-28g.yaml@@ -11,8 +11,17 @@ maintainers: properties: compatible: - enum: - - fsl,lynx-28g + oneOf: + - items: + - const: fsl,lynx-28gDon't change that part. Previous enum was correct. You want oneOf and enum.quoted
+ - items: + - enum: + - fsl,lx2160a-serdes1 + - fsl,lx2160a-serdes2 + - fsl,lx2160a-serdes3What are the differences? number of lanes? For this you can take num-lanes property.
Number of lanes, but on LX2162A it's a bit weird. It supports 4 lanes but they are numbered 4, 5, 6, 7. Also supported protocols for each lane. Just one example: lane 0 of fsl,lx2160a-serdes1 supports PCIe, SGMII, USXGMII, 40GbE, whereas lane 0 of fsl,lx2160a-serdes2 supports PCIe, SGMII.