Message ID | 20200108132647.26131-2-benjamin.gaignard@st.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 0ff15a86d0c5a3f004fee2e92d65b88e56a3bc58 |
Headers | show |
Series | ARM: dts: stm32: Add power-supply for DSI panel on stm32f469-disco | expand |
Hi On 1/8/20 2:26 PM, Benjamin Gaignard wrote: > Add a fixed regulator and use it as power supply for DSI panel. > > Fixes: 18c8866266 ("ARM: dts: stm32: Add display support on stm32f469-disco") > > Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com> > --- > arch/arm/boot/dts/stm32f469-disco.dts | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm/boot/dts/stm32f469-disco.dts b/arch/arm/boot/dts/stm32f469-disco.dts > index f3ce477b7bae..4801565e19d7 100644 > --- a/arch/arm/boot/dts/stm32f469-disco.dts > +++ b/arch/arm/boot/dts/stm32f469-disco.dts > @@ -76,6 +76,13 @@ > regulator-max-microvolt = <3300000>; > }; > > + vdd_dsi: vdd-dsi { > + compatible = "regulator-fixed"; > + regulator-name = "vdd_dsi"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + }; > + > soc { > dma-ranges = <0xc0000000 0x0 0x10000000>; > }; > @@ -155,6 +162,7 @@ > compatible = "orisetech,otm8009a"; > reg = <0>; /* dsi virtual channel (0..3) */ > reset-gpios = <&gpioh 7 GPIO_ACTIVE_LOW>; > + power-supply = <&vdd_dsi>; > status = "okay"; > > port { > Applied on stm32-next. Thanks Alex
diff --git a/arch/arm/boot/dts/stm32f469-disco.dts b/arch/arm/boot/dts/stm32f469-disco.dts index f3ce477b7bae..4801565e19d7 100644 --- a/arch/arm/boot/dts/stm32f469-disco.dts +++ b/arch/arm/boot/dts/stm32f469-disco.dts @@ -76,6 +76,13 @@ regulator-max-microvolt = <3300000>; }; + vdd_dsi: vdd-dsi { + compatible = "regulator-fixed"; + regulator-name = "vdd_dsi"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + soc { dma-ranges = <0xc0000000 0x0 0x10000000>; }; @@ -155,6 +162,7 @@ compatible = "orisetech,otm8009a"; reg = <0>; /* dsi virtual channel (0..3) */ reset-gpios = <&gpioh 7 GPIO_ACTIVE_LOW>; + power-supply = <&vdd_dsi>; status = "okay"; port {
Add a fixed regulator and use it as power supply for DSI panel. Fixes: 18c8866266 ("ARM: dts: stm32: Add display support on stm32f469-disco") Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com> --- arch/arm/boot/dts/stm32f469-disco.dts | 8 ++++++++ 1 file changed, 8 insertions(+)