firmware: ti_sci: Unconditionally register reset handler
authorAndrew Davis <afd@ti.com>
Tue, 26 Mar 2024 22:37:28 +0000 (17:37 -0500)
committerNishanth Menon <nm@ti.com>
Tue, 9 Apr 2024 16:05:10 +0000 (11:05 -0500)
commit8c8ff39838e02b6df91b80e086426dcb9ac86908
tree8babe2e24d073faa499d83fa4fdc87c4cf95f1c4
parentc0e5a431442d7bbfbd3704212680e49faa8ee46c
firmware: ti_sci: Unconditionally register reset handler

There was once a limitation that there could only be one system
reset handler. Due to that we only would register this handler
when a non-standard device tree property was found, else we left
the default handler in place (usually PSCI). Now that we can
have multiple handlers, and TI-SCI reset is always available
in the firmware, register this handler unconditionally.

This priority is left at the default so higher priority handlers
(like PSCI) are still attempted first.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Markus Schneider-Pargmann <msp@baylibre.com>
Link: https://lore.kernel.org/r/20240326223730.54639-3-afd@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
drivers/firmware/ti_sci.c