]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: imx8: add vdd-supply and vddio-supply for fsl,mpl3115
authorFrank Li <Frank.Li@nxp.com>
Wed, 22 Oct 2025 20:43:21 +0000 (16:43 -0400)
committerShawn Guo <shawnguo@kernel.org>
Tue, 11 Nov 2025 07:31:52 +0000 (15:31 +0800)
Add vdd-supply and vddio-supply for fsl,mpl3115 to fix CHECK_DTBS warning:
arch/arm64/boot/dts/freescale/imx8qm-mek.dtb: pressure-sensor@60 (fsl,mpl3115): 'vdd-supply' is a required property
  from schema $id: http://devicetree.org/schemas/iio/pressure/fsl,mpl3115.yaml#

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8qm-mek.dts
arch/arm64/boot/dts/freescale/imx8qxp-mek.dts

index 202d5c67ac40b844ee38e8fb0f9caf2e186cfa9f..6a75ec612684e1e8e36346cdfdcc3d8ef490ace3 100644 (file)
                regulator-max-microvolt = <2800000>;
        };
 
+       reg_3v3: regulator-3v3 {
+               compatible = "regulator-fixed";
+               regulator-name = "3v3";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+       };
+
        reg_usdhc2_vmmc: usdhc2-vmmc {
                compatible = "regulator-fixed";
                regulator-name = "SD1_SPWR";
        pressure-sensor@60 {
                compatible = "fsl,mpl3115";
                reg = <0x60>;
+               vdd-supply = <&reg_3v3>;
+               vddio-supply = <&reg_3v3>;
        };
 
        max7322: gpio@68 {
index 7b033744554105de6dbc4366f21e3c90f1768deb..f19350536bc919e31b539e0d63fbb8514040dfad 100644 (file)
                regulator-max-microvolt = <2800000>;
        };
 
+       reg_3v3: regulator-3v3 {
+               compatible = "regulator-fixed";
+               regulator-name = "3v3";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+       };
+
        reg_pcieb: regulator-pcie {
                compatible = "regulator-fixed";
                regulator-max-microvolt = <3300000>;
                        pressure-sensor@60 {
                                compatible = "fsl,mpl3115";
                                reg = <0x60>;
+                               vdd-supply = <&reg_3v3>;
+                               vddio-supply = <&reg_3v3>;
                        };
                };