Re: [RFC PATCH v1 1/7] dt-bindings: power: reset: add generic PSCR binding trackers

From: Oleksij Rempel
Date: Fri Jan 19 2024 - 12:54:43 EST


On Fri, Jan 19, 2024 at 11:28:38AM -0600, Rob Herring wrote:
> On Fri, Jan 19, 2024 at 02:25:15PM +0100, Oleksij Rempel wrote:
> > Add binding for Power State Change Reason (PSCR) subsystem
>
> Why?
>
> How is this different from the reboot reason binding?

I was not able to find "reboot reason", you probably refer to "reboot
mode".

Reboot Mode:
Purpose: Dictates how the system should reboot (e.g., normal, recovery,
bootloader).
Usage: Provides instructions for the next boot mode.
Scenario: Utilized in planned reboots or software-triggered reset scenarios.

PSCR (Power State Change Reasons):
Purpose: Logs the reason behind a power state change (e.g., voltage drop,
over-temperature).
Usage: Used for rapid logging and post-event analysis, potentially informing
automatic decision-making in subsequent boots.
Scenario: Critical in abrupt power-down situations where immediate, detailed
decision-making is not possible.

Regards,
Oleksij
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |