From: Yao Zi <me@ziyao.cc>
To: Zhuxu Ran <zhuxu_ran@zohomail.com>, u-boot@lists.u-boot-project.org
Cc: Yao Zi <me@ziyao.cc>, Tom Rini <trini@konsulko.com>,
Johan Jonker <jbx6244@gmail.com>,
Alexander Koch <akoch@initse.com>,
Kongyang Liu <seashell11234455@gmail.com>,
Hiago De Franco <hfranco@baylibre.com>,
Thomas Bonnefille <thomas.bonnefille@bootlin.com>,
Quentin Schulz <quentin.schulz@cherry.de>,
Peter Robinson <pbrobinson@gmail.com>,
Leo Yu-Chi Liang <leo.liang@sifive.com>,
Casey Connolly <casey.connolly@linaro.org>,
Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>,
Sumit Garg <sumit.garg@oss.qualcomm.com>,
Heiko Stuebner <heiko@sntech.de>,
Marek Vasut <marek.vasut+renesas@mailbox.org>,
Marek Vasut <marex@nabladev.com>,
Ilias Apalodimas <ilias.apalodimas@linaro.org>
Subject: Re: [PATCH v4 0/3] rtc: cv1800b: Use the RTC node for time and system reset
Date: Fri, 9 Oct 2026 02:38:23 +0000 [thread overview]
Message-ID: <ashTn86KV_tfQS8w@pie> (raw)
In-Reply-To: <20261008-cv18xx-rtc-sysreset-v4-0-62cebd76d440@zohomail.com>
On Thu, Oct 08, 2026 at 07:30:45PM +0800, Zhuxu Ran wrote:
> The CV1800B RTC subsystem contains a seconds counter and system reset
> controls in a shared register range. U-Boot currently binds the system
> reset driver from Milk-V Duo board code and accesses fixed MMIO addresses.
> The upstream devicetrees describe this subsystem with an RTC node, but
> U-Boot has no driver matching that node.
>
> Add an RTC driver for the seconds counter, bind the existing system reset
> driver as its child, and obtain the reset register range from the shared
> devicetree node. Keep the existing reset requests unchanged, including
> the warm-reset sequence currently used for SYSRESET_COLD.
>
> This series depends on the CV18xx upstream-devicetree conversion sent
> as v5.
>
> Tested on Milk-V Duo, Milk-V Duo 256M and LicheeRV Nano.
>
> Signed-off-by: Zhuxu Ran <zhuxu_ran@zohomail.com>
I'll prefer to keep constant names in PATCH 3 unchanged if possible, to
keep the diff minimal and easier for bisecting, but this version is
acceptable.
For the series,
Reviewed-by: Yao Zi <me@ziyao.cc>
Thanks,
Yao Zi
prev parent reply other threads:[~2026-10-09 2:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-08 11:30 [PATCH v4 0/3] rtc: cv1800b: Use the RTC node for time and system reset Zhuxu Ran
2026-10-08 11:30 ` [PATCH v4 1/3] rtc: cv1800b: Add seconds counter support Zhuxu Ran
2026-10-08 11:30 ` [PATCH v4 2/3] riscv: sophgo: Enable RTC-backed system reset Zhuxu Ran
2026-10-08 11:30 ` [PATCH v4 3/3] sysreset: cv1800b: Use the RTC device node for register access Zhuxu Ran
2026-10-09 2:38 ` Yao Zi [this message]
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=ashTn86KV_tfQS8w@pie \
--to=me@ziyao.cc \
--cc=akoch@initse.com \
--cc=casey.connolly@linaro.org \
--cc=heiko@sntech.de \
--cc=hfranco@baylibre.com \
--cc=ilias.apalodimas@linaro.org \
--cc=jbx6244@gmail.com \
--cc=leo.liang@sifive.com \
--cc=marek.vasut+renesas@mailbox.org \
--cc=marex@nabladev.com \
--cc=pbrobinson@gmail.com \
--cc=quentin.schulz@cherry.de \
--cc=seashell11234455@gmail.com \
--cc=sumit.garg@oss.qualcomm.com \
--cc=thomas.bonnefille@bootlin.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.u-boot-project.org \
--cc=varadarajan.narayanan@oss.qualcomm.com \
--cc=zhuxu_ran@zohomail.com \
/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