mach-ux500: make PRCMU base address dynamic
[deliverable/linux.git] / arch / arm / mach-ux500 / include / mach / prcmu.h
CommitLineData
e3726fcf
LW
1/*
2 * Copyright (C) STMicroelectronics 2009
3 * Copyright (C) ST-Ericsson SA 2010
4 *
e0befb23
MP
5 * Author: Kumar Sanghvi <kumar.sanghvi@stericsson.com>
6 * Author: Sundar Iyer <sundar.iyer@stericsson.com>
7 * Author: Mattias Nilsson <mattias.i.nilsson@stericsson.com>
8 *
e3726fcf
LW
9 * License Terms: GNU General Public License v2
10 *
e0befb23 11 * PRCM Unit f/w API
e3726fcf
LW
12 */
13#ifndef __MACH_PRCMU_H
14#define __MACH_PRCMU_H
e0befb23 15#include <mach/prcmu-defs.h>
e3726fcf 16
fcbd458e 17void __init prcmu_early_init(void);
e3726fcf
LW
18int prcmu_abb_read(u8 slave, u8 reg, u8 *value, u8 size);
19int prcmu_abb_write(u8 slave, u8 reg, u8 *value, u8 size);
e0befb23
MP
20int prcmu_set_ape_opp(enum prcmu_ape_opp opp);
21int prcmu_set_cpu_opp(enum prcmu_cpu_opp opp);
22int prcmu_set_ape_cpu_opps(enum prcmu_ape_opp ape_opp,
23 enum prcmu_cpu_opp cpu_opp);
24int prcmu_get_ape_opp(void);
25int prcmu_get_cpu_opp(void);
26bool prcmu_has_arm_maxopp(void);
e3726fcf
LW
27
28#endif /* __MACH_PRCMU_H */
This page took 0.073809 seconds and 5 git commands to generate.