From patchwork Tue Jul 24 07:23:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 10215 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 CCA6923E56 for ; Tue, 24 Jul 2012 07:18:11 +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 9C3E7A180D6 for ; Tue, 24 Jul 2012 07:18:11 +0000 (UTC) Received: by mail-yw0-f52.google.com with SMTP id p61so6650593yhp.11 for ; Tue, 24 Jul 2012 00:18:11 -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=fkzdMi7E2O7x0rfUkMi2KdJbzl9FrVQX9qr037lHRjE=; b=O2py0JJPV5nGJ/j0KAgYnBnl07lWReML7RjuXcc7neG8Cl2D4iG/c+YkoDjjHXMTOw nmnU+KTdGws9/IDQBIjiJ5mFRBnOISt44ZVJxTOzqAVapm3WGwNpAK2aUA0K3V+DZXoz yBuOsoIHXKSRwrve8+pOO5YP2pm+2h6+24VA5cr/e6MptxiO2Ald6bu35rkDjZG/FN+A OWF1dd8LT7a5y3q6OqA8HF74jcIm+8nxaa+2cokBNNuChSwOqLb4FjDJK/vp9MRX8nyi tDg1z+i4Q5WrxrxLPKi8mo6/3GX+9KmeSXGLK9z0Qh8gf+yJVjr09/n2jhEpaC3g9GYX 5zMQ== Received: by 10.42.62.211 with SMTP id z19mr13118521ich.2.1343114291232; Tue, 24 Jul 2012 00:18:11 -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.153.7 with SMTP id i7csp67676ibw; Tue, 24 Jul 2012 00:18:10 -0700 (PDT) Received: by 10.68.203.98 with SMTP id kp2mr41996299pbc.132.1343114290518; Tue, 24 Jul 2012 00:18:10 -0700 (PDT) Received: from mailout2.samsung.com (mailout2.samsung.com. [203.254.224.25]) by mx.google.com with ESMTP id rj6si26878780pbc.289.2012.07.24.00.18.10; Tue, 24 Jul 2012 00:18:10 -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 epcpsbgm1.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 <0M7N006BWLLKO8E0@mailout2.samsung.com>; Tue, 24 Jul 2012 16:18:09 +0900 (KST) X-AuditID: cbfee61a-b7f616d000004b7e-43-500e4c319874 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 42.A3.19326.13C4E005; Tue, 24 Jul 2012 16:18:09 +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 <0M7N0070ELLVCSJ1@mmp1.samsung.com>; Tue, 24 Jul 2012 16:18:09 +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, jy0922.shim@samsung.com, jh80.chung@samsung.com Subject: [PATCH 3/8 V7] EXYNOS5: define EXYNOS5_I2C_SPACING Date: Tue, 24 Jul 2012 12:53:50 +0530 Message-id: <1343114635-28169-4-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1343114635-28169-1-git-send-email-rajeshwari.s@samsung.com> References: <1343114635-28169-1-git-send-email-rajeshwari.s@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrJJMWRmVeSWpSXmKPExsVy+t9jAV1DH74Ag/br4hYP199ksZhy+AuL A5PHnWt72AIYo7hsUlJzMstSi/TtErgypv7cylxwg63i+b/t7A2M51i7GDk5JARMJDZuvMYC YYtJXLi3nq2LkYtDSGARo8SRzjYmCGcik8SO+c3MIFVsAkYSW09OYwSxRQQkJH71X2UEKWIW 2MIocfzVRTaQhLCAtUTTzPNgDSwCqhLfe3aBxXkFPCRWXTvCCLFOQeLY1K9gZ3AKeEpsvL6V CcQWAqp5eucU6wRG3gWMDKsYRVMLkguKk9JzDfWKE3OLS/PS9ZLzczcxggPgmdQOxpUNFocY BTgYlXh4M1t5A4RYE8uKK3MPMUpwMCuJ8PJ68AUI8aYkVlalFuXHF5XmpBYfYpTmYFES5zX2 /uovJJCeWJKanZpakFoEk2Xi4JRqYFzxRPv95P0rLjac7N8Y3a8Rs/zncnP9jzbxVuph2fHN u2tXV3u7V+57XLettkB23ZY9iTmiR7TZFuQX3Fh72O7yhoC0Vb1rHx7tz/snZPtg8mW3m/fs AgTCX+0v4fjw4Le+am77wxTLhITwc+9S9uqs9s7UXLJxX5R4mXn2/Ed7pLXuyLqvYFNiKc5I NNRiLipOBABF5sM1/AEAAA== X-TM-AS-MML: No X-Gm-Message-State: ALoCoQlmEkxYjPMD8rVdCwKwQPl+cbr3CwH/bcB+XiHRLbG1Zl8/RLbuX6MBWmRzsQb1sT8c2GJN This patch defined EXYNOS5_I2C_SPACING used to calculate I2C channel base address. Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V6: - New patch. Changes in V7: - None arch/arm/include/asm/arch-exynos/cpu.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/arch/arm/include/asm/arch-exynos/cpu.h index ab46b70..0e6ea87 100644 --- a/arch/arm/include/asm/arch-exynos/cpu.h +++ b/arch/arm/include/asm/arch-exynos/cpu.h @@ -58,6 +58,8 @@ #define EXYNOS4_GPIO_PART4_BASE DEVICE_NOT_AVAILABLE /* EXYNOS5 */ +#define EXYNOS5_I2C_SPACING 0x10000 + #define EXYNOS5_GPIO_PART4_BASE 0x03860000 #define EXYNOS5_PRO_ID 0x10000000 #define EXYNOS5_CLOCK_BASE 0x10010000