[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201211151445.115943-1-michael@fossekall.de>
Date: Fri, 11 Dec 2020 16:14:42 +0100
From: Michael Klein <michael@...sekall.de>
To: Sebastian Reichel <sre@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Maxime Ripard <mripard@...nel.org>,
Chen-Yu Tsai <wens@...e.org>,
Jernej Skrabec <jernej.skrabec@...l.net>,
Michael Klein <michael@...sekall.de>
Cc: linux-pm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: [PATCH v5 0/3] BPi M2 Zero poweroff support via new regulator-poweroff driver
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
Powered by blists - more mailing lists