[PATCH 0/2] This patch introduces a feature to force gpio-poweroff module

From: Oleksandr Suvorov
Date: Mon Sep 30 2019 - 06:35:42 EST


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.


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 | 27 ++++++++++++++-----
2 files changed, 24 insertions(+), 6 deletions(-)

--
2.20.1