From patchwork Thu Jul 19 11:39:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 10141 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 D5F4F23E3D for ; Thu, 19 Jul 2012 11:34:32 +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 A6894A187B6 for ; Thu, 19 Jul 2012 11:34:32 +0000 (UTC) Received: by mail-yw0-f52.google.com with SMTP id p61so2818189yhp.11 for ; Thu, 19 Jul 2012 04:34:32 -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=XG1kOblKr7Z1zQJJADaTYHBsmnqgTdzju9bKGfor/kI=; b=PcDHNps6lT0oW/QMLvTskDMzm30hSRc1myz6AIm2y/1NAHkg/56PEJJOAbFQXMSGQU mgW/SeeGl+oY5rltLvLwgvD2AEM+iBlk/IaunxyNbXNE9SleSJAzkl0w2uvUBcgARiDr nucU6M+9w6h5BSkrQQjFEGgyIsLA2aqvmi0WJ+m3S7LEMjDxDyO6sP4kjq1ldK5iRg22 jysoDswb3OeYpuQMoab3XyYSJLNii71/hW9r79Qnxm0lH5N2vkmwQWUEqWPKjAHnHHGM sVNN+1zYixo+RtCL0CTCE1jhMvDZdQ08RHnui02VHEj6MpPLxPcX/1UgloqkmIrJB+zc dSLg== Received: by 10.50.40.193 with SMTP id z1mr1071161igk.0.1342697672310; Thu, 19 Jul 2012 04:34:32 -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 i7csp9638ibw; Thu, 19 Jul 2012 04:34:31 -0700 (PDT) Received: by 10.66.73.132 with SMTP id l4mr3194300pav.30.1342697671689; Thu, 19 Jul 2012 04:34:31 -0700 (PDT) Received: from mailout3.samsung.com (mailout3.samsung.com. [203.254.224.33]) by mx.google.com with ESMTP id pd9si3927650pbc.45.2012.07.19.04.34.31; Thu, 19 Jul 2012 04:34:31 -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 epcpsbgm2.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 <0M7E00DUVO5BH870@mailout3.samsung.com>; Thu, 19 Jul 2012 20:34:30 +0900 (KST) X-AuditID: cbfee61b-b7f566d000005c8a-4d-5007f0c6c60d Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 4D.A6.23690.6C0F7005; Thu, 19 Jul 2012 20:34:30 +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 <0M7E00GKSO532160@mmp2.samsung.com>; Thu, 19 Jul 2012 20:34:30 +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 V6] EXYNOS5: define EXYNOS5_I2C_SPACING Date: Thu, 19 Jul 2012 17:09:56 +0530 Message-id: <1342698001-27683-4-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1342698001-27683-1-git-send-email-rajeshwari.s@samsung.com> References: <1342698001-27683-1-git-send-email-rajeshwari.s@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrOJMWRmVeSWpSXmKPExsVy+t9jQd1jH9gDDPr/i1s8XH+TxWLK4S8s Dkwed67tYQtgjOKySUnNySxLLdK3S+DKuDb5BUtBH1vF/M7UBsYZrF2MnBwSAiYSW9/tYYKw xSQu3FvP1sXIxSEkMJ1R4sK3W+wQzkQmiXnPP7GDVLEJGElsPTmNEcQWEZCQ+NV/lRGkiFlg C6PE8VcX2UASwgLWEk2vpwKt4OBgEVCVOLwnDCTMK+Ah0bPyBDvENgWJY1O/gl3BKeAp0bv3 HlhcCKjmSPNqxgmMvAsYGVYxiqYWJBcUJ6XnGukVJ+YWl+al6yXn525iBHv/mfQOxlUNFocY BTgYlXh4O/TZA4RYE8uKK3MPMUpwMCuJ8G67DxTiTUmsrEotyo8vKs1JLT7EKM3BoiTOa+L9 1V9IID2xJDU7NbUgtQgmy8TBKdXAWP7wwWvv6hkChzerm7o+U7dKuXHmaWDOE72GRZm/GAu8 FfaVnq00Xfatv1R+7xHjnbpCexNstqvPczh0tNDSYz2zmb2+S5nm3gOc042CGAOP3eZkmBba dIEnkfMAK9sUFdOG6EteGomxmZOEw/jqS68vLndarmKblBr9MFr4ROvL1bxnz2opsRRnJBpq MRcVJwIAVbr1yvoBAAA= X-TM-AS-MML: No X-Gm-Message-State: ALoCoQngxwr3wmRPrLXaDNH71SxWxV0CRP6JThCLNrcXtHbku1eeCU2+yJShkbrEgq4Emd6tIpgJ 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. 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