aboutsummaryrefslogtreecommitdiff
path: root/plat/mediatek/mt8173/drivers/mtcmos/mtcmos.h
blob: 6e14e3db548cad6bb63863378211036c2b35087f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */
#ifndef __MTCMOS_H__
#define __MTCMOS_H__

/*
 * This function will turn off all the little core's power except cpu 0. The
 * cores in cluster 0 are all powered when the system power on. The System
 * Power Manager (SPM) will do nothing if it found the core's power was on
 * during CPU_ON psci call.
 */
void mtcmos_little_cpu_off(void);
uint32_t mtcmos_non_cpu_ctrl(uint32_t on, uint32_t mtcmos_num);

#endif /* __MTCMOS_H__ */