U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
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>,
	"Marek Vasut" <marek.vasut+renesas@mailbox.org>,
	"Joseph Guo" <qijian.guo@nxp.com>,
	"Sumit Garg" <sumit.garg@oss.qualcomm.com>,
	"Francesco Valla" <francesco@valla.it>, "Ye Li" <ye.li@nxp.com>,
	"Primoz Fiser" <primoz.fiser@norik.com>,
	"Jacky Bai" <ping.bai@nxp.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>,
	"Brian Sune" <briansune@gmail.com>,
	"Johan Jonker" <jbx6244@gmail.com>,
	"Hai Pham" <hai.pham.ud@renesas.com>,
	"David Lechner" <dlechner@baylibre.com>,
	"Emanuele Ghidoli" <emanuele.ghidoli@toradex.com>,
	"Parth Pancholi" <parth.pancholi@toradex.com>,
	"Ion Agorria" <ion@agorria.com>,
	"Paul Kocialkowski" <contact@paulk.fr>,
	"Ernest Van Hoecke" <ernest.vanhoecke@toradex.com>,
	"Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>,
	"Mathieu Othacehe" <m.othacehe@gmail.com>,
	"David Zang" <davidzangcs@gmail.com>,
	"Simon Glass" <sjg@chromium.org>,
	"João Paulo Gonçalves" <joao.goncalves@toradex.com>,
	"Sébastien Szymanski" <sebastien.szymanski@armadeus.com>,
	"Jérémie Dautheribes (Schneider Electric)"
	<jeremie.dautheribes@bootlin.com>,
	"Stefan Roese" <stefan.roese@mailbox.org>,
	"Francesco Dolcini" <francesco.dolcini@toradex.com>,
	"Lukasz Majewski" <lukma@denx.de>,
	"Max Krummenacher" <max.krummenacher@toradex.com>,
	"Wadim Egorov" <w.egorov@phytec.de>,
	"Martin Schwan" <m.schwan@phytec.de>,
	"Tim Harvey" <tharvey@gateworks.com>,
	"Simona Toaca" <simona.toaca@nxp.com>,
	"Franz Schnyder" <franz.schnyder@toradex.com>,
	"Alice Guo" <alice.guo@nxp.com>
Subject: Re: [PATCH v3 7/9] watchdog: ulp_wdog: Use driver model for reset_cpu()
Date: Wed, 13 May 2026 16:52:38 +0800	[thread overview]
Message-ID: <agQ71g1bV8Obvput@shlinux89> (raw)
In-Reply-To: <20260512-wdt-v1-7-0b9e1993557b@nxp.com>

On Tue, May 12, 2026 at 11:10:14AM +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.
>
>- 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()

In theory, patch 9 shoud be merge with this patch to avoid git bisect issues.
or switch to uclass_wdt step by step.

Because without patch 9, reset_cpu will not work if people are doing git bisect.

Or I may miss something.

Regards
Peng

  reply	other threads:[~2026-05-13 12:35 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-12  3:10 [PATCH v3 0/9] imx: Switch watchdog addressing from macros to devicetree alice.guo
2026-05-12  3:10 ` [PATCH v3 1/9] imx7ulp: Switch to OF_UPSTREAM alice.guo
2026-05-13  8:37   ` Peng Fan
2026-05-12  3:10 ` [PATCH v3 2/9] imx91: " alice.guo
2026-05-13  8:38   ` Peng Fan
2026-05-12  3:10 ` [PATCH v3 3/9] imx93-frdm: " alice.guo
2026-05-13  8:39   ` Peng Fan
2026-05-12  3:10 ` [PATCH v3 4/9] imx93_var_som: " alice.guo
2026-05-12  3:10 ` [PATCH v3 5/9] imx: soc: Get watchdog base addresses from device tree alice.guo
2026-05-13  8:36   ` Peng Fan
2026-05-12  3:10 ` [PATCH v3 6/9] arm: dts: imx: Update watchdog nodes for dynamic base address lookup alice.guo
2026-05-13  8:43   ` Peng Fan
2026-05-12  3:10 ` [PATCH v3 7/9] watchdog: ulp_wdog: Use driver model for reset_cpu() alice.guo
2026-05-13  8:52   ` Peng Fan [this message]
2026-05-13  8:51     ` Peng Fan (OSS)
2026-05-12  3:10 ` [PATCH v3 8/9] arm: dts: imx: Enable watchdog driver model support alice.guo
2026-05-12  8:06   ` Francesco Dolcini
2026-05-12  3:10 ` [PATCH v3 9/9] imx: Remove hardcoded watchdog base address macros alice.guo

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=agQ71g1bV8Obvput@shlinux89 \
    --to=peng.fan@oss.nxp.com \
    --cc=alice.guo@nxp.com \
    --cc=alice.guo@oss.nxp.com \
    --cc=andre.przywara@arm.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=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=ion@agorria.com \
    --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=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=sbabic@nabladev.com \
    --cc=sebastien.szymanski@armadeus.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=tharvey@gateworks.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox