]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: stm32: Add power-supply for RGB panel on stm32429i-eval
authorBenjamin Gaignard <benjamin.gaignard@st.com>
Wed, 8 Jan 2020 13:26:46 +0000 (14:26 +0100)
committerAlexandre Torgue <alexandre.torgue@st.com>
Thu, 9 Jan 2020 11:29:28 +0000 (12:29 +0100)
Add a fixed regulator and use it as power supply for RBG panel.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32429i-eval.dts

index 58288aa53feee94b4053d50cf87f6a22426ad15b..c27fa355e5ab6e8748301892dcd3b8052b86480f 100644 (file)
@@ -95,6 +95,13 @@ vref: regulator-vref {
                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 @@ usbotg_hs_phy: usbphy {
 
        panel_rgb: panel-rgb {
                compatible = "ampire,am-480272h3tmqw-t01h";
+               power-supply = <&vdd_panel>;
                status = "okay";
                port {
                        panel_in_rgb: endpoint {