summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMark Kettenis <[email protected]>2022-01-22 20:38:17 +0100
committerTom Rini <[email protected]>2022-02-10 16:44:23 -0500
commit81fafbbeba3211ed60ac8aff41a2e1fcb9a40431 (patch)
tree1d1d044ec2f31c1a6d34660a0d2e6c9a392c31dc /arch
parentca99a17e02ab4f99b1455be349858d5a7aa7553c (diff)
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 <[email protected]> Reviewed-by: Simon Glass <[email protected]> Tested on: Macbook Air M1 Tested-by: Simon Glass <[email protected]> Reviewed-by: Jaehoon Chung <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index ce51d87ac06..5048d3d33c4 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -932,6 +932,7 @@ config ARCH_APPLE
select DM_GPIO
select DM_KEYBOARD
select DM_MAILBOX
+ select DM_RESET
select DM_SERIAL
select DM_USB
select DM_VIDEO