[PATCH 05/11] ARM: dts: imx6: remove gpio suffix for regulator

Frank Li posted 11 patches 6 days, 2 hours ago
[PATCH 05/11] ARM: dts: imx6: remove gpio suffix for regulator
Posted by Frank Li 6 days, 2 hours ago
Remove gpio suffix for regulator to fix below CHECK_DTBS warnings:
 (fsl,imx6sx-sdb): regulator-pcie-gpio: {'compatible': ['regulator-fixed'], 'phandle': 69} is not of type 'array'
        from schema $id: http://devicetree.org/schemas/gpio/gpio-consumer.yaml

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 arch/arm/boot/dts/nxp/imx/imx6q-cm-fx6.dts | 2 +-
 arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtsi  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/nxp/imx/imx6q-cm-fx6.dts b/arch/arm/boot/dts/nxp/imx/imx6q-cm-fx6.dts
index 299106fbe51c4ac1e9e0a70a4ec12e16b8110497..789a9aac005ebbe20e600dbe7bc7262ccbf74c64 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6q-cm-fx6.dts
+++ b/arch/arm/boot/dts/nxp/imx/imx6q-cm-fx6.dts
@@ -73,7 +73,7 @@ awnh387_pwrseq: pwrseq {
 		reset-gpios = <&gpio6 16 GPIO_ACTIVE_HIGH>;
 	};
 
-	reg_pcie_power_on_gpio: regulator-pcie-power-on-gpio {
+	reg_pcie_power_on_gpio: regulator-pcie-power-on {
 		compatible = "regulator-fixed";
 		regulator-name = "regulator-pcie-power-on-gpio";
 		regulator-min-microvolt = <3300000>;
diff --git a/arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtsi b/arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtsi
index c7aeb99d8f002011a677ee50c7c849b9aab91374..3e238d8118faedd39a923aa90d859301516cd00f 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtsi
@@ -119,7 +119,7 @@ reg_enet_3v3: regulator-enet-3v3 {
 		regulator-always-on;
 	};
 
-	reg_pcie_gpio: regulator-pcie-gpio {
+	reg_pcie_gpio: regulator-pcie {
 		compatible = "regulator-fixed";
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_pcie_reg>;

-- 
2.34.1
Re: [PATCH 05/11] ARM: dts: imx6: remove gpio suffix for regulator
Posted by Fabio Estevam 6 days, 2 hours ago
On Thu, Sep 25, 2025 at 6:14 PM Frank Li <Frank.Li@nxp.com> wrote:

> -       reg_pcie_power_on_gpio: regulator-pcie-power-on-gpio {
> +       reg_pcie_power_on_gpio: regulator-pcie-power-on {

What about removing _gpio from the label as well for consistency?
Re: [PATCH 05/11] ARM: dts: imx6: remove gpio suffix for regulator
Posted by Frank Li 6 days, 2 hours ago
On Thu, Sep 25, 2025 at 06:16:30PM -0300, Fabio Estevam wrote:
> On Thu, Sep 25, 2025 at 6:14 PM Frank Li <Frank.Li@nxp.com> wrote:
>
> > -       reg_pcie_power_on_gpio: regulator-pcie-power-on-gpio {
> > +       reg_pcie_power_on_gpio: regulator-pcie-power-on {
>
> What about removing _gpio from the label as well for consistency?

change label also need change ref's place, look like it is not neccessary.

Frank