From: Bin Meng <bin.meng@processmission.com>
To: QEMU <qemu-devel@nongnu.org>
Cc: Jean-Christophe Dubois <jcd@tribudubois.net>,
Peter Maydell <peter.maydell@linaro.org>,
qemu-arm@nongnu.org
Subject: [PATCH v2 02/10] hw/misc: imx6ul_ccm: Update PMU_MISC0 reset value
Date: Sat, 5 Sep 2026 00:14:25 +0800 [thread overview]
Message-ID: <20260904161438.3838261-3-bin.meng@processmission.com> (raw)
In-Reply-To: <20260904161438.3838261-1-bin.meng@processmission.com>
Commit 56a11a9b7580 ("hw/misc: imx6_ccm: Update PMU_MISC0 reset value")
updated the i.MX6 CCM model so U-Boot sees PMU_MISC0[REFTOP_VBGUP]
set after reset. The i.MX6UL CCM model still returns this bit clear,
causing U-Boot init_bandgap() to wait for a state that the model
never reaches.
Apply the same reset behavior to the i.MX6UL CCM model so U-Boot
can observe that the bandgap has stabilized.
Signed-off-by: Bin Meng <bin.meng@processmission.com>
---
(no changes since v1)
hw/misc/imx6ul_ccm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/misc/imx6ul_ccm.c b/hw/misc/imx6ul_ccm.c
index c4f6e372fe..4accbcbeed 100644
--- a/hw/misc/imx6ul_ccm.c
+++ b/hw/misc/imx6ul_ccm.c
@@ -592,7 +592,7 @@ static void imx6ul_ccm_reset(DeviceState *dev)
s->analog[PMU_REG_3P0] = 0x00000F74;
s->analog[PMU_REG_2P5] = 0x00001073;
s->analog[PMU_REG_CORE] = 0x00482012;
- s->analog[PMU_MISC0] = 0x04000000;
+ s->analog[PMU_MISC0] = 0x04000080;
s->analog[PMU_MISC1] = 0x00000000;
s->analog[PMU_MISC2] = 0x00272727;
s->analog[PMU_LOWPWR_CTRL] = 0x00004009;
--
2.53.0
next prev parent reply other threads:[~2026-09-04 16:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-04 16:14 [PATCH v2 00/10] hw/arm: Enable U-Boot boot on MCIMX6UL-EVK Bin Meng
2026-09-04 16:14 ` [PATCH v2 01/10] hw/arm: fsl-imx6ul: Add SCU compatibility window Bin Meng
2026-09-14 9:19 ` Peter Maydell
2026-09-04 16:14 ` Bin Meng [this message]
2026-09-04 16:14 ` [PATCH v2 03/10] hw/arm: fsl-imx6ul: Map early firmware register placeholders Bin Meng
2026-09-04 16:14 ` [PATCH v2 04/10] hw/arm: fsl-imx6ul: Add a minimal MMDC geometry model Bin Meng
2026-09-04 16:14 ` [PATCH v2 09/10] docs/system/arm: Document MCIMX6UL-EVK Buildroot boot Bin Meng
2026-09-04 16:14 ` [PATCH v2 10/10] tests/functional/arm: Add MCIMX6UL-EVK boot tests Bin Meng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260904161438.3838261-3-bin.meng@processmission.com \
--to=bin.meng@processmission.com \
--cc=jcd@tribudubois.net \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).