Re: [PATCH v21 07/13] power: reset: Add psci-reboot-mode driver

From: Shivendra Pratap

Date: Tue Apr 28 2026 - 08:35:47 EST




On 28-04-2026 13:26, Bartosz Golaszewski wrote:
[SNIP..]

+
+ return psci_reboot_mode_add_predefined_mode(dev, reboot, &psci_resets[1]);
Looking at this, I'd introduce a core reboot-mode helper for initializing the
predefined_modes field and adding an array of modes and use it here and earlier
in the series.

sure. thanks for review. Will expose a call from reboot-mode to init/add predefined_modes.

thanks,
Shivendra