ARM: dts: stm32: add required supplies of ov5640 in stm32mp157c-ev1

Message ID 20230601065222.2594700-1-alain.volmat@foss.st.com
State New
Headers
Series ARM: dts: stm32: add required supplies of ov5640 in stm32mp157c-ev1 |

Commit Message

Alain Volmat June 1, 2023, 6:52 a.m. UTC
  Correct the following warnings by adding the required supplies (AVDD, DVDD)
for the ov5640 node.

arch/arm/boot/dts/stm32mp157c-ev1.dtb: camera@3c: 'AVDD-supply' is a required property
From schema: Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml
arch/arm/boot/dts/stm32mp157c-ev1.dtb: camera@3c: 'DVDD-supply' is a required property
From schema: Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
---
 arch/arm/boot/dts/stm32mp157c-ev1.dts | 2 ++
 1 file changed, 2 insertions(+)
  

Comments

Alexandre TORGUE June 2, 2023, 12:20 p.m. UTC | #1
Hi Alain

On 6/1/23 08:52, Alain Volmat wrote:
> Correct the following warnings by adding the required supplies (AVDD, DVDD)
> for the ov5640 node.
> 
> arch/arm/boot/dts/stm32mp157c-ev1.dtb: camera@3c: 'AVDD-supply' is a required property
>  From schema: Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml
> arch/arm/boot/dts/stm32mp157c-ev1.dtb: camera@3c: 'DVDD-supply' is a required property
>  From schema: Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml
> 
> Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
> ---
>   arch/arm/boot/dts/stm32mp157c-ev1.dts | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts
> index ba8e9d9a42fa..f27d6dcb6651 100644
> --- a/arch/arm/boot/dts/stm32mp157c-ev1.dts
> +++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts
> @@ -185,7 +185,9 @@ ov5640: camera@3c {
>   		reg = <0x3c>;
>   		clocks = <&clk_ext_camera>;
>   		clock-names = "xclk";
> +		AVDD-supply = <&v2v8>;
>   		DOVDD-supply = <&v2v8>;
> +		DVDD-supply = <&v2v8>;
>   		powerdown-gpios = <&stmfx_pinctrl 18 (GPIO_ACTIVE_HIGH | GPIO_PUSH_PULL)>;
>   		reset-gpios = <&stmfx_pinctrl 19 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>;
>   		rotation = <180>;

Applied on stm32-next.

Thanks.
Alex
  

Patch

diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts
index ba8e9d9a42fa..f27d6dcb6651 100644
--- a/arch/arm/boot/dts/stm32mp157c-ev1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts
@@ -185,7 +185,9 @@  ov5640: camera@3c {
 		reg = <0x3c>;
 		clocks = <&clk_ext_camera>;
 		clock-names = "xclk";
+		AVDD-supply = <&v2v8>;
 		DOVDD-supply = <&v2v8>;
+		DVDD-supply = <&v2v8>;
 		powerdown-gpios = <&stmfx_pinctrl 18 (GPIO_ACTIVE_HIGH | GPIO_PUSH_PULL)>;
 		reset-gpios = <&stmfx_pinctrl 19 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>;
 		rotation = <180>;