From patchwork Wed Nov 18 18:13:22 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Enric Balletbo Serra X-Patchwork-Id: 67321 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nBEHwh6K014828 for ; Mon, 14 Dec 2009 17:58:43 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932353AbZLNR6m (ORCPT ); Mon, 14 Dec 2009 12:58:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932352AbZLNR6m (ORCPT ); Mon, 14 Dec 2009 12:58:42 -0500 Received: from mail-ew0-f219.google.com ([209.85.219.219]:59112 "EHLO mail-ew0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932350AbZLNR6l (ORCPT ); Mon, 14 Dec 2009 12:58:41 -0500 Received: by ewy19 with SMTP id 19so3657006ewy.21 for ; Mon, 14 Dec 2009 09:58:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=SPFocPAhBK7q0aQ3hDO4bPEX0FiyQHeuV2Trq4Wz7oQ=; b=YhDCPlYOLvRRWfHgArjkI8TK9Lb1ajELX0hzUJ0tXqYb6NmHG8yekGb7BdOnpvH8PC cIz7MIQxO7D6NqzOIcCgeRa0Ld0UdtJ8CIQMiQstnLrLvyJbPyoHHDPa9d/vXvQ7hGDA y5c+h7V3v5zRmGj2xJoSmTAgt8wLMwKI8Gqe8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=Xus5iKhN12qM6+ZiYR/LaGXL1Ky/fafx88jupn0mschS7LQKIuVCLDbotenC5YQWiq exlbNiTkfKnZfISqoiZwVCWTUflBVOxIzAsXu2/kbr0UG0IYCEwXc2kJlNXCwZrBo+oZ bsn3hdthIdaPlK0kKS82awJbNEAwg+EcIRH/Q= Received: by 10.213.96.202 with SMTP id i10mr3863081ebn.99.1260813520468; Mon, 14 Dec 2009 09:58:40 -0800 (PST) Received: from localhost.localdomain (248.Red-213-97-239.staticIP.rima-tde.net [213.97.239.248]) by mx.google.com with ESMTPS id 15sm3139818ewy.8.2009.12.14.09.58.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 14 Dec 2009 09:58:39 -0800 (PST) From: Enric Balletbo i Serra To: linux-omap@vger.kernel.org Cc: Enric Balletbo i Serra Subject: [PATCH 1/3] omap3: Add platform data for the twl4030_codec MFD on IGEP v2 Date: Wed, 18 Nov 2009 19:13:22 +0100 Message-Id: <1258568004-6993-1-git-send-email-eballetbo@gmail.com> X-Mailer: git-send-email 1.6.0.4 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index 44239e3..221b497 100644 --- a/arch/arm/mach-omap2/board-igep0020.c +++ b/arch/arm/mach-omap2/board-igep0020.c @@ -173,12 +173,22 @@ static void __init igep2_init_irq(void) omap_gpio_init(); } +static struct twl4030_codec_audio_data igep2_audio_data = { + .audio_mclk = 26000000, +}; + +static struct twl4030_codec_data igep2_codec_data = { + .audio_mclk = 26000000, + .audio = &igep2_audio_data, +}; + static struct twl4030_platform_data igep2_twldata = { .irq_base = TWL4030_IRQ_BASE, .irq_end = TWL4030_IRQ_END, /* platform_data for children goes here */ .usb = &igep2_usb_data, + .codec = &igep2_codec_data, .gpio = &igep2_gpio_data, .vmmc1 = &igep2_vmmc1,