All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] imx8mp_evk: Fix the ND mode VDD_SOC voltage
@ 2026-04-28  9:05 Ye Li
  2026-04-29  2:26 ` Peng Fan
  0 siblings, 1 reply; 2+ messages in thread
From: Ye Li @ 2026-04-28  9:05 UTC (permalink / raw)
  To: festevam, u-boot; +Cc: peng.fan, uboot-imx, ping.bai, ye.li

From: Jacky Bai <ping.bai@nxp.com>

The 'CONFIG_IS_ENBLAED' check only works when there is a
CONFIG_SPL_IMX8M_VDD_SOC_850MV config a option is defined and enabled.
So use the 'IS_ENABLED' macro instead to fix the ND mode VDD_SOC voltage.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
---
 board/nxp/imx8mp_evk/spl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/nxp/imx8mp_evk/spl.c b/board/nxp/imx8mp_evk/spl.c
index 27cd82e745a..cd7d79b382d 100644
--- a/board/nxp/imx8mp_evk/spl.c
+++ b/board/nxp/imx8mp_evk/spl.c
@@ -65,7 +65,7 @@ int power_init_board(void)
 	 * Enable DVS control through PMIC_STBY_REQ and
 	 * set B1_ENMODE=1 (ON by PMIC_ON_REQ=H)
 	 */
-	if (CONFIG_IS_ENABLED(IMX8M_VDD_SOC_850MV))
+	if (IS_ENABLED(CONFIG_IMX8M_VDD_SOC_850MV))
 		pmic_reg_write(dev, PCA9450_BUCK1OUT_DVS0, 0x14);
 	else
 		pmic_reg_write(dev, PCA9450_BUCK1OUT_DVS0, 0x1C);
-- 
2.37.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] imx8mp_evk: Fix the ND mode VDD_SOC voltage
  2026-04-28  9:05 [PATCH] imx8mp_evk: Fix the ND mode VDD_SOC voltage Ye Li
@ 2026-04-29  2:26 ` Peng Fan
  0 siblings, 0 replies; 2+ messages in thread
From: Peng Fan @ 2026-04-29  2:26 UTC (permalink / raw)
  To: Ye Li; +Cc: festevam, u-boot, peng.fan, uboot-imx, ping.bai, ye.li

On Tue, Apr 28, 2026 at 05:05:17PM +0800, Ye Li wrote:
>From: Jacky Bai <ping.bai@nxp.com>
>
>The 'CONFIG_IS_ENBLAED' check only works when there is a
>CONFIG_SPL_IMX8M_VDD_SOC_850MV config a option is defined and enabled.
>So use the 'IS_ENABLED' macro instead to fix the ND mode VDD_SOC voltage.
>
>Signed-off-by: Jacky Bai <ping.bai@nxp.com>
>Signed-off-by: Ye Li <ye.li@nxp.com>

Reviewed-by: Peng Fan <peng.fan@nxp.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-29  2:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-28  9:05 [PATCH] imx8mp_evk: Fix the ND mode VDD_SOC voltage Ye Li
2026-04-29  2:26 ` Peng Fan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.