]> git.dujemihanovic.xyz Git - u-boot.git/commit
power: domain: apple: Add reset support
authorMark Kettenis <kettenis@openbsd.org>
Sat, 22 Jan 2022 19:38:17 +0000 (20:38 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 10 Feb 2022 21:44:23 +0000 (16:44 -0500)
commit81fafbbeba3211ed60ac8aff41a2e1fcb9a40431
tree1d1d044ec2f31c1a6d34660a0d2e6c9a392c31dc
parentca99a17e02ab4f99b1455be349858d5a7aa7553c
power: domain: apple: Add reset support

The power management controller found on Apple SoCs als provides
a way to reset all devices within a power domain. This is needed
to cleanly shutdown the NVMe controller before we hand over
control to the OS.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested on: Macbook Air M1
Tested-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
arch/arm/Kconfig
drivers/power/domain/apple-pmgr.c