arm64: dts: imx8mm-beacon-kit: add DVDD-supply and DOVDD-supply
authorFrank Li <Frank.Li@nxp.com>
Mon, 19 Aug 2024 17:01:21 +0000 (13:01 -0400)
committerShawn Guo <shawnguo@kernel.org>
Wed, 4 Sep 2024 09:36:21 +0000 (17:36 +0800)
According to binding doc, DVDD-supply and DOVDD-supply is required
properties. Add these to fix below warning:
arch/arm64/boot/dts/freescale/imx8mm-beacon-kit.dtb: camera@10: 'DVDD-supply' is a required proper

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi
arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi

index 6086dae2e5fbef37e9a583860b6fa9af57970e76..ea1d5b9c6bae047eb0863d5f492fc49cb68aac9b 100644 (file)
                enable-gpios = <&pca6416_1 2 GPIO_ACTIVE_LOW>;
        };
 
+       reg_1v5: regulator-1v5 {
+               compatible = "regulator-fixed";
+               regulator-name = "1V5";
+               regulator-min-microvolt = <1500000>;
+               regulator-max-microvolt = <1500000>;
+       };
+
+       reg_1v8: regulator-1v8 {
+               compatible = "regulator-fixed";
+               regulator-name = "1V8";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+       };
+
        reg_audio: regulator-audio {
                compatible = "regulator-fixed";
                regulator-name = "3v3_aud";
                assigned-clock-parents = <&clk IMX8MM_CLK_24M>;
                assigned-clock-rates = <24000000>;
                AVDD-supply = <&reg_camera>;  /* 2.8v */
+               DVDD-supply = <&reg_1v5>;
+               DOVDD-supply = <&reg_1v8>;
                powerdown-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
                reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
 
index 20018ee2c803e334573cb5bf1015f5df0d1a0c9b..77d14ea459e57f740c722a5c65030d10cc85e84b 100644 (file)
                };
        };
 
+       reg_1v5: regulator-1v5 {
+               compatible = "regulator-fixed";
+               regulator-name = "1V5";
+               regulator-min-microvolt = <1500000>;
+               regulator-max-microvolt = <1500000>;
+       };
+
+       reg_1v8: regulator-1v8 {
+               compatible = "regulator-fixed";
+               regulator-name = "1V8";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+       };
+
        reg_audio: regulator-audio {
                compatible = "regulator-fixed";
                regulator-name = "3v3_aud";
                assigned-clock-parents = <&clk IMX8MN_CLK_24M>;
                assigned-clock-rates = <24000000>;
                AVDD-supply = <&reg_camera>;  /* 2.8v */
+               DVDD-supply = <&reg_1v5>;
+               DOVDD-supply = <&reg_1v8>;
                powerdown-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
                reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;