This series teaches syscon-reboot some of Linux' different reboot modes. Linux supports a couple different reboot modes, but syscon-reboot doesn't distinguish between them and issues the same syscon register write irrespective of the reboot mode requested by the kernel. This is a problem when platforms want to do a cold reboot most of the time, which could e.g. wipe RAM etc, but also want to support rebooting while keeping RAM contents in certain cases. DTs can now specify the existing properties prefixed with one of the Linux reboot modes. All the changes to support this are optional and opt-in, platforms that don't, or don't specify a register/value/mask pair for a specific mode will behave just as before. Signed-off-by: André Draszik <andre.draszik@xxxxxxxxxx> --- André Draszik (2): dt-bindings: reset: syscon-reboot: support reset modes power: reset: syscon-reboot: support different reset modes .../bindings/power/reset/syscon-reboot.yaml | 74 ++++++++++++++++++ drivers/power/reset/syscon-reboot.c | 88 +++++++++++++++++++--- 2 files changed, 151 insertions(+), 11 deletions(-) --- base-commit: 0226d0ce98a477937ed295fb7df4cc30b46fc304 change-id: 20250226-syscon-reboot-reset-mode-566588b847e1 Best regards, -- André Draszik <andre.draszik@xxxxxxxxxx>