Skip to contentSkip to conversation

ARM: dts: stm32: Add power-supply for RGB panel on stm32429i-eval

PATCH In review Benjamin Gaignard 2 participants 4 messages Jan 8, 2020 – Jan 9, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: stm32: Add power-supply for RGB panel on stm32429i-eval

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

---
 arch/arm/boot/dts/stm32429i-eval.dts | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm/boot/dts/stm32429i-eval.dts +8 -0
index 58288aa53fee..c27fa355e5ab 100644
@@ -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 {
Signature · 1 line
2.15.0
#1 lore raw

PATCH 1/1 ARM: dts: stm32: Add power-supply for DSI panel on stm32f469-disco

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

Fixes 18c8866266 ("ARM: dts: stm32: Add display support on stm32f469-disco")
---
 arch/arm/boot/dts/stm32f469-disco.dts | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm/boot/dts/stm32f469-disco.dts +8 -0
index f3ce477b7bae..4801565e19d7 100644
@@ -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 {
Signature · 1 line
2.15.0
#2 lore raw

Re: [PATCH] ARM: dts: stm32: Add power-supply for DSI panel on stm32f469-disco

Hi

Quoted 29 lines · 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")
---
  arch/arm/boot/dts/stm32f469-disco.dts | 8 ++++++++
  1 file changed, 8 insertions(+)
arch/arm/boot/dts/stm32f469-disco.dts +7 -0
index f3ce477b7bae..4801565e19d7 100644
@@ -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>;
  	};

arch/arm/boot/dts/stm32f469-disco.dts line 168

Quoted 7 lines
arch/arm/boot/dts/stm32f469-disco.dts +1 -0
@@ -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

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#3 lore raw
In reply to Benjamin Gaignard

Hi

Quoted 27 lines · Benjamin Gaignard

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

---
  arch/arm/boot/dts/stm32429i-eval.dts | 8 ++++++++
  1 file changed, 8 insertions(+)
arch/arm/boot/dts/stm32429i-eval.dts +7 -0
index 58288aa53fee..c27fa355e5ab 100644
@@ -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 {

arch/arm/boot/dts/stm32429i-eval.dts line 151

Quoted 7 lines
arch/arm/boot/dts/stm32429i-eval.dts +1 -0
@@ -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