2 * RTC I/O Bridge interfaces for CSR SiRFprimaII
3 * ARM access the registers of SYSRTC, GPSRTC and PWRC through this module
5 * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
7 * Licensed under GPLv2 or later.
9 #ifndef _SIRFSOC_RTC_IOBRG_H_
10 #define _SIRFSOC_RTC_IOBRG_H_
14 extern void sirfsoc_rtc_iobrg_besyncing(void);
16 extern u32 sirfsoc_rtc_iobrg_readl(u32 addr);
18 extern void sirfsoc_rtc_iobrg_writel(u32 val, u32 addr);
19 struct regmap *devm_regmap_init_iobg(struct device *dev,
20 const struct regmap_config *config);