From: Peng Fan <peng.fan@oss.nxp.com>
To: alice.guo@oss.nxp.com
Cc: "NXP i.MX U-Boot Team" <uboot-imx@nxp.com>,
u-boot@lists.denx.de, "Christoph Stoidner" <c.stoidner@phytec.de>,
upstream@lists.phytec.de, "Stefano Babic" <sbabic@nabladev.com>,
"Fabio Estevam" <festevam@gmail.com>,
"Tom Rini" <trini@konsulko.com>, "Peng Fan" <peng.fan@nxp.com>,
"Francesco Dolcini" <francesco.dolcini@toradex.com>,
"Marek Vasut" <marek.vasut+renesas@mailbox.org>,
"Joseph Guo" <qijian.guo@nxp.com>,
"Francesco Valla" <francesco@valla.it>,
"Sumit Garg" <sumit.garg@oss.qualcomm.com>,
"Ye Li" <ye.li@nxp.com>, "Primoz Fiser" <primoz.fiser@norik.com>,
"Emanuele Ghidoli" <emanuele.ghidoli@toradex.com>,
"Frieder Schrempf" <frieder.schrempf@kontron.de>,
"Sam Protsenko" <semen.protsenko@linaro.org>,
"Tien Fong Chee" <tien.fong.chee@altera.com>,
"Svyatoslav Ryhel" <clamor95@gmail.com>,
"Andre Przywara" <andre.przywara@arm.com>,
"Ernest Van Hoecke" <ernest.vanhoecke@toradex.com>,
"Johan Jonker" <jbx6244@gmail.com>,
"Hai Pham" <hai.pham.ud@renesas.com>,
"David Lechner" <dlechner@baylibre.com>,
"Parth Pancholi" <parth.pancholi@toradex.com>,
"Paresh Bhagat" <p-bhagat@ti.com>, "Janne Grunau" <j@jannau.net>,
"Paul Kocialkowski" <contact@paulk.fr>,
"Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>,
"Mathieu Othacehe" <m.othacehe@gmail.com>,
"Brian Sune" <briansune@gmail.com>,
"Jérémie Dautheribes (Schneider Electric)"
<jeremie.dautheribes@bootlin.com>, "Jacky Bai" <ping.bai@nxp.com>,
"David Zang" <davidzangcs@gmail.com>,
"Quentin Schulz" <quentin.schulz@cherry.de>,
"Simon Glass" <sjg@chromium.org>,
"João Paulo Gonçalves" <joao.goncalves@toradex.com>,
"Fedor Ross" <fedor.ross@ifm.com>,
"Stefan Roese" <stefan.roese@mailbox.org>,
"Lukasz Majewski" <lukma@denx.de>,
"Max Krummenacher" <max.krummenacher@toradex.com>,
"Wadim Egorov" <w.egorov@phytec.de>,
"Martin Schwan" <m.schwan@phytec.de>,
"Simona Toaca" <simona.toaca@nxp.com>,
"Anshul Dalal" <anshuld@ti.com>,
"Franz Schnyder" <franz.schnyder@toradex.com>,
"Alice Guo" <alice.guo@nxp.com>
Subject: Re: [PATCH v4 7/8] watchdog: ulp_wdog: Use driver model for reset_cpu()
Date: Mon, 25 May 2026 14:13:47 +0800 [thread overview]
Message-ID: <ahPom6n2lF1mCgwe@shlinux89> (raw)
In-Reply-To: <20260519-wdtv4-v1-7-deef133b81cd@nxp.com>
On Tue, May 19, 2026 at 02:22:07PM +0800, alice.guo@oss.nxp.com wrote:
>From: Alice Guo <alice.guo@nxp.com>
>
>Replace hardcoded WDOG_BASE_ADDR with driver model based dynamic address
>lookup from device tree, allowing reset_cpu() to dynamically locate
>watchdog devices from device tree.
>
>This change also enables CONFIG_WDT for relevant boards and ensures the
>watchdog nodes are available for driver model usage.
>
>- Remove hardcoded WDOG_BASE_ADDR from hw_watchdog_* functions
>- Reimplement reset_cpu() using UCLASS_WDT device iteration
>- Add ulp_wdt_expire_now() callback for standard WDT interface
>- Pass wdog register pointer to hw_watchdog_set_timeout()
>- Enable CONFIG_WDT for boards using ULP watchdog
>- Remove wdog3 status = "disabled" overrides from U-Boot device tree
> overlays, as the watchdog device needs to be accessible for driver
> model based reset functionality.
>
>Signed-off-by: Alice Guo <alice.guo@nxp.com>
>Acked-by: Francesco Dolcini <francesco.dolcini@toradex.com> # Toradex boards
Reviewed-by: Peng Fan <peng.fan@nxp.com>
next prev parent reply other threads:[~2026-05-25 12:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-19 6:22 [PATCH v4 0/8] imx: Switch watchdog addressing from macros to devicetree alice.guo
2026-05-19 6:22 ` [PATCH v4 1/8] imx7ulp: Switch to OF_UPSTREAM alice.guo
2026-05-19 6:22 ` [PATCH v4 2/8] imx91: " alice.guo
2026-05-19 6:22 ` [PATCH v4 3/8] imx93-frdm: " alice.guo
2026-05-19 6:22 ` [PATCH v4 4/8] imx93_var_som: " alice.guo
2026-05-19 6:22 ` [PATCH v4 5/8] arm: dts: imx: Update watchdog nodes for dynamic base address lookup alice.guo
2026-05-19 6:22 ` [PATCH v4 6/8] imx: soc: Get watchdog base addresses from device tree alice.guo
2026-05-25 6:12 ` Peng Fan
2026-05-19 6:22 ` [PATCH v4 7/8] watchdog: ulp_wdog: Use driver model for reset_cpu() alice.guo
2026-05-25 6:13 ` Peng Fan [this message]
2026-05-19 6:22 ` [PATCH v4 8/8] imx: Remove hardcoded watchdog base address macros alice.guo
2026-05-25 6:14 ` Peng Fan
2026-06-04 5:49 ` 回复: [PATCH v4 0/8] imx: Switch watchdog addressing from macros to devicetree Alice Guo (OSS)
2026-06-04 20:29 ` Fabio Estevam
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=ahPom6n2lF1mCgwe@shlinux89 \
--to=peng.fan@oss.nxp.com \
--cc=alice.guo@nxp.com \
--cc=alice.guo@oss.nxp.com \
--cc=andre.przywara@arm.com \
--cc=anshuld@ti.com \
--cc=briansune@gmail.com \
--cc=c.stoidner@phytec.de \
--cc=clamor95@gmail.com \
--cc=contact@paulk.fr \
--cc=davidzangcs@gmail.com \
--cc=dlechner@baylibre.com \
--cc=emanuele.ghidoli@toradex.com \
--cc=ernest.vanhoecke@toradex.com \
--cc=fedor.ross@ifm.com \
--cc=festevam@gmail.com \
--cc=francesco.dolcini@toradex.com \
--cc=francesco@valla.it \
--cc=franz.schnyder@toradex.com \
--cc=frieder.schrempf@kontron.de \
--cc=hai.pham.ud@renesas.com \
--cc=j@jannau.net \
--cc=jbx6244@gmail.com \
--cc=jeremie.dautheribes@bootlin.com \
--cc=joao.goncalves@toradex.com \
--cc=lukma@denx.de \
--cc=m.othacehe@gmail.com \
--cc=m.schwan@phytec.de \
--cc=marek.vasut+renesas@mailbox.org \
--cc=mathieu.dubois-briand@bootlin.com \
--cc=max.krummenacher@toradex.com \
--cc=p-bhagat@ti.com \
--cc=parth.pancholi@toradex.com \
--cc=peng.fan@nxp.com \
--cc=ping.bai@nxp.com \
--cc=primoz.fiser@norik.com \
--cc=qijian.guo@nxp.com \
--cc=quentin.schulz@cherry.de \
--cc=sbabic@nabladev.com \
--cc=semen.protsenko@linaro.org \
--cc=simona.toaca@nxp.com \
--cc=sjg@chromium.org \
--cc=stefan.roese@mailbox.org \
--cc=sumit.garg@oss.qualcomm.com \
--cc=tien.fong.chee@altera.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=uboot-imx@nxp.com \
--cc=upstream@lists.phytec.de \
--cc=w.egorov@phytec.de \
--cc=ye.li@nxp.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 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.