[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1553854373-28946-1-git-send-email-yannick.fertre@st.com>
Date: Fri, 29 Mar 2019 11:12:53 +0100
From: Yannick Fertré <yannick.fertre@...com>
To: Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Benjamin Gaignard <benjamin.gaignard@...com>,
Yannick Fertre <yannick.fertre@...com>,
Philippe Cornu <philippe.cornu@...com>
Subject: [PATCH] ARM: dts: stm32: add power supply of rm68200 on stm32mp157c-ev1
This patch adds a new property (power-supply) to panel rm68200 (raydium)
on stm32mp157c-ev1.
Signed-off-by: Yannick Fertré <yannick.fertre@...com>
---
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
Powered by blists - more mailing lists