From patchwork Mon May 3 15:56:15 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarkko Nikula X-Patchwork-Id: 96506 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o43FuV6r002784 for ; Mon, 3 May 2010 15:56:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932917Ab0ECPz0 (ORCPT ); Mon, 3 May 2010 11:55:26 -0400 Received: from mail-ew0-f222.google.com ([209.85.219.222]:42129 "EHLO mail-ew0-f222.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759665Ab0ECPzV (ORCPT ); Mon, 3 May 2010 11:55:21 -0400 Received: by ewy22 with SMTP id 22so730407ewy.37 for ; Mon, 03 May 2010 08:55:19 -0700 (PDT) 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=lsC80Y98qjKvpiRKkINH87sH/KMsz9fBJHXNYy1AhW4=; b=rZD/yRzGZEONFAmE+JhoFt//ne8JsvOWuuoZg1d0jNBeAc2gE4vycspV31kq0BAm/M Ru2BdLxYNyn/lBf0TwASZLEpZUkH8VrGKE811IzsMB0hpzQY0HXR0A65rFX4q1dCqx6D SdgFlUcWO+1kRN50K1UEPzLvRwoUStWStojoo= 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=i1xWpim2Bpw15LEu0AkwLp/1mdbGVE/DD1eEWdkOFBmuq/keo6a+3yd7RApe5iVC31 oEpduHvCug1a7ieTcu++sEvOma9FYhaWqZWR7jkMcnIzU8wqrkWPgRb492suzxx4OvII pmpUfRl2Mjmko8gVVy/gWGiUrSV3qj9b2S7yE= Received: by 10.213.55.13 with SMTP id s13mr1419269ebg.34.1272902118582; Mon, 03 May 2010 08:55:18 -0700 (PDT) Received: from localhost (host-94-101-4-66.igua.fi [94.101.4.66]) by mx.google.com with ESMTPS id 13sm3077208ewy.1.2010.05.03.08.55.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 03 May 2010 08:55:17 -0700 (PDT) From: Jarkko Nikula To: linux-omap@vger.kernel.org Cc: Tony Lindgren , Jarkko Nikula Subject: [PATCH 2/3] omap: rx51: Add i2c2 board_info with tlv320aic3x Date: Mon, 3 May 2010 18:56:15 +0300 Message-Id: <1272902176-21033-2-git-send-email-jhnikula@gmail.com> X-Mailer: git-send-email 1.7.0 In-Reply-To: <1272902176-21033-1-git-send-email-jhnikula@gmail.com> References: <1272902176-21033-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 (demeter.kernel.org [140.211.167.41]); Mon, 03 May 2010 15:56:33 +0000 (UTC) diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index b803f47..3addfe6 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c @@ -629,6 +629,12 @@ static struct i2c_board_info __initdata rx51_peripherals_i2c_board_info_1[] = { }, }; +static struct i2c_board_info __initdata rx51_peripherals_i2c_board_info_2[] = { + { + I2C_BOARD_INFO("tlv320aic3x", 0x18), + }, +}; + static int __init rx51_i2c_init(void) { if ((system_rev >= SYSTEM_REV_S_USES_VAUX3 && system_rev < 0x100) || @@ -639,8 +645,9 @@ static int __init rx51_i2c_init(void) rx51_twldata.vmmc2 = &rx51_vmmc2; } omap_register_i2c_bus(1, 2200, rx51_peripherals_i2c_board_info_1, - ARRAY_SIZE(rx51_peripherals_i2c_board_info_1)); - omap_register_i2c_bus(2, 100, NULL, 0); + ARRAY_SIZE(rx51_peripherals_i2c_board_info_1)); + omap_register_i2c_bus(2, 100, rx51_peripherals_i2c_board_info_2, + ARRAY_SIZE(rx51_peripherals_i2c_board_info_2)); omap_register_i2c_bus(3, 400, NULL, 0); return 0; }