Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
23 lines
597 B
C
23 lines
597 B
C
/*
|
|
* RTC I/O Bridge interfaces for CSR SiRFprimaII
|
|
* ARM access the registers of SYSRTC, GPSRTC and PWRC through this module
|
|
*
|
|
* Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
|
|
*
|
|
* Licensed under GPLv2 or later.
|
|
*/
|
|
#ifndef _SIRFSOC_RTC_IOBRG_H_
|
|
#define _SIRFSOC_RTC_IOBRG_H_
|
|
|
|
struct regmap_config;
|
|
|
|
extern void sirfsoc_rtc_iobrg_besyncing(void);
|
|
|
|
extern u32 sirfsoc_rtc_iobrg_readl(u32 addr);
|
|
|
|
extern void sirfsoc_rtc_iobrg_writel(u32 val, u32 addr);
|
|
struct regmap *devm_regmap_init_iobg(struct device *dev,
|
|
const struct regmap_config *config);
|
|
|
|
#endif
|