blob: 1e580273c6a6ce2a343fa70b4ffe6c5adf51597d [file] [log] [blame]
developer65014b82015-04-13 14:47:57 +08001/*
2 * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
3 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
developer65014b82015-04-13 14:47:57 +08005 */
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00006#ifndef MTCMOS_H
7#define MTCMOS_H
developer65014b82015-04-13 14:47:57 +08008
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 */
15void mtcmos_little_cpu_off(void);
developerb8925a22015-11-16 14:38:40 +080016uint32_t mtcmos_non_cpu_ctrl(uint32_t on, uint32_t mtcmos_num);
developer65014b82015-04-13 14:47:57 +080017
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000018#endif /* MTCMOS_H */