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

Alain Volmat posted 1 patch 2 years, 8 months ago
arch/arm/boot/dts/stm32mp157c-ev1.dts | 2 ++
1 file changed, 2 insertions(+)
[PATCH] ARM: dts: stm32: add required supplies of ov5640 in stm32mp157c-ev1
Posted by Alain Volmat 2 years, 8 months ago
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>;
-- 
2.25.1
Re: [PATCH] ARM: dts: stm32: add required supplies of ov5640 in stm32mp157c-ev1
Posted by Alexandre TORGUE 2 years, 8 months ago
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