On Mon, 29 Jul 2024 16:30:06 +0200, Ahmad Fatoum wrote: > Many SoCs feature multiple instances of the same watchdog IP. For > example, the i.MX8MP has three watchdogs, which would be called wdog0, > wdog1, wdog2 in barebox, but they would all have imxwd as restart > handler name. > > To be able to differentiate between them for restart purposes, add an > optional device member that's used as fallback when no exact restart > handler name was found. > > [...] Applied, thanks! [1/2] restart: allow selecting restart handler by device name https://git.pengutronix.de/cgit/barebox/commit/?id=06030d65998c (link may not be stable) [2/2] watchdog: imxwd: populate device pointer when registering restart handler https://git.pengutronix.de/cgit/barebox/commit/?id=da2ebe937655 (link may not be stable) Best regards, -- Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>