diff options
author | Philippe Langlais <philippe.langlais@linaro.org> | 2012-01-10 17:47:30 +0100 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:02:27 +0200 |
commit | c7b5d895684eef75e1b797fc00b4a597c6702bbc (patch) | |
tree | e8c7aef13f4cc4988b7645a7dee2151a6fcee57b /arch/arm/mach-ux500/board-mop500.c | |
parent | cb789b40a4e917df7652407dcb0fa270ebfaca83 (diff) |
mach-ux500: Configure SysClkReqRfClkBuf
Added the possibility to configure SysCl1kReqRfClkBuf - SysClk8ReqRfClkBuf
Signed-off-by: Kennet Wallden <kennet.wallden@stericsson.com>
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.c')
-rw-r--r-- | arch/arm/mach-ux500/board-mop500.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index b5e31e51b5c..3db1b2c1a92 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -45,6 +45,7 @@ #include <linux/of_platform.h> #include <linux/leds.h> +#include <linux/mfd/abx500/ab8500-sysctrl.h> #include <asm/mach-types.h> #include <asm/mach/arch.h> @@ -152,6 +153,16 @@ static struct ab8500_gpio_platform_data ab8500_gpio_pdata = { .config_pullups = {0xE0, 0x01, 0x00, 0x00, 0x00, 0x00}, }; +static struct ab8500_sysctrl_platform_data ab8500_sysctrl_pdata = { + /* + * SysClkReq1RfClkBuf - SysClkReq8RfClkBuf + * The initial values should not be changed because of the way + * the system works today + */ + .initial_req_buf_config + = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, +}; + #ifdef CONFIG_INPUT_AB8500_ACCDET static struct abx500_accdet_platform_data ab8500_accdet_pdata = { .btn_keycode = KEY_MEDIA, @@ -274,6 +285,7 @@ static struct ab8500_platform_data ab8500_platdata = { .fg = &ab8500_fg_plat_data, .chargalg = &ab8500_chargalg_plat_data, .gpio = &ab8500_gpio_pdata, + .sysctrl = &ab8500_sysctrl_pdata, #ifdef CONFIG_INPUT_AB8500_ACCDET .accdet = &ab8500_accdet_pdata, #endif |