power: reset: add Odroid Go Ultra poweroff driver
authorNeil Armstrong <neil.armstrong@linaro.org>
Tue, 14 Feb 2023 16:41:18 +0000 (17:41 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 14 Feb 2023 22:02:39 +0000 (23:02 +0100)
commitcec3b46b8bda0cdc93d3ab2bdd14aae5d30ecfd9
tree5ae1bfc9bae17b7ce26de097dec27391904cfd6a
parent469bb6093f8e963aab3b1836dc9eb86135c14163
power: reset: add Odroid Go Ultra poweroff driver

The Hardkernel Odroid Go Ultra poweroff scheme requires requesting a poweroff
to its two PMICs in order, this represents the poweroff scheme needed to complete
a clean poweroff of the system.

This implement this scheme by implementing a self registering driver to permit
using probe defer until both pmics are finally probed.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/reset/Kconfig
drivers/power/reset/Makefile
drivers/power/reset/odroid-go-ultra-poweroff.c [new file with mode: 0644]