blob: aefd997262e4dabdabe2d6c88723455180e01f56 [file] [log] [blame]
Zhiwu Song684f7412011-08-30 19:20:34 -07001/*
2 * RTC I/O Bridge interfaces for CSR SiRFprimaII
3 * ARM access the registers of SYSRTC, GPSRTC and PWRC through this module
4 *
5 * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
6 *
7 * Licensed under GPLv2 or later.
8 */
9#ifndef _SIRFSOC_RTC_IOBRG_H_
10#define _SIRFSOC_RTC_IOBRG_H_
11
Guo Zengb1999472015-04-14 11:55:55 +000012struct regmap_config;
13
Zhiwu Song684f7412011-08-30 19:20:34 -070014extern void sirfsoc_rtc_iobrg_besyncing(void);
15
16extern u32 sirfsoc_rtc_iobrg_readl(u32 addr);
17
18extern void sirfsoc_rtc_iobrg_writel(u32 val, u32 addr);
Guo Zengb1999472015-04-14 11:55:55 +000019struct regmap *devm_regmap_init_iobg(struct device *dev,
20 const struct regmap_config *config);
Zhiwu Song684f7412011-08-30 19:20:34 -070021
22#endif