fsl,imx6q-pcie: Remove the deprecated "reset-gpio-active-high" property
Subsystems (5)
cover fsl,imx6q-pcie: Remove the deprecated "reset-gpio-active-high" property
Commit 2e81122d681c ("PCI: imx6: Convert to use agnostic GPIO API") deleted the "gpio_active_high" flag in pci-imx6 driver, so currently the imx6 PCIe driver doesn't support "reset-gpio-active-high" property.
Let's remove this deprecated property in imx6* dts and the corresponding dt-binding.
Sherry Sun (3):
ARM: dts: imx6q-apalis: Remove the deprecated "reset-gpio-active-high"
property
ARM: dts: imx6sx-softing-vining-2000: Remove the deprecated
"reset-gpio-active-high" property
dt-bindings: PCI: fsl,imx6q-pcie: Remove the deprecated
"reset-gpio-active-high" property
Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml | 6 ------ arch/arm/boot/dts/nxp/imx/imx6q-apalis-eval.dtsi | 1 - arch/arm/boot/dts/nxp/imx/imx6q-apalis-ixora-v1.2.dts | 1 - arch/arm/boot/dts/nxp/imx/imx6q-apalis-ixora.dts | 1 - arch/arm/boot/dts/nxp/imx/imx6sx-softing-vining-2000.dts | 1 - 5 files changed, 10 deletions(-)
Signature · 1 line
2.37.1
PATCH 1/3 ARM: dts: imx6q-apalis: Remove the deprecated "reset-gpio-active-high" property
Commit 2e81122d681c ("PCI: imx6: Convert to use agnostic GPIO API") deleted the "gpio_active_high" flag in pci-imx6 driver, so currently the imx6 PCIe driver doesn't support "reset-gpio-active-high" property. Let's remove this deprecated property in imx6q-apalis dts.
--- arch/arm/boot/dts/nxp/imx/imx6q-apalis-eval.dtsi | 1 - arch/arm/boot/dts/nxp/imx/imx6q-apalis-ixora-v1.2.dts | 1 - arch/arm/boot/dts/nxp/imx/imx6q-apalis-ixora.dts | 1 - 3 files changed, 3 deletions(-)
arch/arm/boot/dts/nxp/imx/imx6q-apalis-eval.dtsi +0 -1
@@ -56,7 +56,6 @@ &pcie { pinctrl-0 = <&pinctrl_reset_moci>; /* active-high meaning opposite of regular PERST# active-low polarity */ reset-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; - reset-gpio-active-high; }; &pwm1 {
arch/arm/boot/dts/nxp/imx/imx6q-apalis-ixora-v1.2.dts +0 -1
@@ -147,7 +147,6 @@ &pcie { pinctrl-0 = <&pinctrl_reset_moci>; /* active-high meaning opposite of regular PERST# active-low polarity */ reset-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; - reset-gpio-active-high; status = "okay"; };
arch/arm/boot/dts/nxp/imx/imx6q-apalis-ixora.dts +0 -1
@@ -94,7 +94,6 @@ &pcie { pinctrl-0 = <&pinctrl_reset_moci>; /* active-high meaning opposite of regular PERST# active-low polarity */ reset-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; - reset-gpio-active-high; status = "okay"; };
Signature · 1 line
2.37.1
PATCH 2/3 ARM: dts: imx6sx-softing-vining-2000: Remove the deprecated "reset-gpio-active-high" property
In reply to Sherry SunCommit 2e81122d681c ("PCI: imx6: Convert to use agnostic GPIO API") deleted the "gpio_active_high" flag in pci-imx6 driver, so currently the imx6 PCIe driver doesn't support "reset-gpio-active-high" property. Let's remove this deprecated property in imx6q-apalis dts.
--- arch/arm/boot/dts/nxp/imx/imx6sx-softing-vining-2000.dts | 1 - 1 file changed, 1 deletion(-)
arch/arm/boot/dts/nxp/imx/imx6sx-softing-vining-2000.dts +0 -1
@@ -500,7 +500,6 @@ &pcie { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pcie>; reset-gpio = <&gpio4 6 GPIO_ACTIVE_HIGH>; - reset-gpio-active-high; status = "okay"; };
Signature · 1 line
2.37.1
PATCH 3/3 dt-bindings: PCI: fsl,imx6q-pcie: Remove the deprecated "reset-gpio-active-high" property
In reply to Sherry SunCommit 2e81122d681c ("PCI: imx6: Convert to use agnostic GPIO API") deleted the support of "reset-gpio-active-high" property in imx6 PCIe driver. This deprecated preoperty is no longer used in any DTS file, let's also remove this in dt-binding.
--- Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml | 6 ------ 1 file changed, 6 deletions(-)
Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml +0 -6
@@ -63,12 +63,6 @@ properties: reset signal. It's not polarity aware and defaults to active-low reset sequence (L=reset state, H=operation state) (optional required). - reset-gpio-active-high: - description: If present then the reset sequence using the GPIO - specified in the "reset-gpio" property is reversed (H=reset state, - L=operation state) (optional required). - type: boolean - required: - compatible - reg
Signature · 1 line
2.37.1
Re: [PATCH 3/3] dt-bindings: PCI: fsl,imx6q-pcie: Remove the deprecated "reset-gpio-active-high" property
Quoted 15 lines · Sherry Sun
Commit
2e81122d681c("PCI: imx6: Convert to use agnostic GPIO API") deleted the support of "reset-gpio-active-high" property in imx6 PCIe driver. This deprecated preoperty is no longer used in any DTS file, let's also remove this in dt-binding.Signed-off-by Sherry Sun <[email protected]>--- Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml | 6 ------ 1 file changed, 6 deletions(-)Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml +0
-0
Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml properties: · line 69
Quoted 7 lines
Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml +0
-4@@ -63,12 +63,6 @@ properties: reset signal. It's not polarity aware and defaults to active-low reset sequence (L=reset state, H=operation state) (optional required). - reset-gpio-active-high: - description: If present then the reset sequence using the GPIO - specified in the "reset-gpio" property is reversed (H=reset state, - L=operation state) (optional required).
You had one command to run before preparing such patch:
git grep reset-gpio-active-high
so now you made this ABI undocumented.
Best regards,
Krzysztof
RE: [PATCH 3/3] dt-bindings: PCI: fsl,imx6q-pcie: Remove the deprecated "reset-gpio-active-high" property
Quoted 43 lines
-----Original Message-----
From: Krzysztof Kozlowski <[email protected]>
Sent: Thursday, January 15, 2026 5:08 PM
To: Sherry Sun <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Hongxing Zhu <[email protected]>; Frank Li <[email protected]>; [email protected]; [email protected]
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH 3/3] dt-bindings: PCI: fsl,imx6q-pcie: Remove the deprecated "reset-gpio-active-high" propertyQuoted 16 lines · Sherry Sun
Commit
2e81122d681c("PCI: imx6: Convert to use agnostic GPIO API") deleted the support of "reset-gpio-active-high" property in imx6 PCIe driver. This deprecated preoperty is no longer used in any DTS file, let's also remove this in dt-binding.Signed-off-by Sherry Sun <[email protected]>--- Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml | 6 ------ 1 file changed, 6 deletions(-)Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml +0
-0Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml properties: · line 69
Quoted 7 lines
Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml +0
-4@@ -63,12 +63,6 @@ properties: reset signal. It's not polarity aware and defaults to active-low reset sequence (L=reset state, H=operation state) (optional required). - reset-gpio-active-high: - description: If present then the reset sequence using the GPIO - specified in the "reset-gpio" property is reversed (H=reset state, - L=operation state) (optional required).You had one command to run before preparing such patch:
Quoted 4 lines
git grep reset-gpio-active-high
so now you made this ABI undocumented.
Hi Krzysztof,
Yes, Francesco also reminded me for this, thanks for the catch, will be more careful next time.
Best Regards
Sherry
Quoted 6 lines · Sherry Sun
Commit
2e81122d681c("PCI: imx6: Convert to use agnostic GPIO API") deleted the "gpio_active_high" flag in pci-imx6 driver, so currently the imx6 PCIe driver doesn't support "reset-gpio-active-high" property.Let's remove this deprecated property in imx6* dts and the corresponding dt-binding.
Are you sure this is not breaking anything?
DT files from the Linux repository are not used just in Linux.
And , the property is still handled, see commit b8b80348c57b ("gpiolib: of: add polarity quirk for Freescale PCIe controller"), the DT compatibility was not broken as you seem to imply in this series.
Francesco
Quoted 1 line · Francesco Dolcini
On Thu, Jan 15, 2026 at 03:18:13PM +0800, Sherry Sun wrote:
...
Quoted 3 lines
And , the property is still handled, see commit
b8b80348c57b("gpiolib: of: add polarity quirk for Freescale PCIe controller"), the DT compatibility was not broken as you seem to imply in this series.
This is a quirk and not a 1st class support. There must be no such property in new DTs, it's only present for the backward compatibility.
For the old ones, indeed the property is needed. The problem of reuse of Linux DTs somewhere else is orthogonal to the Linux kernel. If this is a real problem the DTs should have been maintained outside of Linux kernel and, if needed, be synchronised from time to time.
TL;DR: we must discourage people to use deprecated and (historically) wrong properties.
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 5 lines · Andy Shevchenko
Quoted 1 line · Francesco Dolcini
On Thu, Jan 15, 2026 at 03:18:13PM +0800, Sherry Sun wrote:
...
Quoted 8 lines
Quoted 3 lines
And , the property is still handled, see commit
b8b80348c57b("gpiolib: of: add polarity quirk for Freescale PCIe controller"), the DT compatibility was not broken as you seem to imply in this series.This is a quirk and not a 1st class support. There must be no such property in new DTs, it's only present for the backward compatibility.
For the old ones, indeed the property is needed.
Ack, we just agree here.
Francesco
Quoted 27 lines
-----Original Message-----
From: Francesco Dolcini <[email protected]>
Sent: Thursday, January 15, 2026 4:11 PM
To: Andy Shevchenko <[email protected]>
Cc: Francesco Dolcini <[email protected]>; Sherry Sun <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Hongxing Zhu <[email protected]>; Frank Li <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH 0/3] fsl,imx6q-pcie: Remove the deprecated "reset-gpio- active-high" propertyQuoted 9 lines · Andy Shevchenko
Quoted 1 line · Francesco Dolcini
On Thu, Jan 15, 2026 at 03:18:13PM +0800, Sherry Sun wrote:
...
Quoted 3 lines
And , the property is still handled, see commit
b8b80348c57b("gpiolib: of: add polarity quirk for Freescale PCIe controller"), the DT compatibility was not broken as you seem to imply in this series.
Quoted 6 lines
Quoted 4 lines
This is a quirk and not a 1st class support. There must be no such property in new DTs, it's only present for the backward compatibility.
For the old ones, indeed the property is needed.
Ack, we just agree here.
Sorry, my bad, I didn't notice there is a hack for this property in gpiolib, Not sure the history for adding this, but anyway, we should not break the old boards. Maybe we can simply mark this property as deprecated.
Best Regards
Sherry