Re: [PATCH 1/2] dt-bindings: reset: syscon-reboot: support reset modes

From: André Draszik
Date: Wed Feb 26 2025 - 10:50:26 EST


On Wed, 2025-02-26 at 09:29 -0600, Rob Herring (Arm) wrote:
>
> On Wed, 26 Feb 2025 14:08:20 +0000, André Draszik wrote:
> > Add support for specifying different register/mask/value combinations
> > for different types of reset.
> >
> > In particular, update the binding to allow platforms to specify the
> > following reset modes: soft, warm, cold, hard.
> >
> > Linux can perform different types of reset using its reboot= kernel
> > command line argument, and some platforms also wish to reset
> > differently based on whether or not e.g. contents of RAM should be
> > retained across the reboot.
> >
> > The new properties match the existing properties, just prefixed with
> > one of the reset modes mentioned above.
> >
> > Signed-off-by: André Draszik <andre.draszik@xxxxxxxxxx>
> > ---
> >  .../bindings/power/reset/syscon-reboot.yaml        | 74 ++++++++++++++++++++++
> >  1 file changed, 74 insertions(+)
> >
>
> My bot found errors running 'make dt_binding_check' on your patch:

oops, sorry - the script we usually run didn't cover this binding,
I've updated things and will send a v2.

Cheers,
Andre'