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

Describe them to fix dt-schema warnings.

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

index ff128d25cab933581ccd83e27d6b179dd2bf00f9..90d1901df2b1d1f80c400bb3e7d974fc61b42ed2 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>;
+               DOVDD-supply = <&buck5_reg>;
+               AVDD-supply = <&reg_1v8>;
+               DVDD-supply = <&reg_1v5>;
 
                port {
                        ov5640_to_mipi_csi2: endpoint {