n1sdp_pm.c 774 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2023, Arm Limited. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #include <lib/psci/psci.h>
  7. #include <plat/arm/common/plat_arm.h>
  8. #include <plat/arm/css/common/css_pm.h>
  9. #include "n1sdp_private.h"
  10. /*******************************************************************************
  11. * N1SDP specific function called when turning off a power domain. Additionally
  12. * disables the GIC redistributor interface as cores are disabled to
  13. * let cluster-PPU state transition to completion when a cluster is powered
  14. * down.
  15. ******************************************************************************/
  16. void n1sdp_pwr_domain_off(const psci_power_state_t *target_state)
  17. {
  18. css_pwr_domain_off(target_state);
  19. plat_arm_gic_redistif_off();
  20. }