projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec179ea
)
omap: rx51: Add support for vibra
author
Ilkka Koskinen
<
[email protected]
>
Fri, 25 Feb 2011 08:46:23 +0000
(08:46 +0000)
committer
Tony Lindgren
<
[email protected]
>
Thu, 3 Mar 2011 00:52:01 +0000
(16:52 -0800)
Add support for vibra
Signed-off-by: Ilkka Koskinen <
[email protected]
>
Signed-off-by: Tony Lindgren <
[email protected]
>
arch/arm/mach-omap2/board-rx51-peripherals.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/board-rx51-peripherals.c
b/arch/arm/mach-omap2/board-rx51-peripherals.c
index d0998f812693e5d49857cf6e4b7b331a6b99f2f9..7839e9493c7b492454351ccb7734a26f33cb0efe 100644
(file)
--- 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 = {
.resource_config = twl4030_rconfig,
};
+struct twl4030_codec_vibra_data rx51_vibra_data __initdata = {
+ .coexist = 0,
+};
+
+struct twl4030_codec_data rx51_codec_data __initdata = {
+ .audio_mclk = 26000000,
+ .vibra = &rx51_vibra_data,
+};
static struct twl4030_platform_data rx51_twldata __initdata = {
.irq_base = TWL4030_IRQ_BASE,
@@
-753,6
+761,7
@@
static struct twl4030_platform_data rx51_twldata __initdata = {
.madc = &rx51_madc_data,
.usb = &rx51_usb_data,
.power = &rx51_t2scripts_data,
+ .codec = &rx51_codec_data,
.vaux1 = &rx51_vaux1,
.vaux2 = &rx51_vaux2,