[PATCH 07/12] arm64: dts: imx8: Use undeprecated reset-gpios

Krzysztof Kozlowski posted 12 patches 3 weeks, 6 days ago
There is a newer version of this series
[PATCH 07/12] arm64: dts: imx8: Use undeprecated reset-gpios
Posted by Krzysztof Kozlowski 3 weeks, 6 days ago
Freescale i.MX6 PCIe host controller bindings through referenced
snps,dw-pcie-common.yaml schema already document "reset-gpios", just
like Linux kernel did for a long time.  Use the preferred form over
"reset-gpio" deprecated since commit 42694f9f6407 ("dt-bindings: PCI:
add snps,dw-pcie.yaml") in 2021.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
 arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi | 4 ++--
 arch/arm64/boot/dts/freescale/imx8dxl-evk.dts       | 4 ++--
 arch/arm64/boot/dts/freescale/tqma8xxs.dtsi         | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi b/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi
index 6fc82b5eb58c..6d8a57ff56c2 100644
--- a/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi
@@ -806,7 +806,7 @@ &pciea {
 	pinctrl-0 = <&pinctrl_reset_moci>;
 	phys = <&hsio_phy 0 PHY_TYPE_PCIE 0>;
 	phy-names = "pcie-phy";
-	reset-gpio = <&lsio_gpio0 30 GPIO_ACTIVE_LOW>;
+	reset-gpios = <&lsio_gpio0 30 GPIO_ACTIVE_LOW>;
 	vpcie-supply = <&reg_pcie_switch>;
 };
 
@@ -816,7 +816,7 @@ &pcieb {
 	pinctrl-0 = <&pinctrl_pcieb>, <&pinctrl_wifi>;
 	phys = <&hsio_phy 1 PHY_TYPE_PCIE 1>;
 	phy-names = "pcie-phy";
-	reset-gpio = <&lsio_gpio5 0 GPIO_ACTIVE_LOW>;
+	reset-gpios = <&lsio_gpio5 0 GPIO_ACTIVE_LOW>;
 	status = "okay";
 };
 
diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts
index 5c68d33e19f2..bdd1dbc6b322 100644
--- a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts
@@ -651,7 +651,7 @@ &pcie0 {
 	phy-names = "pcie-phy";
 	pinctrl-0 = <&pinctrl_pcieb>;
 	pinctrl-names = "default";
-	reset-gpio = <&lsio_gpio4 0 GPIO_ACTIVE_LOW>;
+	reset-gpios = <&lsio_gpio4 0 GPIO_ACTIVE_LOW>;
 	vpcie-supply = <&reg_pcieb>;
 	vpcie3v3aux-supply = <&reg_pcieb>;
 	status = "okay";
@@ -662,7 +662,7 @@ &pcie0_ep {
 	phy-names = "pcie-phy";
 	pinctrl-0 = <&pinctrl_pcieb>;
 	pinctrl-names = "default";
-	reset-gpio = <&lsio_gpio4 0 GPIO_ACTIVE_LOW>;
+	reset-gpios = <&lsio_gpio4 0 GPIO_ACTIVE_LOW>;
 	vpcie-supply = <&reg_pcieb>;
 	status = "disabled";
 };
diff --git a/arch/arm64/boot/dts/freescale/tqma8xxs.dtsi b/arch/arm64/boot/dts/freescale/tqma8xxs.dtsi
index bfc918f18d01..677a05b38391 100644
--- a/arch/arm64/boot/dts/freescale/tqma8xxs.dtsi
+++ b/arch/arm64/boot/dts/freescale/tqma8xxs.dtsi
@@ -407,7 +407,7 @@ &pcieb {
 	phy-names = "pcie-phy";
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_pcieb>;
-	reset-gpio = <&lsio_gpio4 0 GPIO_ACTIVE_LOW>;
+	reset-gpios = <&lsio_gpio4 0 GPIO_ACTIVE_LOW>;
 };
 
 &sai1 {

-- 
2.51.0
Re: [PATCH 07/12] arm64: dts: imx8: Use undeprecated reset-gpios
Posted by Max Merchel 3 weeks, 5 days ago
On 3/11/26 17:08, Krzysztof Kozlowski wrote:
> Freescale i.MX6 PCIe host controller bindings through referenced

I think you mean i.MX8

> snps,dw-pcie-common.yaml schema already document "reset-gpios", just
> like Linux kernel did for a long time.  Use the preferred form over
> "reset-gpio" deprecated since commit 42694f9f6407 ("dt-bindings: PCI:
> add snps,dw-pcie.yaml") in 2021.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---
>   arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi | 4 ++--
>   arch/arm64/boot/dts/freescale/imx8dxl-evk.dts       | 4 ++--
>   arch/arm64/boot/dts/freescale/tqma8xxs.dtsi         | 2 +-
>   3 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi b/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi
> index 6fc82b5eb58c..6d8a57ff56c2 100644
> --- a/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi
> @@ -806,7 +806,7 @@ &pciea {
>   	pinctrl-0 = <&pinctrl_reset_moci>;
>   	phys = <&hsio_phy 0 PHY_TYPE_PCIE 0>;
>   	phy-names = "pcie-phy";
> -	reset-gpio = <&lsio_gpio0 30 GPIO_ACTIVE_LOW>;
> +	reset-gpios = <&lsio_gpio0 30 GPIO_ACTIVE_LOW>;
>   	vpcie-supply = <&reg_pcie_switch>;
>   };
>   
> @@ -816,7 +816,7 @@ &pcieb {
>   	pinctrl-0 = <&pinctrl_pcieb>, <&pinctrl_wifi>;
>   	phys = <&hsio_phy 1 PHY_TYPE_PCIE 1>;
>   	phy-names = "pcie-phy";
> -	reset-gpio = <&lsio_gpio5 0 GPIO_ACTIVE_LOW>;
> +	reset-gpios = <&lsio_gpio5 0 GPIO_ACTIVE_LOW>;
>   	status = "okay";
>   };
>   
> diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts
> index 5c68d33e19f2..bdd1dbc6b322 100644
> --- a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts
> @@ -651,7 +651,7 @@ &pcie0 {
>   	phy-names = "pcie-phy";
>   	pinctrl-0 = <&pinctrl_pcieb>;
>   	pinctrl-names = "default";
> -	reset-gpio = <&lsio_gpio4 0 GPIO_ACTIVE_LOW>;
> +	reset-gpios = <&lsio_gpio4 0 GPIO_ACTIVE_LOW>;
>   	vpcie-supply = <&reg_pcieb>;
>   	vpcie3v3aux-supply = <&reg_pcieb>;
>   	status = "okay";
> @@ -662,7 +662,7 @@ &pcie0_ep {
>   	phy-names = "pcie-phy";
>   	pinctrl-0 = <&pinctrl_pcieb>;
>   	pinctrl-names = "default";
> -	reset-gpio = <&lsio_gpio4 0 GPIO_ACTIVE_LOW>;
> +	reset-gpios = <&lsio_gpio4 0 GPIO_ACTIVE_LOW>;
>   	vpcie-supply = <&reg_pcieb>;
>   	status = "disabled";
>   };
> diff --git a/arch/arm64/boot/dts/freescale/tqma8xxs.dtsi b/arch/arm64/boot/dts/freescale/tqma8xxs.dtsi
> index bfc918f18d01..677a05b38391 100644
> --- a/arch/arm64/boot/dts/freescale/tqma8xxs.dtsi
> +++ b/arch/arm64/boot/dts/freescale/tqma8xxs.dtsi
> @@ -407,7 +407,7 @@ &pcieb {
>   	phy-names = "pcie-phy";
>   	pinctrl-names = "default";
>   	pinctrl-0 = <&pinctrl_pcieb>;
> -	reset-gpio = <&lsio_gpio4 0 GPIO_ACTIVE_LOW>;
> +	reset-gpios = <&lsio_gpio4 0 GPIO_ACTIVE_LOW>;
>   };
>   
>   &sai1 {
>
-- 
Best regards,
Max

TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/

Re: [PATCH 07/12] arm64: dts: imx8: Use undeprecated reset-gpios
Posted by Krzysztof Kozlowski 3 weeks, 5 days ago
On 12/03/2026 15:49, Max Merchel wrote:
> 
> On 3/11/26 17:08, Krzysztof Kozlowski wrote:
>> Freescale i.MX6 PCIe host controller bindings through referenced
> 
> I think you mean i.MX8

Bindings are called i.MX6, so I just copied the name here.


Best regards,
Krzysztof