xref: /rk3399_ARM-atf/plat/arm/board/morello/morello_pm.c (revision 139a5d05219e915687057527504f689281744736)
102a5bcb0SWerner Lewis /*
2*c5c54e20SBoyan Karatotev  * Copyright (c) 2023-2025, Arm Limited. All rights reserved.
302a5bcb0SWerner Lewis  *
402a5bcb0SWerner Lewis  * SPDX-License-Identifier: BSD-3-Clause
502a5bcb0SWerner Lewis  */
602a5bcb0SWerner Lewis 
702a5bcb0SWerner Lewis #include <lib/psci/psci.h>
802a5bcb0SWerner Lewis #include <plat/arm/common/plat_arm.h>
902a5bcb0SWerner Lewis #include <plat/arm/css/common/css_pm.h>
1002a5bcb0SWerner Lewis 
1102a5bcb0SWerner Lewis #include "morello_private.h"
1202a5bcb0SWerner Lewis 
1302a5bcb0SWerner Lewis /*******************************************************************************
14d5ca76fcSsahil  * Morello specific function called when turning off a power domain.
15d5ca76fcSsahil  * Additionally disables the GIC redistributor interface as cores are disabled
16d5ca76fcSsahil  * to let cluster-PPU state transition to completion when a cluster is
17d5ca76fcSsahil  * powered down.
1802a5bcb0SWerner Lewis  ******************************************************************************/
morello_pwr_domain_off(const psci_power_state_t * target_state)1902a5bcb0SWerner Lewis void morello_pwr_domain_off(const psci_power_state_t *target_state)
2002a5bcb0SWerner Lewis {
2102a5bcb0SWerner Lewis 	css_pwr_domain_off(target_state);
2202a5bcb0SWerner Lewis }
23