Message ID | 1340188810-18871-5-git-send-email-rajeshwari.s@samsung.com |
---|---|
State | New |
Headers | show |
Hi, Rajeshwari. 2012/6/20 Rajeshwari Shinde <rajeshwari.s@samsung.com>: > Define additional registers for clock control in Exynos5250 Rev 1.0 > Many registers for clock is missed for EVT1 and exist for EVT0 still in this patch. Please make using all registers of clock for EVT1 only. Thanks. > Signed-off-by: Hatim Ali <hatim.rv@samsung.com> > Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com> > --- > arch/arm/include/asm/arch-exynos/clock.h | 36 +++++++++++++++++++++-------- > 1 files changed, 26 insertions(+), 10 deletions(-) > > diff --git a/arch/arm/include/asm/arch-exynos/clock.h b/arch/arm/include/asm/arch-exynos/clock.h > index 50da958..7cc3d5e 100644 > --- a/arch/arm/include/asm/arch-exynos/clock.h > +++ b/arch/arm/include/asm/arch-exynos/clock.h > @@ -272,7 +272,7 @@ struct exynos5_clock { > unsigned int clkout_cmu_cpu; > unsigned int clkout_cmu_cpu_div_stat; > unsigned char res8[0x5f8]; > - unsigned int armclk_stopctrl; > + unsigned int armclk_stopctrl; /* base + 0x1000 */ > unsigned int atclk_stopctrl; > unsigned char res9[0x8]; > unsigned int parityfail_status; > @@ -323,10 +323,12 @@ struct exynos5_clock { > unsigned char res19[0xf8]; > unsigned int div_core0; > unsigned int div_core1; > - unsigned char res20[0xf8]; > + unsigned int div_sysrgt; > + unsigned char res20[0xf4]; > unsigned int div_stat_core0; > unsigned int div_stat_core1; > - unsigned char res21[0x2f8]; > + unsigned int div_stat_sysrgt; > + unsigned char res21[0x2f4]; > unsigned int gate_ip_core; > unsigned char res22[0xfc]; > unsigned int clkout_cmu_core; > @@ -352,7 +354,11 @@ struct exynos5_clock { > unsigned int div_stat_acp; > unsigned char res30[0x1fc]; > unsigned int gate_ip_acp; > - unsigned char res31[0x1fc]; > + unsigned char res31a[0xfc]; > + unsigned int div_syslft; > + unsigned char res31b[0xc]; > + unsigned int div_stat_syslft; > + unsigned char res31c[0xec]; > unsigned int clkout_cmu_acp; > unsigned int clkout_cmu_acp_div_stat; > unsigned char res32[0x38f8]; > @@ -379,7 +385,9 @@ struct exynos5_clock { > unsigned int epll_lock; > unsigned char res40[0xc]; > unsigned int vpll_lock; > - unsigned char res41[0xdc]; > + unsigned char res41a[0xc]; > + unsigned int gpll_lock; > + unsigned char res41b[0xcc]; > unsigned int cpll_con0; > unsigned int cpll_con1; > unsigned char res42[0x8]; > @@ -390,7 +398,10 @@ struct exynos5_clock { > unsigned int vpll_con0; > unsigned int vpll_con1; > unsigned int vpll_con2; > - unsigned char res44[0xc4]; > + unsigned char res44a[0x4]; > + unsigned int gpll_con0; > + unsigned int gpll_con1; > + unsigned char res44b[0xb8]; > unsigned int src_top0; > unsigned int src_top1; > unsigned int src_top2; > @@ -521,7 +532,9 @@ struct exynos5_clock { > unsigned int clkout_cmu_top_div_stat; > unsigned char res84[0x37f8]; > unsigned int src_lex; > - unsigned char res85[0x2fc]; > + unsigned char res85[0x1fc]; > + unsigned int mux_stat_lex; > + unsigned char res85b[0xfc]; > unsigned int div_lex; > unsigned char res86[0xfc]; > unsigned int div_stat_lex; > @@ -549,7 +562,8 @@ struct exynos5_clock { > unsigned int clkout_cmu_r1x; > unsigned int clkout_cmu_r1x_div_stat; > unsigned char res98[0x3608]; > - unsigned int bpll_lock; > + > + unsigned int bpll_lock; /* base + 0x2000c */ > unsigned char res99[0xfc]; > unsigned int bpll_con0; > unsigned int bpll_con1; > @@ -574,8 +588,10 @@ struct exynos5_clock { > unsigned int clkout_cmu_cdrex_div_stat; > unsigned char res108[0x8]; > unsigned int lpddr3phy_ctrl; > - unsigned char res109[0xf5f8]; > + unsigned char res109a[0xc]; > + unsigned int lpddr3phy_con3; > + unsigned int pll_div2_sel; > + unsigned char res109b[0xf5e4]; > }; > #endif > - > #endif > -- > 1.7.4.4 >
Hi Joonyoung Shim, Thank you for comments. On Thu, Jun 21, 2012 at 10:25 AM, Joonyoung Shim <dofmind@gmail.com> wrote: > Hi, Rajeshwari. > > 2012/6/20 Rajeshwari Shinde <rajeshwari.s@samsung.com>: >> Define additional registers for clock control in Exynos5250 Rev 1.0 >> > > Many registers for clock is missed for EVT1 and exist for EVT0 still > in this patch. > Please make using all registers of clock for EVT1 only. -- Will check the same and resend the patch. > > Thanks. > >> Signed-off-by: Hatim Ali <hatim.rv@samsung.com> >> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com> >> --- >> arch/arm/include/asm/arch-exynos/clock.h | 36 +++++++++++++++++++++-------- >> 1 files changed, 26 insertions(+), 10 deletions(-) >> >> diff --git a/arch/arm/include/asm/arch-exynos/clock.h b/arch/arm/include/asm/arch-exynos/clock.h >> index 50da958..7cc3d5e 100644 >> --- a/arch/arm/include/asm/arch-exynos/clock.h >> +++ b/arch/arm/include/asm/arch-exynos/clock.h >> @@ -272,7 +272,7 @@ struct exynos5_clock { >> unsigned int clkout_cmu_cpu; >> unsigned int clkout_cmu_cpu_div_stat; >> unsigned char res8[0x5f8]; >> - unsigned int armclk_stopctrl; >> + unsigned int armclk_stopctrl; /* base + 0x1000 */ >> unsigned int atclk_stopctrl; >> unsigned char res9[0x8]; >> unsigned int parityfail_status; >> @@ -323,10 +323,12 @@ struct exynos5_clock { >> unsigned char res19[0xf8]; >> unsigned int div_core0; >> unsigned int div_core1; >> - unsigned char res20[0xf8]; >> + unsigned int div_sysrgt; >> + unsigned char res20[0xf4]; >> unsigned int div_stat_core0; >> unsigned int div_stat_core1; >> - unsigned char res21[0x2f8]; >> + unsigned int div_stat_sysrgt; >> + unsigned char res21[0x2f4]; >> unsigned int gate_ip_core; >> unsigned char res22[0xfc]; >> unsigned int clkout_cmu_core; >> @@ -352,7 +354,11 @@ struct exynos5_clock { >> unsigned int div_stat_acp; >> unsigned char res30[0x1fc]; >> unsigned int gate_ip_acp; >> - unsigned char res31[0x1fc]; >> + unsigned char res31a[0xfc]; >> + unsigned int div_syslft; >> + unsigned char res31b[0xc]; >> + unsigned int div_stat_syslft; >> + unsigned char res31c[0xec]; >> unsigned int clkout_cmu_acp; >> unsigned int clkout_cmu_acp_div_stat; >> unsigned char res32[0x38f8]; >> @@ -379,7 +385,9 @@ struct exynos5_clock { >> unsigned int epll_lock; >> unsigned char res40[0xc]; >> unsigned int vpll_lock; >> - unsigned char res41[0xdc]; >> + unsigned char res41a[0xc]; >> + unsigned int gpll_lock; >> + unsigned char res41b[0xcc]; >> unsigned int cpll_con0; >> unsigned int cpll_con1; >> unsigned char res42[0x8]; >> @@ -390,7 +398,10 @@ struct exynos5_clock { >> unsigned int vpll_con0; >> unsigned int vpll_con1; >> unsigned int vpll_con2; >> - unsigned char res44[0xc4]; >> + unsigned char res44a[0x4]; >> + unsigned int gpll_con0; >> + unsigned int gpll_con1; >> + unsigned char res44b[0xb8]; >> unsigned int src_top0; >> unsigned int src_top1; >> unsigned int src_top2; >> @@ -521,7 +532,9 @@ struct exynos5_clock { >> unsigned int clkout_cmu_top_div_stat; >> unsigned char res84[0x37f8]; >> unsigned int src_lex; >> - unsigned char res85[0x2fc]; >> + unsigned char res85[0x1fc]; >> + unsigned int mux_stat_lex; >> + unsigned char res85b[0xfc]; >> unsigned int div_lex; >> unsigned char res86[0xfc]; >> unsigned int div_stat_lex; >> @@ -549,7 +562,8 @@ struct exynos5_clock { >> unsigned int clkout_cmu_r1x; >> unsigned int clkout_cmu_r1x_div_stat; >> unsigned char res98[0x3608]; >> - unsigned int bpll_lock; >> + >> + unsigned int bpll_lock; /* base + 0x2000c */ >> unsigned char res99[0xfc]; >> unsigned int bpll_con0; >> unsigned int bpll_con1; >> @@ -574,8 +588,10 @@ struct exynos5_clock { >> unsigned int clkout_cmu_cdrex_div_stat; >> unsigned char res108[0x8]; >> unsigned int lpddr3phy_ctrl; >> - unsigned char res109[0xf5f8]; >> + unsigned char res109a[0xc]; >> + unsigned int lpddr3phy_con3; >> + unsigned int pll_div2_sel; >> + unsigned char res109b[0xf5e4]; >> }; >> #endif >> - >> #endif >> -- >> 1.7.4.4 >> > > > > -- > - Joonyoung Shim > _______________________________________________ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot Regards, Rajeshwari Shinde.
diff --git a/arch/arm/include/asm/arch-exynos/clock.h b/arch/arm/include/asm/arch-exynos/clock.h index 50da958..7cc3d5e 100644 --- a/arch/arm/include/asm/arch-exynos/clock.h +++ b/arch/arm/include/asm/arch-exynos/clock.h @@ -272,7 +272,7 @@ struct exynos5_clock { unsigned int clkout_cmu_cpu; unsigned int clkout_cmu_cpu_div_stat; unsigned char res8[0x5f8]; - unsigned int armclk_stopctrl; + unsigned int armclk_stopctrl; /* base + 0x1000 */ unsigned int atclk_stopctrl; unsigned char res9[0x8]; unsigned int parityfail_status; @@ -323,10 +323,12 @@ struct exynos5_clock { unsigned char res19[0xf8]; unsigned int div_core0; unsigned int div_core1; - unsigned char res20[0xf8]; + unsigned int div_sysrgt; + unsigned char res20[0xf4]; unsigned int div_stat_core0; unsigned int div_stat_core1; - unsigned char res21[0x2f8]; + unsigned int div_stat_sysrgt; + unsigned char res21[0x2f4]; unsigned int gate_ip_core; unsigned char res22[0xfc]; unsigned int clkout_cmu_core; @@ -352,7 +354,11 @@ struct exynos5_clock { unsigned int div_stat_acp; unsigned char res30[0x1fc]; unsigned int gate_ip_acp; - unsigned char res31[0x1fc]; + unsigned char res31a[0xfc]; + unsigned int div_syslft; + unsigned char res31b[0xc]; + unsigned int div_stat_syslft; + unsigned char res31c[0xec]; unsigned int clkout_cmu_acp; unsigned int clkout_cmu_acp_div_stat; unsigned char res32[0x38f8]; @@ -379,7 +385,9 @@ struct exynos5_clock { unsigned int epll_lock; unsigned char res40[0xc]; unsigned int vpll_lock; - unsigned char res41[0xdc]; + unsigned char res41a[0xc]; + unsigned int gpll_lock; + unsigned char res41b[0xcc]; unsigned int cpll_con0; unsigned int cpll_con1; unsigned char res42[0x8]; @@ -390,7 +398,10 @@ struct exynos5_clock { unsigned int vpll_con0; unsigned int vpll_con1; unsigned int vpll_con2; - unsigned char res44[0xc4]; + unsigned char res44a[0x4]; + unsigned int gpll_con0; + unsigned int gpll_con1; + unsigned char res44b[0xb8]; unsigned int src_top0; unsigned int src_top1; unsigned int src_top2; @@ -521,7 +532,9 @@ struct exynos5_clock { unsigned int clkout_cmu_top_div_stat; unsigned char res84[0x37f8]; unsigned int src_lex; - unsigned char res85[0x2fc]; + unsigned char res85[0x1fc]; + unsigned int mux_stat_lex; + unsigned char res85b[0xfc]; unsigned int div_lex; unsigned char res86[0xfc]; unsigned int div_stat_lex; @@ -549,7 +562,8 @@ struct exynos5_clock { unsigned int clkout_cmu_r1x; unsigned int clkout_cmu_r1x_div_stat; unsigned char res98[0x3608]; - unsigned int bpll_lock; + + unsigned int bpll_lock; /* base + 0x2000c */ unsigned char res99[0xfc]; unsigned int bpll_con0; unsigned int bpll_con1; @@ -574,8 +588,10 @@ struct exynos5_clock { unsigned int clkout_cmu_cdrex_div_stat; unsigned char res108[0x8]; unsigned int lpddr3phy_ctrl; - unsigned char res109[0xf5f8]; + unsigned char res109a[0xc]; + unsigned int lpddr3phy_con3; + unsigned int pll_div2_sel; + unsigned char res109b[0xf5e4]; }; #endif - #endif