[PATCH 6/8] power: domain: apple: Add reset support

Simon Glass sjg at chromium.org
Sat Jan 22 02:40:23 CET 2022


Hi Mark,

On Fri, 14 Jan 2022 at 04:05, Mark Kettenis <kettenis at openbsd.org> wrote:
>
> 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 at openbsd.org>
> ---
>  arch/arm/Kconfig                  |  1 +
>  drivers/power/domain/apple-pmgr.c | 73 ++++++++++++++++++++++++++++++-
>  2 files changed, 73 insertions(+), 1 deletion(-)

This should use devicetree instead of device_bind() and be a reset
driver in drivers/reset

Regards,
Simon


More information about the U-Boot mailing list