blob: 6e14e3db548cad6bb63863378211036c2b35087f [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 */
6#ifndef __MTCMOS_H__
7#define __MTCMOS_H__
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 */
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
18#endif /* __MTCMOS_H__ */