Commit 8deb080f authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo

arm64: dts: imx8mn-evk: Describe the OV5640 supplies

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: default avatarFabio Estevam <festevam@denx.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent d157e889
......@@ -122,3 +122,9 @@ hdmi@3d {
v1p2-supply = <&buck5>;
};
};
&i2c3 {
camera@3c {
DOVDD-supply = <&buck5>;
};
};
......@@ -168,3 +168,9 @@ hdmi@3d {
v1p2-supply = <&buck5_reg>;
};
};
&i2c3 {
camera@3c {
DOVDD-supply = <&buck5_reg>;
};
};
......@@ -135,3 +135,9 @@ hdmi@3d {
v1p2-supply = <&buck5>;
};
};
&i2c3 {
camera@3c {
DOVDD-supply = <&buck5>;
};
};
......@@ -52,6 +52,20 @@ reg_usdhc2_vmmc: regulator-usdhc2 {
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";
......@@ -287,6 +301,8 @@ camera@3c {
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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment