From patchwork Tue Jun 19 06:45:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 9435 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 A5FF523F28 for ; Tue, 19 Jun 2012 06:41:14 +0000 (UTC) Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.213.180]) by fiordland.canonical.com (Postfix) with ESMTP id 75F3EA18547 for ; Tue, 19 Jun 2012 06:41:14 +0000 (UTC) Received: by mail-yx0-f180.google.com with SMTP id q6so4856436yen.11 for ; Mon, 18 Jun 2012 23:41:14 -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=H7zSG6b+XP3pt6bpSO+3uCQPvpaKApXpcg65W8/B3BI=; b=jYJfsH/HrMN/XsuJ8byONo2d31A9KCssdThYHsp34x5FIMHcezYxplUZ6KfnobvDWg WKfZdUjWay16D9m9Apr2OD6tEyN552Gulb16xGqR9YHMNh03jJity6xW89Bu4djUjC+R 71KyF55gzr1KolfnPe19arwyq38gPw8GOCDlm+N1xXqyvEbI0yrdjEhz95ngZGownDku t9WeZ40YBN6e8Ya9oNcX8cM4dMJ52EOb64+2pga/LkOQsqgzieX8GRJq0uNFOZHC1uJO Xr1eagBp5EkBH/26nMCrNkHBxMg4LypOxC8nPMEDsPNMnQEBiSqQ3MuclCR8v70xL4b+ aOHw== Received: by 10.50.195.234 with SMTP id ih10mr181810igc.0.1340088074115; Mon, 18 Jun 2012 23:41:14 -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.24.148 with SMTP id v20csp109118ibb; Mon, 18 Jun 2012 23:41:13 -0700 (PDT) Received: by 10.68.220.10 with SMTP id ps10mr48390217pbc.105.1340088073472; Mon, 18 Jun 2012 23:41:13 -0700 (PDT) Received: from mailout4.samsung.com (mailout4.samsung.com. [203.254.224.34]) by mx.google.com with ESMTP id hw8si16684746pbc.146.2012.06.18.23.41.13; Mon, 18 Jun 2012 23:41:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.34 as permitted sender) client-ip=203.254.224.34; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.34 as permitted sender) smtp.mail=rajeshwari.s@samsung.com Received: from epcpsbgm2.samsung.com (mailout4.samsung.com [203.254.224.34]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M5U009PSQKIPT40@mailout4.samsung.com>; Tue, 19 Jun 2012 15:41:12 +0900 (KST) X-AuditID: cbfee61b-b7fcc6d000003a7a-31-4fe01f07661d Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 1B.A1.14970.70F10EF4; Tue, 19 Jun 2012 15:41:12 +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 <0M5U00BUEQJL3P50@mmp2.samsung.com>; Tue, 19 Jun 2012 15:41:11 +0900 (KST) From: Rajeshwari Shinde To: u-boot@lists.denx.de Cc: patches@linaro.org, alim.akhtar@samsung.com, sjg@chromium.org, hs@denx.de, mk7.kang@samsung.com, chander.kashyap@linaro.org, dofmind@gmail.com Subject: [PATCH 8/8 V3] CONFIG: SMDK5250: I2C: Enable I2C Date: Tue, 19 Jun 2012 12:15:19 +0530 Message-id: <1340088319-10072-9-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1340088319-10072-1-git-send-email-rajeshwari.s@samsung.com> References: <1340088319-10072-1-git-send-email-rajeshwari.s@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrOJMWRmVeSWpSXmKPExsVy+t9jQV0O+Qf+Bqtuslk8XH+TxWLK4S8s Dkwed67tYQtgjOKySUnNySxLLdK3S+DKONF1gbngLnvF8T1fmBsYj7B1MXJwSAiYSNx/Gt3F yAlkiklcuLceKMzFISQwnVHizu01jBDORCaJ+1vXsINUsQkYSWw9OY0RxBYRkJD41X8VzGYW mMIosWt1KIgtLGAp8aPjHhOIzSKgKvH4yD6wGl4BD4lFrxawQ2xTkDg29SsriM0p4Cmx6cNC sHohoJo9L86zT2DkXcDIsIpRNLUguaA4KT3XSK84Mbe4NC9dLzk/dxMj2PvPpHcwrmqwOMQo wMGoxMObIfHAX4g1say4MvcQowQHs5II76r/9/2FeFMSK6tSi/Lji0pzUosPMUpzsCiJ8zZZ X/AXEkhPLEnNTk0tSC2CyTJxcEo1MLoHTdgu9M/s/Mb373fyXD31/MSGa8mn5V5c3x58svLd m0s90yfV88bOqdnBMWPGzgJ5Tenbcza9NOV5qB27ZLJQx6ZyJ+e6Wz3/9qkuD15QUbg8M1iM O0Ul6VOfHOP0nUXLBRxyq48nuz19JqqmUmmwbt+MubP3Nf5coXhqgXxWSMgsTaOgBDElluKM REMt5qLiRAAH033P+gEAAA== X-TM-AS-MML: No X-Gm-Message-State: ALoCoQnPpqcA8duAFva9mBA809QhR5vqG/e74sJ3meOAdiTGu/ngMBOuZsYI9F0/cmNrjBWUglD3 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 --- Changes in V2: - None Changes in V3: - None 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