From patchwork Fri Dec 17 19:18:25 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarkko Nikula X-Patchwork-Id: 416861 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 oBHJGd1M007282 for ; Fri, 17 Dec 2010 19:17:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754327Ab0LQTQ5 (ORCPT ); Fri, 17 Dec 2010 14:16:57 -0500 Received: from mail-ew0-f45.google.com ([209.85.215.45]:53601 "EHLO mail-ew0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753720Ab0LQTQ5 (ORCPT ); Fri, 17 Dec 2010 14:16:57 -0500 Received: by mail-ew0-f45.google.com with SMTP id 10so521061ewy.4 for ; Fri, 17 Dec 2010 11:16:56 -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:in-reply-to:references; bh=gFKRNjUUO/ZxvEuhkniFvs4sc9Lt3BcH6DtnxfeTeTI=; b=saE5emi72MSDbOSKn8Ju6Pz1GjZc9M+XQZwhAUG3EKFCoUZr8mWDLxSpR65UYhHGhc ef3wAY7Yo7blldIUTt9cmCW/pvGHkR6HPv4KZUfNrOXATv3czYOOtM7IkfOYobYiGudd X2XBNqY+SMbSews16YlycJe2KnZ32mM4yDKu0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=wcaOS5YM6sBkI7xKpdKqz+9AZYFQxGxE/6k4qewp2tCWeh9qOPlunu+7UeMb8gzgoW w3o3Pe/Dk/6eGbfPf/p5xSR+jrInECO69ZrZWKeQzyZw/1CILghmKoIYIhmylnBeSJAY 2t4XypDUoBJu8MmE7+m1xXvCkhndvlAnwG9rQ= Received: by 10.213.13.68 with SMTP id b4mr1688509eba.17.1292613416592; Fri, 17 Dec 2010 11:16:56 -0800 (PST) Received: from localhost (host-94-101-4-66.igua.fi [94.101.4.66]) by mx.google.com with ESMTPS id x54sm462436eeh.23.2010.12.17.11.16.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 17 Dec 2010 11:16:55 -0800 (PST) From: Jarkko Nikula To: linux-omap@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Tony Lindgren , Jarkko Nikula Subject: [PATCH 3/3] omap: rx51: Add supplies and data for codec b part of TLV320AIC34 Date: Fri, 17 Dec 2010 21:18:25 +0200 Message-Id: <1292613505-10113-3-git-send-email-jhnikula@gmail.com> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1292613505-10113-1-git-send-email-jhnikula@gmail.com> References: <1292613505-10113-1-git-send-email-jhnikula@gmail.com> 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.3 (demeter1.kernel.org [140.211.167.41]); Fri, 17 Dec 2010 19:17:00 +0000 (UTC) diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index 6114e47..ca8cecd 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c @@ -343,6 +343,8 @@ static struct regulator_consumer_supply rx51_vmmc2_supplies[] = { /* tlv320aic3x analog supplies */ REGULATOR_SUPPLY("AVDD", "2-0018"), REGULATOR_SUPPLY("DRVDD", "2-0018"), + REGULATOR_SUPPLY("AVDD", "2-0019"), + REGULATOR_SUPPLY("DRVDD", "2-0019"), /* tpa6130a2 */ REGULATOR_SUPPLY("Vdd", "2-0060"), /* Keep vmmc as last item. It is not iterated for newer boards */ @@ -353,6 +355,8 @@ static struct regulator_consumer_supply rx51_vio_supplies[] = { /* tlv320aic3x digital supplies */ REGULATOR_SUPPLY("IOVDD", "2-0018"), REGULATOR_SUPPLY("DVDD", "2-0018"), + REGULATOR_SUPPLY("IOVDD", "2-0019"), + REGULATOR_SUPPLY("DVDD", "2-0019"), }; #if defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE) @@ -743,11 +747,19 @@ static struct aic3x_pdata rx51_aic3x_data = { .gpio_reset = 60, }; +static struct aic3x_pdata rx51_aic3x_data2 = { + .gpio_reset = 60, +}; + static struct i2c_board_info __initdata rx51_peripherals_i2c_board_info_2[] = { { I2C_BOARD_INFO("tlv320aic3x", 0x18), .platform_data = &rx51_aic3x_data, }, + { + I2C_BOARD_INFO("tlv320aic3x", 0x19), + .platform_data = &rx51_aic3x_data2, + }, #if defined(CONFIG_SENSORS_TSL2563) || defined(CONFIG_SENSORS_TSL2563_MODULE) { I2C_BOARD_INFO("tsl2563", 0x29),