[PATCH v2 0/2] 'force-mode' for gpio-poweroff driver
From: Oleksandr Suvorov
Date: Mon Sep 30 2019 - 10:12:56 EST
This patch introduces a feature to force gpio-poweroff module
to register its own pm_power_off handler even if someone has registered
this handler earlier.
Useful to change a way to power off the system using DT files.
Changes in v2:
Call next pm_power_off handler if the current one
fails to power system off.
Oleksandr Suvorov (2):
power: reset: gpio-poweroff: add force mode
dt-bindings: power: reset: gpio-poweroff: Add 'force-mode' property
.../bindings/power/reset/gpio-poweroff.txt | 3 ++
drivers/power/reset/gpio-poweroff.c | 34 +++++++++++++++----
2 files changed, 31 insertions(+), 6 deletions(-)
--
2.20.1