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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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      | 86 +++++++++++++++++++
 5 files changed, 136 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/power/reset/regulator-poweroff.yaml
 create mode 100644 drivers/power/reset/regulator-poweroff.c

-- 
2.29.2




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux