]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: imx6: remove gpio suffix for regulator
authorFrank Li <Frank.Li@nxp.com>
Thu, 16 Oct 2025 16:00:09 +0000 (12:00 -0400)
committerShawn Guo <shawnguo@kernel.org>
Mon, 27 Oct 2025 06:42:54 +0000 (14:42 +0800)
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>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx6q-cm-fx6.dts
arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtsi

index 299106fbe51c4ac1e9e0a70a4ec12e16b8110497..789a9aac005ebbe20e600dbe7bc7262ccbf74c64 100644 (file)
@@ -73,7 +73,7 @@
                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>;
index c7aeb99d8f002011a677ee50c7c849b9aab91374..3e238d8118faedd39a923aa90d859301516cd00f 100644 (file)
                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>;