[PATCH] sandbox: power: register power device without a DT node

Sascha Hauer s.hauer at pengutronix.de
Tue Sep 29 00:43:39 PDT 2026


On Mon, 28 Sep 2026 12:41:45 +0200, Ahmad Fatoum wrote:
> Since the power driver probes from device tree, sandbox has no poweroff
> or restart handler when started with a --dtb that lacks a
> barebox,sandbox-power node.
> The poweroff and reset commands will then end up in hang(), which spins
> at 100% CPU until the process is killed.
> 
> Let's register the device ourselves when the device tree has no such
> node.
> 
> [...]

Applied, thanks!

[1/1] sandbox: power: register power device without a DT node
      https://git.pengutronix.de/cgit/barebox/commit/?id=4919a59ad2ec (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list