aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias Wallin <mattias.wallin@stericsson.com>2010-05-24 16:03:19 +0200
committerJohn Rigby <john.rigby@linaro.org>2010-09-02 22:45:37 -0600
commit62b3b5d2a34fb82ddb794131b6803281ac20c982 (patch)
tree6159dfbcd396d972ade4642c158e659abb8f506f
parent8d1bb34cbd0c6450963d4a8698de33afe4f43c2a (diff)
downloadlinux-2.6.34-ux500-62b3b5d2a34fb82ddb794131b6803281ac20c982.tar.gz
ab3550 platform configuration for ux500
This patch adds ab3550 configuration data into the u8500 platform. Irq is turned off since it is'nt routed on the breakout board used for ab3550 with u8500. Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I0068f67bd562b196e6c1e1a8505dd84291c3f837 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2425 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
-rwxr-xr-xarch/arm/mach-ux500/board-mop500.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index 923571c8e07..0e26f062b63 100755
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -17,6 +17,7 @@
#include <linux/input.h>
#include <linux/i2c/lp5521.h>
#include <linux/power_supply.h>
+#include <linux/mfd/abx500.h>
#include <linux/lsm303dlh.h>
#include <linux/bu21013.h>
@@ -742,6 +743,19 @@ static struct lsm303dlh_platform_data __initdata lsm303dlh_pdata = {
};
#endif
+static struct ab3550_platform_data ab3550_plf_data = {
+ .irq = {
+ .base = 0,
+ .count = 0,
+ },
+ .dev_data = {
+ },
+ .dev_data_sz = {
+ },
+ .init_settings = NULL,
+ .init_settings_sz = 0,
+};
+
static struct i2c_board_info __initdata u8500_i2c0_devices[] = {
{
I2C_BOARD_INFO("stmpe1601", 0x40),
@@ -773,6 +787,8 @@ static struct i2c_board_info __initdata u8500_i2c1_devices[] = {
{
/* AB3550 */
I2C_BOARD_INFO("ab3550", 0x4A),
+ .irq = -1,
+ .platform_data = &ab3550_plf_data,
}
};