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

From: Yannick FertrÃ
Date: Fri Mar 29 2019 - 06:14:01 EST


This patch adds a new property (power-supply) to panel rm68200 (raydium)
on stm32mp157c-ev1.

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

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";

--
2.7.4