devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: stm32: add required supplies of ov5640 in stm32mp157c-ev1
@ 2023-06-01  6:52 Alain Volmat
  2023-06-02 12:20 ` Alexandre TORGUE
  0 siblings, 1 reply; 2+ messages in thread
From: Alain Volmat @ 2023-06-01  6:52 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: linux-media, Alain Volmat, devicetree, linux-stm32,
	linux-arm-kernel, linux-kernel

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: stm32: add required supplies of ov5640 in stm32mp157c-ev1
  2023-06-01  6:52 [PATCH] ARM: dts: stm32: add required supplies of ov5640 in stm32mp157c-ev1 Alain Volmat
@ 2023-06-02 12:20 ` Alexandre TORGUE
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre TORGUE @ 2023-06-02 12:20 UTC (permalink / raw)
  To: Alain Volmat, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Maxime Coquelin
  Cc: linux-media, devicetree, linux-stm32, linux-arm-kernel,
	linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-02 12:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-01  6:52 [PATCH] ARM: dts: stm32: add required supplies of ov5640 in stm32mp157c-ev1 Alain Volmat
2023-06-02 12:20 ` Alexandre TORGUE

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).