developer | 65014b8 | 2015-04-13 14:47:57 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
dp-arm | fa3cf0b | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | * SPDX-License-Identifier: BSD-3-Clause |
developer | 65014b8 | 2015-04-13 14:47:57 +0800 | [diff] [blame] | 5 | */ |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 6 | #ifndef MTCMOS_H |
| 7 | #define MTCMOS_H |
developer | 65014b8 | 2015-04-13 14:47:57 +0800 | [diff] [blame] | 8 | |
| 9 | /* |
| 10 | * This function will turn off all the little core's power except cpu 0. The |
| 11 | * cores in cluster 0 are all powered when the system power on. The System |
| 12 | * Power Manager (SPM) will do nothing if it found the core's power was on |
| 13 | * during CPU_ON psci call. |
| 14 | */ |
| 15 | void mtcmos_little_cpu_off(void); |
developer | b8925a2 | 2015-11-16 14:38:40 +0800 | [diff] [blame] | 16 | uint32_t mtcmos_non_cpu_ctrl(uint32_t on, uint32_t mtcmos_num); |
developer | 65014b8 | 2015-04-13 14:47:57 +0800 | [diff] [blame] | 17 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 18 | #endif /* MTCMOS_H */ |