diff options
author | Mark Kettenis <kettenis@openbsd.org> | 2022-01-22 22:38:17 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-02-11 00:44:23 +0300 |
commit | 81fafbbeba3211ed60ac8aff41a2e1fcb9a40431 (patch) | |
tree | 1d1d044ec2f31c1a6d34660a0d2e6c9a392c31dc /arch | |
parent | ca99a17e02ab4f99b1455be349858d5a7aa7553c (diff) | |
download | u-boot-81fafbbeba3211ed60ac8aff41a2e1fcb9a40431.tar.xz |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index ce51d87ac0..5048d3d33c 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 |