From patchwork Fri Feb 25 08:46:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilkka Koskinen X-Patchwork-Id: 589631 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1P8oBbr013393 for ; Fri, 25 Feb 2011 08:50:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754179Ab1BYIuK (ORCPT ); Fri, 25 Feb 2011 03:50:10 -0500 Received: from smtp.nokia.com ([147.243.128.24]:34645 "EHLO mgw-da01.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752302Ab1BYIuJ (ORCPT ); Fri, 25 Feb 2011 03:50:09 -0500 Received: from nokia.com (localhost [127.0.0.1]) by mgw-da01.nokia.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p1P8o3tB010377; Fri, 25 Feb 2011 10:50:05 +0200 Received: from localhost.localdomain ([tumpelo.nmp.nokia.com [172.22.211.13]]) by mgw-da01.nokia.com with RELAY id p1P8ntJs009975 ; Fri, 25 Feb 2011 10:49:57 +0200 From: Ilkka Koskinen To: linux-omap@vger.kernel.org, tony@atomide.com Cc: ilkka.koskinen@nokia.com Subject: [PATCH] omap: rx51: Add support for vibra Date: Fri, 25 Feb 2011 10:46:23 +0200 Message-Id: <1298623583-9743-1-git-send-email-ilkka.koskinen@nokia.com> X-Mailer: git-send-email 1.7.0.4 X-Nokia-AV: Clean Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 25 Feb 2011 08:50:11 +0000 (UTC) diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index e75e240..dcd98fa 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c @@ -699,6 +699,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, @@ -710,6 +718,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,