2 * Copyright (C) ST-Ericsson SA 2010
4 * License Terms: GNU General Public License v2
8 #ifndef __MACH_PRCMU_U5500_H
9 #define __MACH_PRCMU_U5500_H
11 #ifdef CONFIG_UX500_SOC_DB5500
13 void db5500_prcmu_early_init(void);
15 int db5500_prcmu_abb_read(u8 slave
, u8 reg
, u8
*value
, u8 size
);
16 int db5500_prcmu_abb_write(u8 slave
, u8 reg
, u8
*value
, u8 size
);
18 #else /* !CONFIG_UX500_SOC_DB5500 */
20 static inline void db5500_prcmu_early_init(void)
24 static inline int db5500_prcmu_abb_read(u8 slave
, u8 reg
, u8
*value
, u8 size
)
29 static inline int db5500_prcmu_abb_write(u8 slave
, u8 reg
, u8
*value
, u8 size
)
34 #endif /* CONFIG_UX500_SOC_DB5500 */
36 static inline int db5500_prcmu_config_abb_event_readout(u32 abb_events
)
38 #ifdef CONFIG_MACH_U5500_SIMULATOR
45 #endif /* __MACH_PRCMU_U5500_H */