[PATCH v5 0/3] BPi M2 Zero poweroff support via new regulator-poweroff driver
Michael Klein
michael at fossekall.de
Fri Dec 11 10:14:42 EST 2020
Changes in v2:
- rename DT node
Changes in v3:
- add regulator-poweroff driver
- use regulator-poweroff driver instead of gpio-poweroff
Changes in v4:
- hardcode poweroff timeout to 3000ms, not configurable any more
- remove support for multiple regulators
- fix Documentation issues
Changes in v5:
- rename DT property 'power-supply' -> 'cpu-supply'
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 | 37 +++++++++
.../dts/sun8i-h2-plus-bananapi-m2-zero.dts | 5 ++
drivers/power/reset/Kconfig | 7 ++
drivers/power/reset/Makefile | 1 +
drivers/power/reset/regulator-poweroff.c | 82 +++++++++++++++++++
5 files changed, 132 insertions(+)
create mode 100644 Documentation/devicetree/bindings/power/reset/regulator-poweroff.yaml
create mode 100644 drivers/power/reset/regulator-poweroff.c
--
2.29.2
More information about the linux-arm-kernel
mailing list