diff mbox series

ARM: dts: stm32: add power supply of rm68200 on stm32mp157c-ev1

Message ID 1553854373-28946-1-git-send-email-yannick.fertre@st.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: stm32: add power supply of rm68200 on stm32mp157c-ev1 | expand

Commit Message

Yannick FERTRE March 29, 2019, 10:12 a.m. UTC
This patch adds a new property (power-supply) to panel rm68200 (raydium)
on stm32mp157c-ev1.

Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
---
 arch/arm/boot/dts/stm32mp157c-ed1.dts | 8 ++++++++
 arch/arm/boot/dts/stm32mp157c-ev1.dts | 1 +
 2 files changed, 9 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
index 9fd7943..28d0809 100644
--- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
@@ -70,6 +70,14 @@ 
 		gpios-states = <0>;
 		states = <1800000 0x1 2900000 0x0>;
 	};
+
+	v3v3: v3v3 {
+		compatible = "regulator-fixed";
+		regulator-name = "v3v3";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		regulator-always-on;
+	};
 };
 
 &dts {
diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts
index b6aca40..cb3aeb2 100644
--- a/arch/arm/boot/dts/stm32mp157c-ev1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts
@@ -63,6 +63,7 @@ 
 		compatible = "raydium,rm68200";
 		reg = <0>;
 		reset-gpios = <&gpiof 15 GPIO_ACTIVE_LOW>;
+		power-supply = <&v3v3>;
 		backlight = <&panel_backlight>;
 		status = "okay";