summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/abx500/ab8500-sysctrl.h
diff options
context:
space:
mode:
authorKennet Wallden <kennet.wallden@stericsson.com>2011-09-27 09:23:56 +0200
committerLee Jones <lee.jones@linaro.org>2013-02-04 08:31:29 +0000
commit1abf063ffd18e6934bb81a776b3d71278eeff4ab (patch)
treeea4c1329d051017e2f0d46537946d2489da5502f /include/linux/mfd/abx500/ab8500-sysctrl.h
parentd0b32fa1e12a6fafbdf4fb142311a36f5314a6ff (diff)
downloadlinux-stable-1abf063ffd18e6934bb81a776b3d71278eeff4ab.tar.gz
linux-stable-1abf063ffd18e6934bb81a776b3d71278eeff4ab.tar.bz2
linux-stable-1abf063ffd18e6934bb81a776b3d71278eeff4ab.zip
mfd: ab8500-sysctrl: Provide configuration for SysClkReqRfClkBuf registers
Add the possibility to pass configuration settings for SysCl1kReqRfClkBuf to SysClk8ReqRfClkBuf via platform data. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Kennet Wallden <kennet.wallden@stericsson.com> Reviewed-by: Karl-Johan PERNTZ <karl-johan.perntz@stericsson.com> Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
Diffstat (limited to 'include/linux/mfd/abx500/ab8500-sysctrl.h')
-rw-r--r--include/linux/mfd/abx500/ab8500-sysctrl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mfd/abx500/ab8500-sysctrl.h b/include/linux/mfd/abx500/ab8500-sysctrl.h
index 10eb50973c39..ebf12e793db9 100644
--- a/include/linux/mfd/abx500/ab8500-sysctrl.h
+++ b/include/linux/mfd/abx500/ab8500-sysctrl.h
@@ -37,6 +37,11 @@ static inline int ab8500_sysctrl_clear(u16 reg, u8 bits)
return ab8500_sysctrl_write(reg, bits, 0);
}
+/* Configuration data for SysClkReq1RfClkBuf - SysClkReq8RfClkBuf */
+struct ab8500_sysctrl_platform_data {
+ u8 initial_req_buf_config[8];
+};
+
/* Registers */
#define AB8500_TURNONSTATUS 0x100
#define AB8500_RESETSTATUS 0x101