[3/8,V6] EXYNOS5: define EXYNOS5_I2C_SPACING

Message ID 1342698001-27683-4-git-send-email-rajeshwari.s@samsung.com
State Superseded
Headers show

Commit Message

Rajeshwari Shinde July 19, 2012, 11:39 a.m.
This patch defined EXYNOS5_I2C_SPACING used to calculate I2C channel
base address.

Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
---
Changes in V6:
	- New patch.
 arch/arm/include/asm/arch-exynos/cpu.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Comments

Simon Glass July 19, 2012, 6:18 p.m. | #1
On Thu, Jul 19, 2012 at 12:39 PM, Rajeshwari Shinde
<rajeshwari.s@samsung.com> wrote:
> This patch defined EXYNOS5_I2C_SPACING used to calculate I2C channel
> base address.
>
> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>

Acked-by: Simon Glass <sjg@chromium.org>

> ---
> 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
> --
> 1.7.4.4
>

Patch

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