diff options
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/abx500/ab8500-sysctrl.h | 5 | ||||
| -rw-r--r-- | include/linux/mfd/abx500/ab8500.h | 2 |
2 files changed, 7 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) | |||
| 37 | return ab8500_sysctrl_write(reg, bits, 0); | 37 | return ab8500_sysctrl_write(reg, bits, 0); |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | /* Configuration data for SysClkReq1RfClkBuf - SysClkReq8RfClkBuf */ | ||
| 41 | struct ab8500_sysctrl_platform_data { | ||
| 42 | u8 initial_req_buf_config[8]; | ||
| 43 | }; | ||
| 44 | |||
| 40 | /* Registers */ | 45 | /* Registers */ |
| 41 | #define AB8500_TURNONSTATUS 0x100 | 46 | #define AB8500_TURNONSTATUS 0x100 |
| 42 | #define AB8500_RESETSTATUS 0x101 | 47 | #define AB8500_RESETSTATUS 0x101 |
diff --git a/include/linux/mfd/abx500/ab8500.h b/include/linux/mfd/abx500/ab8500.h index 6119b2fbad97..5251bca56326 100644 --- a/include/linux/mfd/abx500/ab8500.h +++ b/include/linux/mfd/abx500/ab8500.h | |||
| @@ -270,6 +270,7 @@ struct regulator_reg_init; | |||
| 270 | struct regulator_init_data; | 270 | struct regulator_init_data; |
| 271 | struct ab8500_gpio_platform_data; | 271 | struct ab8500_gpio_platform_data; |
| 272 | struct ab8500_codec_platform_data; | 272 | struct ab8500_codec_platform_data; |
| 273 | struct ab8500_sysctrl_platform_data; | ||
| 273 | 274 | ||
| 274 | /** | 275 | /** |
| 275 | * struct ab8500_platform_data - AB8500 platform data | 276 | * struct ab8500_platform_data - AB8500 platform data |
| @@ -291,6 +292,7 @@ struct ab8500_platform_data { | |||
| 291 | struct regulator_init_data *regulator; | 292 | struct regulator_init_data *regulator; |
| 292 | struct ab8500_gpio_platform_data *gpio; | 293 | struct ab8500_gpio_platform_data *gpio; |
| 293 | struct ab8500_codec_platform_data *codec; | 294 | struct ab8500_codec_platform_data *codec; |
| 295 | struct ab8500_sysctrl_platform_data *sysctrl; | ||
| 294 | }; | 296 | }; |
| 295 | 297 | ||
| 296 | extern int ab8500_init(struct ab8500 *ab8500, | 298 | extern int ab8500_init(struct ab8500 *ab8500, |
