From patchwork Fri May 18 12:12:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 8815 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 5F42423EB5 for ; Fri, 18 May 2012 12:17:26 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 2FCADA18085 for ; Fri, 18 May 2012 12:17:26 +0000 (UTC) Received: by mail-yw0-f52.google.com with SMTP id p61so3313407yhp.11 for ; Fri, 18 May 2012 05:17:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:x-auditid :from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-brightmail-tracker:x-tm-as-mml:x-gm-message-state; bh=Kg5LeXQEsQ3z1/+THqtoBv3PW0LEkkMq6dR6CDGBMtI=; b=gvM0Z6Hi1PfNEPFmTn0kzbEZK+qaa4voeiuOm+mRf2MiJwkHOJ6wJJvPoxnXmRC3Ve G0tyhDOwicd5o/x1rGB49oDmjTBWSwTaCAQIVWFpFDmpQqSMmkGrEfvQW/7P+d7pjMSC C5Tz7EWkYMDVV/S5tDSwP+PBLBIsUQD3XyDZDym5AbL/PxXZlhMT4ukrK7fYSfN+jlnt j/GEoKOkFLhIaXbl7rcOnviqsE4dIlXn1AfDKWC3NvtTOLotQqXYlscFAzPy63ottCV5 lh1JNGDQc30M2ksCjZoUdZlJKY40jLGbXXKoRyu1GmACTK0Bxm4RzXflgdTGRbiG1eKE dvxg== Received: by 10.50.203.39 with SMTP id kn7mr256270igc.53.1337343445639; Fri, 18 May 2012 05:17:25 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.35.72 with SMTP id o8csp100344ibd; Fri, 18 May 2012 05:17:25 -0700 (PDT) Received: by 10.68.129.10 with SMTP id ns10mr3003636pbb.141.1337343444841; Fri, 18 May 2012 05:17:24 -0700 (PDT) Received: from mailout3.samsung.com (mailout3.samsung.com. [203.254.224.33]) by mx.google.com with ESMTP id ns8si14262884pbb.63.2012.05.18.05.17.24; Fri, 18 May 2012 05:17:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.33 as permitted sender) client-ip=203.254.224.33; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.33 as permitted sender) smtp.mail=rajeshwari.s@samsung.com Received: from epcpsbgm1.samsung.com (mailout3.samsung.com [203.254.224.33]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M47005M4WSR1J10@mailout3.samsung.com>; Fri, 18 May 2012 21:17:23 +0900 (KST) X-AuditID: cbfee61a-b7be0ae000001293-1a-4fb63dd3645a Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (MMPCPMTA) with SMTP id AB.4E.04755.3DD36BF4; Fri, 18 May 2012 21:17:23 +0900 (KST) Received: from rajeshwari-linux.sisodomain.com ([107.108.215.115]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M470045KWF74W10@mmp2.samsung.com>; Fri, 18 May 2012 21:17:23 +0900 (KST) From: Rajeshwari Shinde To: u-boot@lists.denx.de Cc: patches@linaro.org, sjg@chromium.org, clchiou@chromium.org, waihong@chromium.org, mk7.kang@samsung.com, chander.kashyap@linaro.org, dianders@chromium.org, plagnioj@jcrosoft.com Subject: [PATCH 8/8] CONFIG: SMDK5250: I2C: Enable I2C Date: Fri, 18 May 2012 17:42:33 +0530 Message-id: <1337343153-3019-9-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1337343153-3019-1-git-send-email-rajeshwari.s@samsung.com> References: <1337343153-3019-1-git-send-email-rajeshwari.s@samsung.com> X-Brightmail-Tracker: AAAAAA== X-TM-AS-MML: No X-Gm-Message-State: ALoCoQlgn9qBzMevaKpy+/m41vuTKcizKMpdkRJjCfNbu9qIWDVC9tWZETsfNwij7xNly3Oq42Dc This enables I2C support on smdk5250. Signed-off-by: Alim Akhtar Signed-off-by: Doug Anderson Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- include/configs/smdk5250.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h index 9659f9e..1fca652 100644 --- a/include/configs/smdk5250.h +++ b/include/configs/smdk5250.h @@ -190,6 +190,14 @@ #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_LOAD_ADDR - 0x1000000) +/* I2C */ +#define CONFIG_HARD_I2C +#define CONFIG_CMD_I2C +#define CONFIG_SYS_I2C_SPEED 100000 /* 100 Kbps */ +#define CONFIG_DRIVER_S3C24X0_I2C +#define CONFIG_I2C_MULTI_BUS +#define CONFIG_MAX_I2C_NUM 8 + /* Ethernet Controllor Driver */ #ifdef CONFIG_CMD_NET #define CONFIG_SMC911X