Add power off functionality. Marked as RFC because of magic numbers
without a good source and strange delays. The only information source is
a vendor kernel.
Changes in v3:
- define for poweroff bit
- rmw operation to set only that bit
Changes in v2:
- style corrections
- remove unnecessary writes and delays
- correctly unregister handler
Andreas Kemnade (2):
dt-bindings: mfd: Add ROHM BD71828 system-power-controller property
mfd: rohm-bd71828: Add power off functionality
.../bindings/mfd/rohm,bd71828-pmic.yaml | 2 ++
drivers/mfd/rohm-bd71828.c | 36 ++++++++++++++++++-
include/linux/mfd/rohm-bd71828.h | 3 ++
3 files changed, 40 insertions(+), 1 deletion(-)
--
2.39.2
On Tue, 02 Apr 2024 13:16:58 +0200, Andreas Kemnade wrote:
> Add power off functionality. Marked as RFC because of magic numbers
> without a good source and strange delays. The only information source is
> a vendor kernel.
>
> Changes in v3:
> - define for poweroff bit
> - rmw operation to set only that bit
>
> [...]
Applied, thanks!
[1/2] dt-bindings: mfd: Add ROHM BD71828 system-power-controller property
commit: 6ed9be0f9a1481280429d24c60b7d20f3706e4dc
[2/2] mfd: rohm-bd71828: Add power off functionality
commit: d7ff3cc4d9cdc5880541bb2e04b1fa40307029f6
--
Lee Jones [李琼斯]