xref: /arm-trusted-firmware/plat/mediatek/mt8173/drivers/mtcmos/mtcmos.h (revision 91f16700b400a8c0651d24a598fc48ee2997a0d7)
1*91f16700Schasinglulu /*
2*91f16700Schasinglulu  * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
3*91f16700Schasinglulu  *
4*91f16700Schasinglulu  * SPDX-License-Identifier: BSD-3-Clause
5*91f16700Schasinglulu  */
6*91f16700Schasinglulu #ifndef MTCMOS_H
7*91f16700Schasinglulu #define MTCMOS_H
8*91f16700Schasinglulu 
9*91f16700Schasinglulu /*
10*91f16700Schasinglulu  * This function will turn off all the little core's power except cpu 0. The
11*91f16700Schasinglulu  * cores in cluster 0 are all powered when the system power on. The System
12*91f16700Schasinglulu  * Power Manager (SPM) will do nothing if it found the core's power was on
13*91f16700Schasinglulu  * during CPU_ON psci call.
14*91f16700Schasinglulu  */
15*91f16700Schasinglulu void mtcmos_little_cpu_off(void);
16*91f16700Schasinglulu uint32_t mtcmos_non_cpu_ctrl(uint32_t on, uint32_t mtcmos_num);
17*91f16700Schasinglulu 
18*91f16700Schasinglulu #endif /* MTCMOS_H */
19