diff mbox series

[v2,12/12] arm64: dts: imx8mm-beacon-kit: add DVDD-supply and DOVDD-supply

Message ID 20240819-imx_warning-v2-12-4c428bd11160@nxp.com (mailing list archive)
State In Next, archived
Headers show
Series arm64: dts: imx: 3rd dtb warning clearn up | expand

Commit Message

Frank Li Aug. 19, 2024, 5:01 p.m. UTC
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>
---
 .../boot/dts/freescale/imx8mm-beacon-baseboard.dtsi      | 16 ++++++++++++++++
 .../boot/dts/freescale/imx8mn-beacon-baseboard.dtsi      | 16 ++++++++++++++++
 2 files changed, 32 insertions(+)

Comments

Fabio Estevam Aug. 19, 2024, 5:23 p.m. UTC | #1
Adding Adam.

On Mon, Aug 19, 2024 at 2:03 PM Frank Li <Frank.Li@nxp.com> wrote:
>
> 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>
> ---
>  .../boot/dts/freescale/imx8mm-beacon-baseboard.dtsi      | 16 ++++++++++++++++
>  .../boot/dts/freescale/imx8mn-beacon-baseboard.dtsi      | 16 ++++++++++++++++
>  2 files changed, 32 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi
> index 6086dae2e5fbe..ea1d5b9c6bae0 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi
> @@ -56,6 +56,20 @@ pcie0_refclk_gated:  pcie0-refclk-gated {
>                 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";
> @@ -187,6 +201,8 @@ camera@10 {
>                 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>;
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi
> index 20018ee2c803e..77d14ea459e57 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi
> @@ -40,6 +40,20 @@ led-3 {
>                 };
>         };
>
> +       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";
> @@ -158,6 +172,8 @@ camera@10 {
>                 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>;
>
>
> --
> 2.34.1
>
Adam Ford Aug. 19, 2024, 5:56 p.m. UTC | #2
On Mon, Aug 19, 2024 at 12:24 PM Fabio Estevam <festevam@gmail.com> wrote:
>
> Adding Adam.
>
> On Mon, Aug 19, 2024 at 2:03 PM Frank Li <Frank.Li@nxp.com> wrote:
> >
> > 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>

Thanks for doing that!



Reviewed-by:  Adam Ford <aford173@gmail.com>

> > ---
> >  .../boot/dts/freescale/imx8mm-beacon-baseboard.dtsi      | 16 ++++++++++++++++
> >  .../boot/dts/freescale/imx8mn-beacon-baseboard.dtsi      | 16 ++++++++++++++++
> >  2 files changed, 32 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi
> > index 6086dae2e5fbe..ea1d5b9c6bae0 100644
> > --- a/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi
> > @@ -56,6 +56,20 @@ pcie0_refclk_gated:  pcie0-refclk-gated {
> >                 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";
> > @@ -187,6 +201,8 @@ camera@10 {
> >                 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>;
> >
> > diff --git a/arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi
> > index 20018ee2c803e..77d14ea459e57 100644
> > --- a/arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi
> > @@ -40,6 +40,20 @@ led-3 {
> >                 };
> >         };
> >
> > +       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";
> > @@ -158,6 +172,8 @@ camera@10 {
> >                 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>;
> >
> >
> > --
> > 2.34.1
> >
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi
index 6086dae2e5fbe..ea1d5b9c6bae0 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi
@@ -56,6 +56,20 @@  pcie0_refclk_gated:  pcie0-refclk-gated {
 		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";
@@ -187,6 +201,8 @@  camera@10 {
 		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>;
 
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi
index 20018ee2c803e..77d14ea459e57 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi
@@ -40,6 +40,20 @@  led-3 {
 		};
 	};
 
+	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";
@@ -158,6 +172,8 @@  camera@10 {
 		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>;