Re: [PATCH RFC v4 03/15] dt-bindings: PCI: nxp,s32g-pcie: One PHY per lane

From: Frank Li

Date: Wed Nov 25 2026 - 11:20:31 EST


On Wed, Nov 25, 2026 at 10:33:45AM +0100, Jan Petrous via B4 Relay wrote:
> From: "Jan Petrous (OSS)" <jan.petrous@xxxxxxxxxxx>
>
> The SerDes binding describes a link with one phys entry per lane,
> <lane PHY_TYPE_PCIE 0 0>. Allow up to two entries on the root port, and
> make the example reference lane 0 that way.
>
> Signed-off-by: Jan Petrous (OSS) <jan.petrous@xxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/pci/nxp,s32g-pcie.yaml | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/pci/nxp,s32g-pcie.yaml b/Documentation/devicetree/bindings/pci/nxp,s32g-pcie.yaml
> index 66a050028278..b90d169f57ed 100644
> --- a/Documentation/devicetree/bindings/pci/nxp,s32g-pcie.yaml
> +++ b/Documentation/devicetree/bindings/pci/nxp,s32g-pcie.yaml
> @@ -57,7 +57,9 @@ properties:
> maxItems: 1
>
> phys:
> - maxItems: 1
> + minItems: 1
> + maxItems: 2
> + description: One entry per SerDes lane of the link.

Needn't such description, that's native means for phys.

Frank
>
> required:
> - reg
> @@ -124,7 +126,7 @@ examples:
> ranges;
>
> device_type = "pci";
> - phys = <&serdes0 PHY_TYPE_PCIE 0 0>;
> + phys = <&serdes0 0 PHY_TYPE_PCIE 0 0>;
> };
> };
> };
>
> --
> 2.55.0
>
>
>