[PATCH v3 0/3] BPi M2 Zero poweroff support via new regulator-poweroff driver

Michael Klein
2020-12-07T14:29:36Z

Changes in v2:
- rename DT node

Changes in v3:
- add regulator-poweroff driver
- use regulator-poweroff driver instead of gpio-poweroff

Michael Klein (3):
power: reset: new driver regulator-poweroff
Documentation: DT: binding documentation for regulator-poweroff
ARM: dts: sun8i-h2-plus-bananapi-m2-zero: add poweroff node

.../power/reset/regulator-poweroff.yaml | 53 +++++++++
.../dts/sun8i-h2-plus-bananapi-m2-zero.dts | 7 ++
drivers/power/reset/Kconfig | 7 ++
drivers/power/reset/Makefile | 1 +
drivers/power/reset/regulator-poweroff.c | 107 ++++++++++++++++++
5 files changed, 175 insertions(+)
create mode 100644 Documentation/devicetree/bindings/power/reset/regulator-poweroff.yaml
create mode 100644 drivers/power/reset/regulator-poweroff.c

--
2.29.2