RE: [PATCH 2/2] dt-bindings: PCI: snps,dw-pcie: Drop deprecated reset-gpio
From: Hongxing Zhu
Date: Thu Mar 12 2026 - 02:07:25 EST
> -----Original Message-----
> From: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
> Sent: 2026年3月11日 23:50
> To: Hongxing Zhu <hongxing.zhu@xxxxxxx>; Lucas Stach
> <l.stach@xxxxxxxxxxxxxx>; Lorenzo Pieralisi <lpieralisi@xxxxxxxxxx>;
> Krzysztof Wilczy?ski <kwilczynski@xxxxxxxxxx>; Manivannan Sadhasivam
> <mani@xxxxxxxxxx>; Rob Herring <robh@xxxxxxxxxx>; Bjorn Helgaas
> <bhelgaas@xxxxxxxxxx>; Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>; Conor
> Dooley <conor+dt@xxxxxxxxxx>; Frank Li <frank.li@xxxxxxx>; Sascha Hauer
> <s.hauer@xxxxxxxxxxxxxx>; Pengutronix Kernel Team
> <kernel@xxxxxxxxxxxxxx>; Fabio Estevam <festevam@xxxxxxxxx>; Jingoo
> Han <jingoohan1@xxxxxxxxx>; Gustavo Pimentel
> <gustavo.pimentel@xxxxxxxxxxxx>; linux-pci@xxxxxxxxxxxxxxx;
> linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; imx@xxxxxxxxxxxxxxx;
> devicetree@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
> Subject: [PATCH 2/2] dt-bindings: PCI: snps,dw-pcie: Drop deprecated
> reset-gpio
>
> GPIOs with "gpio" suffix were long time ago deprecated in favor of "gpios"
> and this particular property was documented explicitly as deprecated since
> commit 42694f9f6407 ("dt-bindings: PCI: add
> snps,dw-pcie.yaml") in 2021.
>
> Linux kernel supports both variants for a long time, thus listing the
> deprecated one is redundant and instead legacy DTS should be updated.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
Acked-by: Richard Zhu <hongxing.zhu@xxxxxxx>
Thanks.
Best Regards
Richard Zhu
>
> ---
>
> I will fix DTS separately, so after applying this patch there will be bunch of
> dtbs_check warnings. That's expected and fine.
> ---
> .../devicetree/bindings/pci/snps,dw-pcie-common.yaml | 7 -------
> 1 file changed, 7 deletions(-)
>
> diff --git
> a/Documentation/devicetree/bindings/pci/snps,dw-pcie-common.yaml
> b/Documentation/devicetree/bindings/pci/snps,dw-pcie-common.yaml
> index 2c4dc04f9984..deba46d7a924 100644
> --- a/Documentation/devicetree/bindings/pci/snps,dw-pcie-common.yaml
> +++ b/Documentation/devicetree/bindings/pci/snps,dw-pcie-common.yaml
> @@ -209,13 +209,6 @@ properties:
> - pattern: '^p2u-[0-7]$'
> - pattern: '^cp[01]-pcie[0-2]-x[124](-lane[0-3])?-phy$' #
> marvell,armada8k-pcie
>
> - reset-gpio:
> - deprecated: true
> - description:
> - Reference to the GPIO-controlled PERST# signal. It is used to reset all
> - the peripheral devices available on the PCIe bus.
> - maxItems: 1
> -
> reset-gpios:
> description:
> Reference to the GPIO-controlled PERST# signal. It is used to reset
> all
> --
> 2.51.0