diff options
author | Ilkka Koskinen <ilkka.koskinen@nokia.com> | 2011-02-25 03:46:23 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-03-02 19:52:01 -0500 |
commit | b7a834cc7d08276bf080077b3499d88f73e303ba (patch) | |
tree | d1d533ac56d2393d2570d9b10693436436c44823 /arch/arm/mach-omap2/board-rx51-peripherals.c | |
parent | ec179ea5361cdd34bf4e6d6bdfe02d6f4d6901b2 (diff) |
omap: rx51: Add support for vibra
Add support for vibra
Signed-off-by: Ilkka Koskinen <ilkka.koskinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-rx51-peripherals.c')
-rw-r--r-- | arch/arm/mach-omap2/board-rx51-peripherals.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index d0998f812693..7839e9493c7b 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c | |||
@@ -742,6 +742,14 @@ static struct twl4030_power_data rx51_t2scripts_data __initdata = { | |||
742 | .resource_config = twl4030_rconfig, | 742 | .resource_config = twl4030_rconfig, |
743 | }; | 743 | }; |
744 | 744 | ||
745 | struct twl4030_codec_vibra_data rx51_vibra_data __initdata = { | ||
746 | .coexist = 0, | ||
747 | }; | ||
748 | |||
749 | struct twl4030_codec_data rx51_codec_data __initdata = { | ||
750 | .audio_mclk = 26000000, | ||
751 | .vibra = &rx51_vibra_data, | ||
752 | }; | ||
745 | 753 | ||
746 | static struct twl4030_platform_data rx51_twldata __initdata = { | 754 | static struct twl4030_platform_data rx51_twldata __initdata = { |
747 | .irq_base = TWL4030_IRQ_BASE, | 755 | .irq_base = TWL4030_IRQ_BASE, |
@@ -753,6 +761,7 @@ static struct twl4030_platform_data rx51_twldata __initdata = { | |||
753 | .madc = &rx51_madc_data, | 761 | .madc = &rx51_madc_data, |
754 | .usb = &rx51_usb_data, | 762 | .usb = &rx51_usb_data, |
755 | .power = &rx51_t2scripts_data, | 763 | .power = &rx51_t2scripts_data, |
764 | .codec = &rx51_codec_data, | ||
756 | 765 | ||
757 | .vaux1 = &rx51_vaux1, | 766 | .vaux1 = &rx51_vaux1, |
758 | .vaux2 = &rx51_vaux2, | 767 | .vaux2 = &rx51_vaux2, |