diff mbox series

configs: stm32: Enable CONFIG_DM_REGULATOR for stm32f769-disco

Message ID 20220824134440.1091826-1-patrice.chotard@foss.st.com
State Accepted
Commit 78e7cda76aba824e35df7162020d0ccc3ef06e88
Delegated to: Patrick Delaunay
Headers show
Series configs: stm32: Enable CONFIG_DM_REGULATOR for stm32f769-disco | expand

Commit Message

Patrice CHOTARD Aug. 24, 2022, 1:44 p.m. UTC
Since commit 5bc6f8c2a97e("video: stm32: remove test on CONFIG_DM_REGULATOR")
backlight was broken with the following message at boot:
stm32-display-dsi dsi@40016c00: Warning: cannot get phy dsi supply
stm32_display display-controller@40016800: panel panel enable backlight error -38

DM_REGULATOR flag must be enabled to fix this issue

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---

 configs/stm32f769-disco_defconfig     | 1 +
 configs/stm32f769-disco_spl_defconfig | 1 +
 2 files changed, 2 insertions(+)

Comments

Patrick Delaunay Aug. 30, 2022, 8:57 a.m. UTC | #1
Hi,

On 8/24/22 15:44, Patrice Chotard wrote:
> Since commit 5bc6f8c2a97e("video: stm32: remove test on CONFIG_DM_REGULATOR")
> backlight was broken with the following message at boot:
> stm32-display-dsi dsi@40016c00: Warning: cannot get phy dsi supply
> stm32_display display-controller@40016800: panel panel enable backlight error -38
>
> DM_REGULATOR flag must be enabled to fix this issue
>
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
> ---
>
>   configs/stm32f769-disco_defconfig     | 1 +
>   configs/stm32f769-disco_spl_defconfig | 1 +
>   2 files changed, 2 insertions(+)
>

Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>

Thanks
Patrick
Patrick Delaunay Sept. 7, 2022, 1:33 p.m. UTC | #2
Hi,

On 8/24/22 15:44, Patrice Chotard wrote:
> Since commit 5bc6f8c2a97e("video: stm32: remove test on CONFIG_DM_REGULATOR")
> backlight was broken with the following message at boot:
> stm32-display-dsi dsi@40016c00: Warning: cannot get phy dsi supply
> stm32_display display-controller@40016800: panel panel enable backlight error -38
>
> DM_REGULATOR flag must be enabled to fix this issue
>
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
> ---
>
>   configs/stm32f769-disco_defconfig     | 1 +
>   configs/stm32f769-disco_spl_defconfig | 1 +
>   2 files changed, 2 insertions(+)
>

Applied to u-boot-stm/master, thanks!

Regards
Patrick
diff mbox series

Patch

diff --git a/configs/stm32f769-disco_defconfig b/configs/stm32f769-disco_defconfig
index c177bd8c73..c316ec7344 100644
--- a/configs/stm32f769-disco_defconfig
+++ b/configs/stm32f769-disco_defconfig
@@ -51,6 +51,7 @@  CONFIG_ETH_DESIGNWARE=y
 CONFIG_DW_ALTDESCRIPTOR=y
 CONFIG_MII=y
 # CONFIG_PINCTRL_FULL is not set
+CONFIG_DM_REGULATOR=y
 CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_STM32_QSPI=y
diff --git a/configs/stm32f769-disco_spl_defconfig b/configs/stm32f769-disco_spl_defconfig
index 7515574dfb..3c1563f140 100644
--- a/configs/stm32f769-disco_spl_defconfig
+++ b/configs/stm32f769-disco_spl_defconfig
@@ -72,6 +72,7 @@  CONFIG_ETH_DESIGNWARE=y
 CONFIG_DW_ALTDESCRIPTOR=y
 CONFIG_MII=y
 # CONFIG_PINCTRL_FULL is not set
+CONFIG_DM_REGULATOR=y
 CONFIG_SPL_PINCTRL=y
 CONFIG_SPL_RAM=y
 CONFIG_SPECIFY_CONSOLE_INDEX=y