From patchwork Sat Feb 4 01:14:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 139507 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id B2698104796 for ; Sat, 4 Feb 2012 12:14:27 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756368Ab2BDBO0 (ORCPT ); Fri, 3 Feb 2012 20:14:26 -0500 Received: from mail-yw0-f74.google.com ([209.85.213.74]:41963 "EHLO mail-yw0-f74.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754426Ab2BDBOW (ORCPT ); Fri, 3 Feb 2012 20:14:22 -0500 Received: by yhgm50 with SMTP id m50so461038yhg.1 for ; Fri, 03 Feb 2012 17:14:22 -0800 (PST) Received: by 10.236.116.101 with SMTP id f65mr16205652yhh.0.1328318062221; Fri, 03 Feb 2012 17:14:22 -0800 (PST) Received: by 10.236.116.101 with SMTP id f65mr16205619yhh.0.1328318062121; Fri, 03 Feb 2012 17:14:22 -0800 (PST) Received: from wpzn4.hot.corp.google.com (216-239-44-65.google.com [216.239.44.65]) by gmr-mx.google.com with ESMTPS id a9si4182099anh.1.2012.02.03.17.14.22 (version=TLSv1/SSLv3 cipher=AES128-SHA); Fri, 03 Feb 2012 17:14:22 -0800 (PST) Received: from sglass.mtv.corp.google.com (sglass.mtv.corp.google.com [172.22.72.144]) by wpzn4.hot.corp.google.com (Postfix) with ESMTP id F336C1E005A; Fri, 3 Feb 2012 17:14:21 -0800 (PST) Received: by sglass.mtv.corp.google.com (Postfix, from userid 121222) id B2578141197; Fri, 3 Feb 2012 17:14:21 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Warren , Stephen Warren , linux-tegra@vger.kernel.org, Simon Glass , Heiko Schocher Subject: [PATCH v3 9/9] tegra: i2c: Enable I2C on Seaboard Date: Fri, 3 Feb 2012 17:14:00 -0800 Message-Id: <1328318041-10943-10-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1328318041-10943-1-git-send-email-sjg@chromium.org> References: <1328318041-10943-1-git-send-email-sjg@chromium.org> Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org This enables I2C on Seaboard. Signed-off-by: Simon Glass Acked-by: Heiko Schocher --- Changes in v3: - Use CONFIG_TEGRA_I2C instead of CONFIG_TEGRA2_I2C include/configs/seaboard.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index 6937bcc..ea7e4f0 100644 --- a/include/configs/seaboard.h +++ b/include/configs/seaboard.h @@ -64,6 +64,14 @@ #define CONFIG_CMD_SF #define CONFIG_SPI_FLASH_SIZE (4 << 20) +/* I2C */ +#define CONFIG_TEGRA_I2C +#define CONFIG_SYS_I2C_INIT_BOARD +#define CONFIG_I2C_MULTI_BUS +#define CONFIG_SYS_MAX_I2C_BUS 4 +#define CONFIG_SYS_I2C_SPEED 100000 +#define CONFIG_CMD_I2C + /* SD/MMC */ #define CONFIG_MMC #define CONFIG_GENERIC_MMC