Skip to contentSkip to conversation

ARM: EXYNOS: Add I2S SFR base addresses

PATCH New Kukjin Kim 2 participants 2 messages Aug 1, 2012 1 message not in the archive Arm Samsung Exynos

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Kukjin Kim

author
#1 lore raw

PATCH 1/1 ARM: EXYNOS: Add I2S SFR base addresses

PADMAVATHI VENNA wrote:

Padma, don't post with html styled :(

And you need to check the regarding addresses as per Sachin commented.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

------- Original Message -------
Sender : Sachin Kamat<[email protected]> Date : Jul 26, 2012 13:41 (GMT+09:00)
Title : Re: [PATCH] ARM: EXYNOS: Add I2S SFR base addresses ?

Quoted 7 lines · Padmavathi Venna

The base address of I2S 0 controller is similar in exynos4 and exynos5 platforms. So this patch defines a common macro for the I2S controller 0 base address in both the platforms and use the same macro.

This patch also defines the I2S controller 1,2 base addresses in exynos5 and correct the I2S controller 1 base address in exynos4

Review

Quoted 7 lines
Signed-off-by Padmavathi Venna

---
??arch/arm/mach-exynos/dev-audio.c????????|????2 +- ??arch/arm/mach-exynos/include/mach/map.h |????6 ++++-- ??2 files changed, 5 insertions(+), 3 deletions(-)

(quoted diff) +0 -0

b/arch/arm/mach-exynos/dev-audio.c

Review

Quoted 13 lines

index b33a5b6..5dbc9a2 100644

arch/arm/mach-exynos/dev-audio.c +1 -1
@@ -62,7 +62,7 @@ static struct s3c_audio_pdata i2sv5_pdata = {
 ??};
 
 ??static struct resource exynos4_i2s0_resource[] = {
-?????? [0] = DEFINE_RES_MEM(EXYNOS4_PA_I2S0, SZ_256),
+?????? [0] = DEFINE_RES_MEM(EXYNOS_PA_I2S0, SZ_256),
 ???????? [1] = DEFINE_RES_DMA(DMACH_I2S0_TX),
 ???????? [2] = DEFINE_RES_DMA(DMACH_I2S0_RX),
 ???????? [3] = DEFINE_RES_DMA(DMACH_I2S0S_TX),
(quoted diff) +0 -0

b/arch/arm/mach-exynos/include/mach/map.h

Quoted 11 lines

index c72b675..5cf7d91 100644

arch/arm/mach-exynos/include/mach/map.h +0 -0
@@ -39,9 +39,11 @@
 

??#define EXYNOS4_PA_G2D???????????????? 0x12800000

arch/arm/mach-exynos/include/mach/map.h +2 -2
-#define EXYNOS4_PA_I2S0????????????????????????0x03830000
-#define EXYNOS4_PA_I2S1????????????????????????0xE3100000
+#define EXYNOS_PA_I2S0???????????????? 0x03830000
+#define EXYNOS4_PA_I2S1????????????????????????0xE2100000
Quoted 1 line

??#define EXYNOS4_PA_I2S2????????????????????????0xE2A00000

As per the TRM, these addresses (I2S1 and I2S2) are 0x13960000 and 0x13970000 respectively on Exynos4412 SoC.
Please verify.
I didn't verify Exynos4412 before. I will send a new patch for this.

Quoted 10 lines
arch/arm/mach-exynos/include/mach/map.h +2 -0
+#define EXYNOS5_PA_I2S1????????????????????????0x12D60000
+#define EXYNOS5_PA_I2S2????????????????????????0x12D70000

??#define EXYNOS4_PA_PCM0????????????????????????0x03840000 ??#define EXYNOS4_PA_PCM1????????????????????????0x13980000 --
1.7.4.4

--
To unsubscribe from this list: send the line "unsubscribe

linux-samsung-soc" in

Quoted 2 lines

the body of a message to majordomo at vger.kernel.org More majordomo info at??http://vger.kernel.org/majordomo-info.html

#2 lore raw

PATCH 1/1 ARM: EXYNOS: Add I2S SFR base addresses

Quoted 3 lines · Kukjin Kim

PADMAVATHI VENNA wrote:

Padma, don't post with html styled :(

Sorry for the inconvenience. I will take care.

Quoted 2 lines

And you need to check the regarding addresses as per Sachin commented.

Okay.

Quoted 5 lines

Thanks.

Best regards,
Kgene.

Thanks&Regards
Padma

Quoted 76 lines

--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

------- Original Message -------
Sender : Sachin Kamat<[email protected]> Date : Jul 26, 2012 13:41 (GMT+09:00)
Title : Re: [PATCH] ARM: EXYNOS: Add I2S SFR base addresses

Quoted 7 lines · Padmavathi Venna

The base address of I2S 0 controller is similar in exynos4 and exynos5 platforms. So this patch defines a common macro for the I2S controller 0 base address in both the platforms and use the same macro.

This patch also defines the I2S controller 1,2 base addresses in exynos5 and correct the I2S controller 1 base address in exynos4

Review

Quoted 7 lines
Signed-off-by Padmavathi Venna
---
 arch/arm/mach-exynos/dev-audio.c        |    2 +-
 arch/arm/mach-exynos/include/mach/map.h |    6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)
(quoted diff) +0 -0

b/arch/arm/mach-exynos/dev-audio.c

Review

Quoted 13 lines

index b33a5b6..5dbc9a2 100644

arch/arm/mach-exynos/dev-audio.c +1 -1
@@ -62,7 +62,7 @@ static struct s3c_audio_pdata i2sv5_pdata = {
 };
 
 static struct resource exynos4_i2s0_resource[] = {
-       [0] = DEFINE_RES_MEM(EXYNOS4_PA_I2S0, SZ_256),
+       [0] = DEFINE_RES_MEM(EXYNOS_PA_I2S0, SZ_256),
        [1] = DEFINE_RES_DMA(DMACH_I2S0_TX),
        [2] = DEFINE_RES_DMA(DMACH_I2S0_RX),
        [3] = DEFINE_RES_DMA(DMACH_I2S0S_TX),
(quoted diff) +0 -0

b/arch/arm/mach-exynos/include/mach/map.h

arch/arm/mach-exynos/include/mach/map.h line 44

Quoted 12 lines

index c72b675..5cf7d91 100644

arch/arm/mach-exynos/include/mach/map.h +2 -2
@@ -39,9 +39,11 @@
 
 #define EXYNOS4_PA_G2D                 0x12800000
 
-#define EXYNOS4_PA_I2S0                        0x03830000
-#define EXYNOS4_PA_I2S1                        0xE3100000
+#define EXYNOS_PA_I2S0                 0x03830000
+#define EXYNOS4_PA_I2S1                        0xE2100000
 #define EXYNOS4_PA_I2S2                        0xE2A00000

As per the TRM, these addresses (I2S1 and I2S2) are 0x13960000 and 0x13970000 respectively on Exynos4412 SoC.
Please verify.
I didn't verify Exynos4412 before. I will send a new patch for this.

Quoted 10 lines
arch/arm/mach-exynos/include/mach/map.h +2 -1
+#define EXYNOS5_PA_I2S1                        0x12D60000
+#define EXYNOS5_PA_I2S2                        0x12D70000
 
 #define EXYNOS4_PA_PCM0                        0x03840000
 #define EXYNOS4_PA_PCM1                        0x13980000
--

1.7.4.4

--
To unsubscribe from this list: send the line "unsubscribe

linux-samsung-soc" in

Quoted 2 lines

the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html