power: reset: pwr-mlxbf: support graceful shutdown
authorAsmaa Mnebhi <asmaa@nvidia.com>
Tue, 11 Jun 2024 13:43:27 +0000 (09:43 -0400)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 27 Aug 2024 17:31:19 +0000 (19:31 +0200)
commit292fe42c34a9e9eea07f58a691813e077e9ca86f
treea5fc894c4a0879dba402ea0d094539199134678c
parent50f74b785059453b4f10fe53241c2f612ebf9028
power: reset: pwr-mlxbf: support graceful shutdown

The OCP board used a BlueField's GPIO pin for entering
low power mode. That board was not commercialized and
has been dropped from production so all its code is unused.
The new hardware requirement is to trigger a graceful shutdown
when that GPIO pin is toggled. So replace the unused low power
mode with a graceful shutdown.

Signed-off-by: Asmaa Mnebhi <asmaa@nvidia.com>
Reviewed-by: David Thompson <davthompson@nvidia.com>
Link: https://lore.kernel.org/r/20240611134327.30975-1-asmaa@nvidia.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/reset/pwr-mlxbf.c