diff options
author | Fabio Estevam <festevam@denx.de> | 2024-04-03 16:31:24 -0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2024-04-22 12:01:54 +0800 |
commit | 8deb080fc9924eb7e1d0b517391be5a5c91da420 (patch) | |
tree | b36a4be3acb6d5b9ee8396eac90ecb21e1d80273 | |
parent | d157e889846e9482d198b975f69ecd43990c4b12 (diff) | |
download | linux-8deb080fc9924eb7e1d0b517391be5a5c91da420.tar.gz linux-8deb080fc9924eb7e1d0b517391be5a5c91da420.tar.bz2 linux-8deb080fc9924eb7e1d0b517391be5a5c91da420.zip |
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: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mn-ddr3l-evk.dts | 6 | ||||
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts | 6 | ||||
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mn-evk.dts | 6 | ||||
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 16 |
4 files changed, 34 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-ddr3l-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-ddr3l-evk.dts index 9ebd81e7eb7c..d25032e3ceab 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-ddr3l-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mn-ddr3l-evk.dts @@ -122,3 +122,9 @@ v1p2-supply = <&buck5>; }; }; + +&i2c3 { + camera@3c { + DOVDD-supply = <&buck5>; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts index 1a4ac39ebde8..6d85a0b052c9 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts @@ -168,3 +168,9 @@ v1p2-supply = <&buck5_reg>; }; }; + +&i2c3 { + camera@3c { + DOVDD-supply = <&buck5_reg>; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts index 6f7f409c4181..41330210a05f 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts @@ -135,3 +135,9 @@ v1p2-supply = <&buck5>; }; }; + +&i2c3 { + camera@3c { + DOVDD-supply = <&buck5>; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index b65e5c583805..9e0259ddf4bc 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi @@ -52,6 +52,20 @@ 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 @@ assigned-clock-rates = <24000000>; powerdown-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; + AVDD-supply = <®_1v8>; + DVDD-supply = <®_1v5>; port { ov5640_to_mipi_csi2: endpoint { |