summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorKennet Wallden <kennet.wallden@stericsson.com>2011-09-27 09:23:56 +0200
committerJonas ABERG <jonas.aberg@stericsson.com>2011-10-18 13:03:10 +0200
commit4e200f9409e9015889177197c3ff4f577b7cb724 (patch)
tree8de9ad371c0ee5fe5e51cd16c86fff5e07331616 /arch
parentc05de1ccd3526dd5d70c3b6d08e2ac27bf7fdb08 (diff)
u8500: Configure SysClkReqRfClkBuf
Added the possibility to configure SysCl1kReqRfClkBuf - SysClk8ReqRfClkBuf ST-Ericsson ID: 360052 ST-Ericsson Linux next: N/A ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I7813ae4a73701d874e39556c60608ff66e1d016d Signed-off-by: Kennet Wallden <kennet.wallden@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32261 Reviewed-by: Karl-Johan PERNTZ <karl-johan.perntz@stericsson.com> Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-ux500/board-mop500.c12
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 1df8799bc24..71c3f0e9897 100644
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -36,6 +36,7 @@
#include <linux/pwm_backlight.h>
#include <linux/gpio/nomadik.h>
#include <linux/leds.h>
+#include <linux/mfd/ab8500/sysctrl.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
@@ -136,6 +137,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,
@@ -259,6 +270,7 @@ static struct ab8500_platform_data ab8500_platdata = {
.chargalg = &ab8500_chargalg_plat_data,
.gpio = &ab8500_gpio_pdata,
.usb = &abx500_usbgpio_plat_data,
+ .sysctrl = &ab8500_sysctrl_pdata,
#ifdef CONFIG_INPUT_AB8500_ACCDET
.accdet = &ab8500_accdet_pdata,
#endif