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 58288aa..c27fa35 100644 (file)
                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 {
 
        panel_rgb: panel-rgb {
                compatible = "ampire,am-480272h3tmqw-t01h";
+               power-supply = <&vdd_panel>;
                status = "okay";
                port {
                        panel_in_rgb: endpoint {