From patchwork Thu Jun 7 06:09:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 9156 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 98C2323F0A for ; Thu, 7 Jun 2012 06:06:18 +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 63597A1823C for ; Thu, 7 Jun 2012 06:06:18 +0000 (UTC) Received: by yenq6 with SMTP id q6so160232yen.11 for ; Wed, 06 Jun 2012 23:06:17 -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=fpMENOyrnz0vUVvSwJCXaUzBdO9fXRoy1Wa9mx+gI0c=; b=LPzIp6V3W56UsZOC7ZKk8bjYqxx9aMR/JW2fGLqWNwIRexdeBxqsjVZ8zr5YF1T9co PShi3RA6+1PrNz8DZr1sX7zXkW9pbAUNQJwVbEjB8GelWg1FwsxBlQuc9qe1CLWgOa4h WV40WMppBExA3tJ/g+iD4AFLXOyl52/C5TOFCff7y2f1tXdaN8w4DT9Y7OykI3ZNOXMG oALI+4poYx1W1lRP3ehmre/oklAHqn2bICVkwnQUFk9vJhZ8Nd+7zXOpCk7zq3J2nvZ4 CKmjj1TKkN6bIcJFqTVcmW3lrHZlxACrnU3RFjBfCRExRV5MhywSekcNk5/pP+DSeV/q j5JQ== Received: by 10.50.195.234 with SMTP id ih10mr530220igc.0.1339049177735; Wed, 06 Jun 2012 23:06:17 -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 v20csp124540ibb; Wed, 6 Jun 2012 23:06:17 -0700 (PDT) Received: by 10.68.191.201 with SMTP id ha9mr5535877pbc.75.1339049177013; Wed, 06 Jun 2012 23:06:17 -0700 (PDT) Received: from mailout2.samsung.com (mailout2.samsung.com. [203.254.224.25]) by mx.google.com with ESMTP id tg3si4152477pbc.14.2012.06.06.23.06.16; Wed, 06 Jun 2012 23:06:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.25 as permitted sender) client-ip=203.254.224.25; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.25 as permitted sender) smtp.mail=rajeshwari.s@samsung.com Received: from epcpsbgm2.samsung.com (mailout2.samsung.com [203.254.224.25]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M5800GPZGXUSJN0@mailout2.samsung.com>; Thu, 07 Jun 2012 15:06:15 +0900 (KST) X-AuditID: cbfee61b-b7fcc6d000003a7a-9d-4fd044d7813b Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id F6.B5.14970.7D440DF4; Thu, 07 Jun 2012 15:06:15 +0900 (KST) Received: from rajeshwari-linux.sisodomain.com ([107.108.215.115]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M5800J8XGX3ZV30@mmp1.samsung.com>; Thu, 07 Jun 2012 15:06:15 +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 Subject: [PATCH 8/8 V2] CONFIG: SMDK5250: I2C: Enable I2C Date: Thu, 07 Jun 2012 11:39:54 +0530 Message-id: <1339049394-4816-9-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1339049394-4816-1-git-send-email-rajeshwari.s@samsung.com> References: <1339049394-4816-1-git-send-email-rajeshwari.s@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrOJMWRmVeSWpSXmKPExsVy+t9jAd3rLhf8DZb+M7d4uP4mi8WUw19Y HJg87lzbwxbAGMVlk5Kak1mWWqRvl8CV0XD+G1vBavaKr1smMzUwLmLrYuTkkBAwkTj74giU LSZx4d56IJuLQ0hgEaPEjGUTWEASQgITmSRmfgwBsdkEjCS2npzGCGKLCEhI/Oq/CmYzCzQy SuxY7QpiCwtYSszdCdHLIqAq8XPnarAFvALuEoeuzoRapiBxbOpXVhCbU8BDYsu3k4wQu9wl Pr7bzDqBkXcBI8MqRtHUguSC4qT0XCO94sTc4tK8dL3k/NxNjGDvP5PewbiqweIQowAHoxIP 70LnC/5CrIllxZW5hxglOJiVRHgFys77C/GmJFZWpRblxxeV5qQWH2KU5mBREudtsgaqFkhP LEnNTk0tSC2CyTJxcEo1MMrwx0ibvTYyLXW69ZOpK0ujVuncArWzq1gFfy+/fWfipxdlFo9+ 6P/k07q2271Kek3LvJb8aYo3vN/vKc7p6/vmNHnyhgO7amYteLD+h2/UFun2Fm2T5HQlxm1P 8tKyd0+2lpk5la93nl6rrBxzJdu+DbOFXK1amrwjM34nZvtenuXfaTDpuxJLcUaioRZzUXEi AH9zCS36AQAA X-TM-AS-MML: No X-Gm-Message-State: ALoCoQkhw/kqGpodKGBTtKTm4VYY0E06OoQtnK7cZ4GKqC5iaL+rkXN3D9UaAbNuIYQrAsL7RKRB 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