summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/board-mop500.c
diff options
context:
space:
mode:
authorMarcin Mielczarczyk <marcin.mielczarczyk@tieto.com>2011-08-30 10:40:09 +0530
committerUlf Hansson <ulf.hansson@stericsson.com>2011-09-19 16:05:51 +0200
commitad57fae0b2fd64802cc4c0d84ed5c989cc84529d (patch)
treec4ef83833adf6cb796ea6bbe377af96469c332dc /arch/arm/mach-ux500/board-mop500.c
parent27edcfc66323da9a3963cf52044054e3b517c97a (diff)
vibrator: Force feedback vibrator driver
Implementation of ST-Ericsson's force feedback vibrator driver. ST-Ericsson ID: WP261766 Ref: Commit-id: 3f5213a6837ad774628c20b006958183b2c1932a Signed-off-by: Avinash A <Avinash.a@stericsson.com> Change-Id: Iadea56106111af2f7b05b3f74a4aa58cda6721b1 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29682 Reviewed-by: Avinash A <avinash.a@stericsson.com> Tested-by: Avinash A <avinash.a@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.c')
-rw-r--r--arch/arm/mach-ux500/board-mop500.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index ec8fed561be..3cce4118027 100644
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -772,6 +772,11 @@ static struct platform_device ux500_backlight_device[] = {
};
#endif
+/* Force feedback vibrator device */
+static struct platform_device ste_ff_vibra_device = {
+ .name = "ste_ff_vibra"
+};
+
#ifdef CONFIG_HSI
static struct hsi_board_info __initdata u8500_hsi_devices[] = {
{
@@ -874,6 +879,7 @@ static struct platform_device *mop500_platform_devs[] __initdata = {
&u8500_sim_detect_device,
#endif
&u8500_shrm_device,
+ &ste_ff_vibra_device,
#ifdef CONFIG_U8500_MMIO
&ux500_mmio_device,
#endif
@@ -1071,6 +1077,8 @@ static void ux500_uart0_exit(void)
pr_err("pl011: uart pins_disable failed\n");
}
+
+
static struct amba_pl011_data uart0_plat = {
#ifdef CONFIG_STE_DMA40_REMOVE
.dma_filter = stedma40_filter,