arm64: dts: imx8mn-evk: Describe the OV5640 supplies
authorFabio Estevam <festevam@denx.de>
Wed, 3 Apr 2024 19:31:24 +0000 (16:31 -0300)
committerShawn Guo <shawnguo@kernel.org>
Mon, 22 Apr 2024 04:01:54 +0000 (12:01 +0800)
Per ovti,ov5640.yaml, the OV5640 power supplies are mandatory
properties.

Describe them to fix dt-schema warnings.

As there are two different PMICs used on the imx8mn-evk variants,
describe the DOVDD OV5640 power supply in each board devicetree.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mn-ddr3l-evk.dts
arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts
arch/arm64/boot/dts/freescale/imx8mn-evk.dts
arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi

index 9ebd81e7eb7c8806af9b478db65b4f0d5cf7c4aa..d25032e3ceabaa2919b7ce587d59b059c881170b 100644 (file)
                v1p2-supply = <&buck5>;
        };
 };
+
+&i2c3 {
+       camera@3c {
+               DOVDD-supply = <&buck5>;
+       };
+};
index 1a4ac39ebde81ca1da746e0a0693704b6f267e74..6d85a0b052c9f5668bc8e7b486e5d0e369af3763 100644 (file)
                v1p2-supply = <&buck5_reg>;
        };
 };
+
+&i2c3 {
+       camera@3c {
+               DOVDD-supply = <&buck5_reg>;
+       };
+};
index 6f7f409c41818d9b2e7455f3c0c13da946c007be..41330210a05fcfa5fa326c1a3fbde9bf3953ce7c 100644 (file)
                v1p2-supply = <&buck5>;
        };
 };
+
+&i2c3 {
+       camera@3c {
+               DOVDD-supply = <&buck5>;
+       };
+};
index b65e5c5838058063be4f77f31f3204d318564db9..9e0259ddf4bca36966010bbcee0d7b06400e1c59 100644 (file)
                enable-active-high;
        };
 
+       reg_1v5: regulator-1v5 {
+               compatible = "regulator-fixed";
+               regulator-name = "VDD_1V5";
+               regulator-min-microvolt = <1500000>;
+               regulator-max-microvolt = <1500000>;
+       };
+
+       reg_1v8: regulator-1v8 {
+               compatible = "regulator-fixed";
+               regulator-name = "VDD_1V8";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+       };
+
        reg_vddext_3v3: regulator-vddext-3v3 {
                compatible = "regulator-fixed";
                regulator-name = "VDDEXT_3V3";
                assigned-clock-rates = <24000000>;
                powerdown-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
                reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
+               AVDD-supply = <&reg_1v8>;
+               DVDD-supply = <&reg_1v5>;
 
                port {
                        ov5640_to_mipi_csi2: endpoint {