<HTML><HEAD><TITLE>Samsung Enterprise Portal mySingle</TITLE>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<STYLE id=mysingle_style type=text/css>P {
MARGIN-TOP: 5px; FONT-FAMILY: Arial, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
TD {
MARGIN-TOP: 5px; FONT-FAMILY: Arial, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
LI {
MARGIN-TOP: 5px; FONT-FAMILY: Arial, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
BODY {
LINE-HEIGHT: 1.4; MARGIN: 10px; FONT-FAMILY: Arial, arial; FONT-SIZE: 9pt
}
</STYLE>
<META name=GENERATOR content=ActiveSquare></HEAD>
<BODY>
<P> </P>
<P> </P>
<P>------- <B>Original Message</B> -------</P>
<P><B>Sender</B> : Sachin Kamat<sachin.kamat@linaro.org></P>
<P><B>Date</B> : Jul 26, 2012 13:41 (GMT+09:00)</P>
<P><B>Title</B> : Re: [PATCH] ARM: EXYNOS: Add I2S SFR base addresses</P>
<P> </P>
<P>On 25 July 2012 17:35, Padmavathi Venna <PADMA.V@SAMSUNG.COM>wrote:<BR>> The base address of I2S 0 controller is similar in exynos4 and exynos5<BR>> platforms. So this patch defines a common macro for the I2S controller<BR>> 0 base address in both the platforms and use the same macro.<BR>><BR>> This patch also defines the I2S controller 1,2 base addresses in exynos5<BR>> and correct the I2S controller 1 base address in exynos4<BR>><BR>> Signed-off-by: Padmavathi Venna <PADMA.V@SAMSUNG.COM><BR>> ---<BR>> arch/arm/mach-exynos/dev-audio.c | 2 +-<BR>> arch/arm/mach-exynos/include/mach/map.h | 6 ++++--<BR>> 2 files changed, 5 insertions(+), 3 deletions(-)<BR>><BR>> diff --git a/arch/arm/mach-exynos/dev-audio.c b/arch/arm/mach-exynos/dev-audio.c<BR>> index b33a5b6..5dbc9a2 100644<BR>> --- a/arch/arm/mach-exynos/dev-audio.c<BR>> +++ b/arch/arm/mach-exynos/dev-audio.c<BR>> @@ -62,7 +62,7 @@ static struct s3c_audio_pdata i2sv5_pdata = {<BR>> };<BR>><BR>> static struct resource exynos4_i2s0_resource[] = {<BR>> - [0] = DEFINE_RES_MEM(EXYNOS4_PA_I2S0, SZ_256),<BR>> + [0] = DEFINE_RES_MEM(EXYNOS_PA_I2S0, SZ_256),<BR>> [1] = DEFINE_RES_DMA(DMACH_I2S0_TX),<BR>> [2] = DEFINE_RES_DMA(DMACH_I2S0_RX),<BR>> [3] = DEFINE_RES_DMA(DMACH_I2S0S_TX),<BR>> diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-exynos/include/mach/map.h<BR>> index c72b675..5cf7d91 100644<BR>> --- a/arch/arm/mach-exynos/include/mach/map.h<BR>> +++ b/arch/arm/mach-exynos/include/mach/map.h<BR>> @@ -39,9 +39,11 @@<BR>><BR>> #define EXYNOS4_PA_G2D 0x12800000<BR>><BR>> -#define EXYNOS4_PA_I2S0 0x03830000<BR>> -#define EXYNOS4_PA_I2S1 0xE3100000<BR>> +#define EXYNOS_PA_I2S0 0x03830000<BR>> +#define EXYNOS4_PA_I2S1 0xE2100000<BR>> #define EXYNOS4_PA_I2S2 0xE2A00000<BR><BR>As per the TRM, these addresses (I2S1 and I2S2) are 0x13960000 and<BR>0x13970000 respectively on Exynos4412 SoC.<BR>Please verify.<BR></P>
<P>I didn't verify Exynos4412 before. I will send a new patch for this.<BR><BR>> +#define EXYNOS5_PA_I2S1 0x12D60000<BR>> +#define EXYNOS5_PA_I2S2 0x12D70000<BR>><BR>> #define EXYNOS4_PA_PCM0 0x03840000<BR>> #define EXYNOS4_PA_PCM1 0x13980000<BR>> --<BR>> 1.7.4.4<BR>><BR>> --<BR>> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in<BR>> the body of a message to majordomo@vger.kernel.org<BR>> More majordomo info at http://vger.kernel.org/majordomo-info.html<BR><BR><BR><BR>-- <BR>With warm regards,<BR>Sachin<BR></P>
<P> </P>
<P> </P><!--SP:padma.v--><!--padma.v:EP-->
<P> </P>
<TABLE id=confidentialsignimg>
<TBODY>
<TR>
<TD NAMO_LOCK>
<P><IMG border=0 src="cid:BEI0XT4NZ5JE@namo.co.kr" width=520></P></TD></TR></TBODY></TABLE></BODY></HTML><img src='http://ext.samsung.net/mailcheck/SeenTimeChecker?do=d204deaec1d7c072dc8029e65a293962789ede69f65b00d24b1dd48d13fbd54633bdcf9cfcf1fe08cafc8ddccc8d938939acb83baf5b98ef25eb60af823b1ef6db9fdddda33e82cbe4a391424e62fcf6cf878f9a26ce15a0' border=0 width=0 height=0 style='display:none'>