devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: stm32: Add power-supply for RGB panel on stm32429i-eval
@ 2020-01-08 13:26 Benjamin Gaignard
  2020-01-08 13:26 ` [PATCH] ARM: dts: stm32: Add power-supply for DSI panel on stm32f469-disco Benjamin Gaignard
  2020-01-09  9:46 ` [PATCH] ARM: dts: stm32: Add power-supply for RGB panel on stm32429i-eval Alexandre Torgue
  0 siblings, 2 replies; 4+ messages in thread
From: Benjamin Gaignard @ 2020-01-08 13:26 UTC (permalink / raw)
  To: mcoquelin.stm32, alexandre.torgue, robh+dt, mark.rutland
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel,
	Benjamin Gaignard

Add a fixed regulator and use it as power supply for RBG panel.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
---
 arch/arm/boot/dts/stm32429i-eval.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts
index 58288aa53fee..c27fa355e5ab 100644
--- a/arch/arm/boot/dts/stm32429i-eval.dts
+++ b/arch/arm/boot/dts/stm32429i-eval.dts
@@ -95,6 +95,13 @@
 		regulator-max-microvolt = <3300000>;
 	};
 
+	vdd_panel: vdd-panel {
+		compatible = "regulator-fixed";
+		regulator-name = "vdd_panel";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+	};
+
 	leds {
 		compatible = "gpio-leds";
 		green {
@@ -138,6 +145,7 @@
 
 	panel_rgb: panel-rgb {
 		compatible = "ampire,am-480272h3tmqw-t01h";
+		power-supply = <&vdd_panel>;
 		status = "okay";
 		port {
 			panel_in_rgb: endpoint {
-- 
2.15.0


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

* [PATCH] ARM: dts: stm32: Add power-supply for DSI panel on stm32f469-disco
  2020-01-08 13:26 [PATCH] ARM: dts: stm32: Add power-supply for RGB panel on stm32429i-eval Benjamin Gaignard
@ 2020-01-08 13:26 ` Benjamin Gaignard
  2020-01-09  9:47   ` Alexandre Torgue
  2020-01-09  9:46 ` [PATCH] ARM: dts: stm32: Add power-supply for RGB panel on stm32429i-eval Alexandre Torgue
  1 sibling, 1 reply; 4+ messages in thread
From: Benjamin Gaignard @ 2020-01-08 13:26 UTC (permalink / raw)
  To: mcoquelin.stm32, alexandre.torgue, robh+dt, mark.rutland
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel,
	Benjamin Gaignard

Add a fixed regulator and use it as power supply for DSI panel.

Fixes: 18c8866266 ("ARM: dts: stm32: Add display support on stm32f469-disco")

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
---
 arch/arm/boot/dts/stm32f469-disco.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/stm32f469-disco.dts b/arch/arm/boot/dts/stm32f469-disco.dts
index f3ce477b7bae..4801565e19d7 100644
--- a/arch/arm/boot/dts/stm32f469-disco.dts
+++ b/arch/arm/boot/dts/stm32f469-disco.dts
@@ -76,6 +76,13 @@
 		regulator-max-microvolt = <3300000>;
 	};
 
+	vdd_dsi: vdd-dsi {
+		compatible = "regulator-fixed";
+		regulator-name = "vdd_dsi";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+	};
+
 	soc {
 		dma-ranges = <0xc0000000 0x0 0x10000000>;
 	};
@@ -155,6 +162,7 @@
 		compatible = "orisetech,otm8009a";
 		reg = <0>; /* dsi virtual channel (0..3) */
 		reset-gpios = <&gpioh 7 GPIO_ACTIVE_LOW>;
+		power-supply = <&vdd_dsi>;
 		status = "okay";
 
 		port {
-- 
2.15.0


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

* Re: [PATCH] ARM: dts: stm32: Add power-supply for RGB panel on stm32429i-eval
  2020-01-08 13:26 [PATCH] ARM: dts: stm32: Add power-supply for RGB panel on stm32429i-eval Benjamin Gaignard
  2020-01-08 13:26 ` [PATCH] ARM: dts: stm32: Add power-supply for DSI panel on stm32f469-disco Benjamin Gaignard
@ 2020-01-09  9:46 ` Alexandre Torgue
  1 sibling, 0 replies; 4+ messages in thread
From: Alexandre Torgue @ 2020-01-09  9:46 UTC (permalink / raw)
  To: Benjamin Gaignard, mcoquelin.stm32, robh+dt, mark.rutland
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel

Hi

On 1/8/20 2:26 PM, Benjamin Gaignard wrote:
> Add a fixed regulator and use it as power supply for RBG panel.
> 
> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
> ---
>   arch/arm/boot/dts/stm32429i-eval.dts | 8 ++++++++
>   1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts
> index 58288aa53fee..c27fa355e5ab 100644
> --- a/arch/arm/boot/dts/stm32429i-eval.dts
> +++ b/arch/arm/boot/dts/stm32429i-eval.dts
> @@ -95,6 +95,13 @@
>   		regulator-max-microvolt = <3300000>;
>   	};
>   
> +	vdd_panel: vdd-panel {
> +		compatible = "regulator-fixed";
> +		regulator-name = "vdd_panel";
> +		regulator-min-microvolt = <3300000>;
> +		regulator-max-microvolt = <3300000>;
> +	};
> +
>   	leds {
>   		compatible = "gpio-leds";
>   		green {
> @@ -138,6 +145,7 @@
>   
>   	panel_rgb: panel-rgb {
>   		compatible = "ampire,am-480272h3tmqw-t01h";
> +		power-supply = <&vdd_panel>;
>   		status = "okay";
>   		port {
>   			panel_in_rgb: endpoint {
> 

Applied on stm32-next.

Thanks
Alex

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

* Re: [PATCH] ARM: dts: stm32: Add power-supply for DSI panel on stm32f469-disco
  2020-01-08 13:26 ` [PATCH] ARM: dts: stm32: Add power-supply for DSI panel on stm32f469-disco Benjamin Gaignard
@ 2020-01-09  9:47   ` Alexandre Torgue
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Torgue @ 2020-01-09  9:47 UTC (permalink / raw)
  To: Benjamin Gaignard, mcoquelin.stm32, robh+dt, mark.rutland
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel

Hi

On 1/8/20 2:26 PM, Benjamin Gaignard wrote:
> Add a fixed regulator and use it as power supply for DSI panel.
> 
> Fixes: 18c8866266 ("ARM: dts: stm32: Add display support on stm32f469-disco")
> 
> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
> ---
>   arch/arm/boot/dts/stm32f469-disco.dts | 8 ++++++++
>   1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/stm32f469-disco.dts b/arch/arm/boot/dts/stm32f469-disco.dts
> index f3ce477b7bae..4801565e19d7 100644
> --- a/arch/arm/boot/dts/stm32f469-disco.dts
> +++ b/arch/arm/boot/dts/stm32f469-disco.dts
> @@ -76,6 +76,13 @@
>   		regulator-max-microvolt = <3300000>;
>   	};
>   
> +	vdd_dsi: vdd-dsi {
> +		compatible = "regulator-fixed";
> +		regulator-name = "vdd_dsi";
> +		regulator-min-microvolt = <3300000>;
> +		regulator-max-microvolt = <3300000>;
> +	};
> +
>   	soc {
>   		dma-ranges = <0xc0000000 0x0 0x10000000>;
>   	};
> @@ -155,6 +162,7 @@
>   		compatible = "orisetech,otm8009a";
>   		reg = <0>; /* dsi virtual channel (0..3) */
>   		reset-gpios = <&gpioh 7 GPIO_ACTIVE_LOW>;
> +		power-supply = <&vdd_dsi>;
>   		status = "okay";
>   
>   		port {
> 

Applied on stm32-next.

Thanks
Alex

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

end of thread, other threads:[~2020-01-09  9:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-08 13:26 [PATCH] ARM: dts: stm32: Add power-supply for RGB panel on stm32429i-eval Benjamin Gaignard
2020-01-08 13:26 ` [PATCH] ARM: dts: stm32: Add power-supply for DSI panel on stm32f469-disco Benjamin Gaignard
2020-01-09  9:47   ` Alexandre Torgue
2020-01-09  9:46 ` [PATCH] ARM: dts: stm32: Add power-supply for RGB panel on stm32429i-eval 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).