]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: imx8mp-venice: add vddl and vana for sensor@10
authorFrank Li <Frank.Li@nxp.com>
Mon, 19 Aug 2024 17:01:18 +0000 (13:01 -0400)
committerShawn Guo <shawnguo@kernel.org>
Wed, 4 Sep 2024 09:36:21 +0000 (17:36 +0800)
Add vddl and vana for sensor@10 to fix below warning:
arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-imx219.dtb:
sensor@10: 'VANA-supply' is a required property

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-imx219.dtso
arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-imx219.dtso
arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx-imx219.dtso

index 4eaf8aabcbfff92afab96367063088fcc814e64a..c09aa80d2ba23beda3f1c622aaf42db064f2ff6d 100644 (file)
 &{/} {
        compatible = "gw,imx8mm-gw72xx-0x", "fsl,imx8mm";
 
+       reg_vana: regulator-2p8v {
+               compatible = "regulator-fixed";
+               regulator-name = "2P8V";
+               regulator-min-microvolt = <2800000>;
+               regulator-max-microvolt = <2800000>;
+       };
+
+       reg_vddl: regulator-1p2v {
+               compatible = "regulator-fixed";
+               regulator-name = "1P2V";
+               regulator-min-microvolt = <1200000>;
+               regulator-max-microvolt = <1200000>;
+       };
+
        reg_cam: regulator-cam {
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_reg_cam>;
@@ -45,6 +59,8 @@
                reg = <0x10>;
                clocks = <&cam24m>;
                VDIG-supply = <&reg_cam>;
+               VANA-supply = <&reg_vana>;
+               VDDL-supply = <&reg_vddl>;
 
                port {
                        /* MIPI CSI-2 bus endpoint */
index f3ece4b7fbbded54ccd68e43f66a449d7e1e4a7c..cfc014eb038d695476dee57dcd749c2b3aec16ce 100644 (file)
 &{/} {
        compatible = "gw,imx8mm-gw73xx-0x", "fsl,imx8mm";
 
+       reg_vana: regulator-2p8v {
+               compatible = "regulator-fixed";
+               regulator-name = "2P8V";
+               regulator-min-microvolt = <2800000>;
+               regulator-max-microvolt = <2800000>;
+       };
+
+       reg_vddl: regulator-1p2v {
+               compatible = "regulator-fixed";
+               regulator-name = "1P2V";
+               regulator-min-microvolt = <1200000>;
+               regulator-max-microvolt = <1200000>;
+       };
+
        reg_cam: regulator-cam {
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_reg_cam>;
@@ -45,6 +59,8 @@
                reg = <0x10>;
                clocks = <&cam24m>;
                VDIG-supply = <&reg_cam>;
+               VANA-supply = <&reg_vana>;
+               VDDL-supply = <&reg_vddl>;
 
                port {
                        /* MIPI CSI-2 bus endpoint */
index eb673a947484ac7bc6293da5ec6d0b1abaae27db..7d9fcdee58a7ff6f0d8cb2d945cb34099d9d6245 100644 (file)
 /plugin/;
 
 &{/} {
+       reg_vana: regulator-2p8v {
+               compatible = "regulator-fixed";
+               regulator-name = "2P8V";
+               regulator-min-microvolt = <2800000>;
+               regulator-max-microvolt = <2800000>;
+       };
+
+       reg_vddl: regulator-1p2v {
+               compatible = "regulator-fixed";
+               regulator-name = "1P2V";
+               regulator-min-microvolt = <1200000>;
+               regulator-max-microvolt = <1200000>;
+       };
+
        reg_cam: regulator-cam {
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_reg_cam>;
@@ -39,6 +53,8 @@
                reg = <0x10>;
                clocks = <&cam24m>;
                VDIG-supply = <&reg_cam>;
+               VANA-supply = <&reg_vana>;
+               VDDL-supply = <&reg_vddl>;
 
                port {
                        /* MIPI CSI-2 bus endpoint */