ARM: OMAP5: Add support for OMAP543x ES2.0 Socs
cover ARM: OMAP5: Add support for OMAP543x ES2.0 Socs
ES2.0 is the latest silicon revision for OMAP543X socs. The SOC supports enhanced opps for MPU (up to 1.5GHz). This series essentially adds the support for both 5430 and 5432 versions.
This is on top of the below U-Boot cleanup series.
http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/152563
Lokesh Vutla (2):
ARM: OMAP5: Add DDR changes required for OMAP543X ES2.0 SOCs
ARM: OMAP5: srcomp: enable slew rate compensation cells after powerup
R Sricharan (3):
ARM: OMAP5: Add silicon id support for ES2.0 revision.
ARM: OMAP5: clock: Add the prcm register changes required for ES2.0
ARM: OMAP5: clocks: Add OPP settings required for OMAP543X ES2.0 soc
arch/arm/cpu/armv7/omap-common/clocks-common.c | 4 + arch/arm/cpu/armv7/omap-common/hwinit-common.c | 6 + arch/arm/cpu/armv7/omap4/hw_data.c | 140 ++++++------ arch/arm/cpu/armv7/omap5/hw_data.c | 255 ++++++++++++++------- arch/arm/cpu/armv7/omap5/hwinit.c | 129 ++++++++++- arch/arm/cpu/armv7/omap5/prcm-regs.c | 286 ++++++++++++++++++++++++ arch/arm/cpu/armv7/omap5/sdram.c | 75 ++++++- arch/arm/include/asm/arch-omap5/clocks.h | 8 + arch/arm/include/asm/arch-omap5/omap.h | 27 +++ arch/arm/include/asm/arch-omap5/sys_proto.h | 1 + arch/arm/include/asm/armv7.h | 1 + arch/arm/include/asm/emif.h | 1 + arch/arm/include/asm/omap_common.h | 14 +- 13 files changed, 787 insertions(+), 160 deletions(-)
Signature · 1 line
1.7.9.5
PATCH 1/5 ARM: OMAP5: Add silicon id support for ES2.0 revision.
Adding the CPU detection suport for OMAP5430 and
OMAP5432 ES2.0 SOCs.
--- arch/arm/cpu/armv7/omap5/hwinit.c | 13 +++++++++++-- arch/arm/include/asm/arch-omap5/omap.h | 2 ++ arch/arm/include/asm/armv7.h | 1 + arch/arm/include/asm/omap_common.h | 2 ++ 4 files changed, 16 insertions(+), 2 deletions(-)
arch/arm/cpu/armv7/omap5/hwinit.c +11 -2
@@ -216,8 +216,17 @@ void init_omap_revision(void)break ; }break ; -default : - *omap_si_rev =OMAP5430_SILICON_ID_INVALID ; +case MIDR_CORTEX_A15_R2P2 : +switch (readl (CONTROL_ID_CODE )) { +case OMAP5430_CONTROL_ID_CODE_ES2_0 : + *omap_si_rev =OMAP5430_ES2_0 ; +break ; +case OMAP5432_CONTROL_ID_CODE_ES2_0 : + *omap_si_rev =OMAP5432_ES2_0 ; +break ; +default : + *omap_si_rev =OMAP5430_SILICON_ID_INVALID ; + } } }
arch/arm/include/asm/arch-omap5/omap.h +2 -0
@@ -57,7 +57,9 @@/* To be verified */ #define OMAP5430_CONTROL_ID_CODE_ES1_0 0x0B94202F +#define OMAP5430_CONTROL_ID_CODE_ES2_0 0x1B94202F#define OMAP5432_CONTROL_ID_CODE_ES1_0 0x0B99802F +#define OMAP5432_CONTROL_ID_CODE_ES2_0 0x1B99802F/* STD_FUSE_PROD_ID_1 */ #define STD_FUSE_PROD_ID_1 (CTRL_BASE + 0x218)
arch/arm/include/asm/armv7.h +1 -0
@@ -33,6 +33,7 @@/* Cortex-A15 revisions */ #define MIDR_CORTEX_A15_R0P0 0x410FC0F0 +#define MIDR_CORTEX_A15_R2P2 0x412FC0F2/* CCSIDR */ #define CCSIDR_LINE_SIZE_OFFSET 0
arch/arm/include/asm/omap_common.h +2 -0
@@ -542,4 +542,6 @@ static inline u32 omap_revision(void)#define OMAP5430_SILICON_ID_INVALID 0#define OMAP5430_ES1_0 0x54300100#define OMAP5432_ES1_0 0x54320100 +#define OMAP5430_ES2_0 0x54300200 +#define OMAP5432_ES2_0 0x54320200#endif /* _OMAP_COMMON_H_ */
Signature · 1 line
1.7.9.5
PATCH 1/5 ARM: OMAP5: Add silicon id support for ES2.0 revision.
Quoted 4 lines · R Sricharan
Adding the CPU detection suport for OMAP5430 and
OMAP5432 ES2.0 SOCs.Signed-off-by R Sricharan <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130131/b339cf94/attachment.pgp>
PATCH 2/5 ARM: OMAP5: clock: Add the prcm register changes required for ES2.0
In reply to R SricharanPRCM register addresses are changed from ES1.0 to ES2.0 due to PER power domain getting moved to CORE power domain.
So adding the nessecary register changes for the same.
--- arch/arm/cpu/armv7/omap5/hw_data.c | 4 + arch/arm/cpu/armv7/omap5/prcm-regs.c | 283 ++++++++++++++++++++++++++++++++++ arch/arm/include/asm/omap_common.h | 4 + 3 files changed, 291 insertions(+)
arch/arm/cpu/armv7/omap5/hw_data.c +4 -0
@@ -440,6 +440,10 @@ void hw_data_init(void) omap_vcores = &omap5432_volts;break ; +case OMAP5430_ES2_0 : + *prcm = &omap5_es2_prcm; +break ; +default :printf ("\n INVALID OMAP REVISION " ); }
arch/arm/cpu/armv7/omap5/prcm-regs.c +283 -0
286 lines not on this page · raw message
arch/arm/include/asm/omap_common.h +4 -0
@@ -44,6 +44,8 @@ struct prcm_regs {u32 cm_div_h12_dpll_core;u32 cm_div_h13_dpll_core;u32 cm_div_h14_dpll_core; +u32 cm_div_h21_dpll_core; +u32 cm_div_h24_dpll_core;u32 cm_ssc_deltamstep_dpll_core;u32 cm_ssc_modfreqdiv_dpll_core;u32 cm_emu_override_dpll_core;
@@ -128,6 +130,7 @@ struct prcm_regs {u32 cm_div_m3_dpll_per;u32 cm_div_h11_dpll_per;u32 cm_div_h12_dpll_per; +u32 cm_div_h13_dpll_per;u32 cm_div_h14_dpll_per;u32 cm_ssc_deltamstep_dpll_per;u32 cm_ssc_modfreqdiv_dpll_per;
@@ -474,6 +477,7 @@ struct vcores_data {extern struct prcm_regs const **prcm;extern struct prcm_regs const omap5_es1_prcm; +extern struct prcm_regs const omap5_es2_prcm;extern struct prcm_regs const omap4_prcm;extern struct dplls const **dplls_data;extern struct vcores_data *omap_vcores;
Signature · 1 line
1.7.9.5
PATCH 2/5 ARM: OMAP5: clock: Add the prcm register changes required for ES2.0
Quoted 6 lines · R Sricharan
PRCM register addresses are changed from ES1.0 to ES2.0 due to PER power domain getting moved to CORE power domain.
So adding the nessecary register changes for the same.
Signed-off-by R Sricharan <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130131/61f9f9b2/attachment.pgp>
PATCH 3/5 ARM: OMAP5: clocks: Add OPP settings required for OMAP543X ES2.0 soc
In reply to R SricharanChange OPP settings as per the latest 0.4 version of addendum for OMAP5430 ES2.0
--- arch/arm/cpu/armv7/omap-common/clocks-common.c | 4 + arch/arm/cpu/armv7/omap4/hw_data.c | 140 +++++++------- arch/arm/cpu/armv7/omap5/hw_data.c | 238 +++++++++++++++--------- arch/arm/include/asm/arch-omap5/clocks.h | 4 + arch/arm/include/asm/omap_common.h | 6 +- 5 files changed, 236 insertions(+), 156 deletions(-)
arch/arm/cpu/armv7/omap-common/clocks-common.c +4 -0
@@ -103,10 +103,14 @@ void setup_post_dividers(u32 const base, const struct dpll_params *params)writel (params->m6_h13, &dpll_regs->cm_div_m6_h13_dpll);if (params->m7_h14 >=0 )writel (params->m7_h14, &dpll_regs->cm_div_m7_h14_dpll); +if (params->h21 >=0 ) +writel (params->h21, &dpll_regs->cm_div_h21_dpll);if (params->h22 >=0 )writel (params->h22, &dpll_regs->cm_div_h22_dpll);if (params->h23 >=0 )writel (params->h23, &dpll_regs->cm_div_h23_dpll); +if (params->h24 >=0 ) +writel (params->h24, &dpll_regs->cm_div_h24_dpll); }static inline void do_bypass_dpll (u32 const base)
arch/arm/cpu/armv7/omap4/hw_data.c +70 -70
183 lines not on this page · raw message
arch/arm/cpu/armv7/omap5/hw_data.c +153 -85
306 lines not on this page · raw message
arch/arm/include/asm/arch-omap5/clocks.h +4 -0
@@ -208,6 +208,10 @@#define VDD_MM_5432 1150#define VDD_CORE_5432 1150 +#define VDD_MPU_ES2 1060 +#define VDD_MM_ES2 1025 +#define VDD_CORE_ES2 1040 +/* Standard offset is 0.5v expressed in uv */ #define PALMAS_SMPS_BASE_VOLT_UV 500000
arch/arm/include/asm/omap_common.h +5 -1
@@ -426,8 +426,10 @@ struct dpll_params {s8 m5_h12;s8 m6_h13;s8 m7_h14; +s8 h21;s8 h22;s8 h23; +s8 h24; };struct dpll_regs {
@@ -441,9 +443,11 @@ struct dpll_regs {u32 cm_div_m5_h12_dpll;u32 cm_div_m6_h13_dpll;u32 cm_div_m7_h14_dpll; -u32 reserved[3 ]; +u32 reserved[2 ]; +u32 cm_div_h21_dpll;u32 cm_div_h22_dpll;u32 cm_div_h23_dpll; +u32 cm_div_h24_dpll; };struct dplls {
Signature · 1 line
1.7.9.5
PATCH 3/5 ARM: OMAP5: clocks: Add OPP settings required for OMAP543X ES2.0 soc
Quoted 5 lines · R Sricharan
Change OPP settings as per the latest 0.4 version of addendum for OMAP5430 ES2.0
Signed-off-by Lokesh Vutla <[email protected]>Signed-off-by R Sricharan <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130131/33913e8c/attachment.pgp>
PATCH 4/5 ARM: OMAP5: Add DDR changes required for OMAP543X ES2.0 SOCs
In reply to R SricharanFrom: Lokesh Vutla <[email protected]>
Add pre calculated timing settings of LPDDR2 and DDR3 memories present in OMAP5430 and OMAP5432 ES2.0 versions.
Also adding the DDR pad io settings required for
OMAP543X SOCs here.
--- arch/arm/cpu/armv7/omap5/hw_data.c | 13 ++++++ arch/arm/cpu/armv7/omap5/sdram.c | 75 +++++++++++++++++++++++++++++++- arch/arm/include/asm/arch-omap5/omap.h | 6 +++ arch/arm/include/asm/emif.h | 1 + 4 files changed, 93 insertions(+), 2 deletions(-)
arch/arm/cpu/armv7/omap5/hw_data.c +13 -0
@@ -486,6 +486,16 @@ const struct ctrl_ioregs ioregs_omap5432_es1 = { .ctrl_emif_sdram_config_ext = SDRAM_CONFIG_EXT_RD_LVL_11_SAMPLES, }; +const struct ctrl_ioregs ioregs_omap5432_es2 = { + .ctrl_ddrch =DDR_IO_I_40OHM_SR_FAST_WD_DQ_NO_PULL_DQS_NO_PULL_ES2 , + .ctrl_lpddr2ch =0x0 , + .ctrl_ddr3ch =DDR_IO_I_40OHM_SR_SLOWEST_WD_DQ_NO_PULL_DQS_NO_PULL_ES2 , + .ctrl_ddrio_0 =DDR_IO_0_VREF_CELLS_DDR3_VALUE_ES2 , + .ctrl_ddrio_1 =DDR_IO_1_VREF_CELLS_DDR3_VALUE_ES2 , + .ctrl_ddrio_2 =DDR_IO_2_VREF_CELLS_DDR3_VALUE_ES2 , + .ctrl_emif_sdram_config_ext =SDRAM_CONFIG_EXT_RD_LVL_11_SAMPLES , +}; +void hw_data_init (void ) {u32 omap_rev =omap_revision ();
@@ -530,6 +540,9 @@ void get_ioregs(const struct ctrl_ioregs **regs)case OMAP5432_ES1_0 : *regs = &ioregs_omap5432_es1;break ; +case OMAP5432_ES2_0 : + *regs = &ioregs_omap5432_es2; +break ;default :printf ("\n INVALID OMAP REVISION " );
arch/arm/cpu/armv7/omap5/sdram.c +73 -2
112 lines not on this page · raw message
arch/arm/include/asm/arch-omap5/omap.h +6 -0
@@ -168,6 +168,12 @@ struct s32ktimer {#define DDR_IO_1_VREF_CELLS_DDR3_VALUE 0xBC6318DC#define DDR_IO_2_VREF_CELLS_DDR3_VALUE 0x0 +#define DDR_IO_I_40OHM_SR_SLOWEST_WD_DQ_NO_PULL_DQS_NO_PULL_ES2 0x7C7C7C7C +#define DDR_IO_I_40OHM_SR_FAST_WD_DQ_NO_PULL_DQS_NO_PULL_ES2 0x64656465 +#define DDR_IO_0_VREF_CELLS_DDR3_VALUE_ES2 0xBAE8C631 +#define DDR_IO_1_VREF_CELLS_DDR3_VALUE_ES2 0xB46318D8 +#define DDR_IO_2_VREF_CELLS_DDR3_VALUE_ES2 0x84210000 +#define EFUSE_1 0x45145100#define EFUSE_2 0x45145100#define EFUSE_3 0x45145100
arch/arm/include/asm/emif.h +1 -0
@@ -519,6 +519,7 @@#define SDRAM_CONFIG_EXT_RD_LVL_11_SAMPLES 0x0000C1A7#define SDRAM_CONFIG_EXT_RD_LVL_4_SAMPLES 0x000001A7 +#define SDRAM_CONFIG_EXT_RD_LVL_11_SAMPLES_ES2 0x0000C1C7/* DMM */ #define DMM_BASE 0x4E000040
Signature · 1 line
1.7.9.5
PATCH 4/5 ARM: OMAP5: Add DDR changes required for OMAP543X ES2.0 SOCs
Quoted 10 lines · R Sricharan
From: Lokesh Vutla <[email protected]>
Add pre calculated timing settings of LPDDR2 and DDR3 memories present in OMAP5430 and OMAP5432 ES2.0 versions.
Also adding the DDR pad io settings required for
OMAP543X SOCs here.Signed-off-by Lokesh Vutla <[email protected]>Signed-off-by R Sricharan <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130131/9a3c2abd/attachment.pgp>
PATCH 5/5 ARM: OMAP5: srcomp: enable slew rate compensation cells after powerup
In reply to R SricharanFrom: Lokesh Vutla <[email protected]>
After power-up SRCOMP cells are by-passed by default in OMAP5. Software has to enable these SRCOMP sells.
For ES2: All 5 SRCOMP cells needs to be enabled.
For ES1: Only 4 SRCOMP cells in core power domain are enabled.
The 1 in wkup domain is not enabled because smart i/os of wkup domain work with default compensation code.
--- arch/arm/cpu/armv7/omap-common/hwinit-common.c | 6 ++ arch/arm/cpu/armv7/omap5/hwinit.c | 116 ++++++++++++++++++++++++ arch/arm/cpu/armv7/omap5/prcm-regs.c | 5 +- arch/arm/include/asm/arch-omap5/clocks.h | 4 + arch/arm/include/asm/arch-omap5/omap.h | 19 ++++ arch/arm/include/asm/arch-omap5/sys_proto.h | 1 + arch/arm/include/asm/omap_common.h | 2 + 7 files changed, 152 insertions(+), 1 deletion(-)
arch/arm/cpu/armv7/omap-common/hwinit-common.c +6 -0
@@ -35,6 +35,7 @@#include <asm/cache.h> #include <asm/system.h> #include <asm/omap_common.h> +#include <linux/compiler.h> #define ARMV7_DCACHE_WRITEBACK 0xe#define ARMV7_DOMAIN_CLIENT 1
@@ -106,6 +107,10 @@ void spl_display_print(void) }#endif +void __weak srcomp_enable (void ) +{ +} +/* * Routine: s_init * Description: Does early system init of watchdog, muxing, andclocks
@@ -132,6 +137,7 @@ void s_init(void)watchdog_init ();set_mux_conf_regs ();#ifdef CONFIG_SPL_BUILD +srcomp_enable ();setup_clocks_for_console (); gd = &gdata;
arch/arm/cpu/armv7/omap5/hwinit.c +116 -0
128 lines not on this page · raw message
arch/arm/cpu/armv7/omap5/prcm-regs.c +4 -1
@@ -121,6 +121,7 @@ struct prcm_regs const omap5_es1_prcm = {/* cm2.core */ .cm_coreaon_bandgap_clkctrl = 0x4a008648, + .cm_coreaon_io_srcomp_clkctrl = 0x4a008650, .cm_l3_1_clkstctrl = 0x4a008700, .cm_l3_1_dynamicdep = 0x4a008708, .cm_l3_1_l3_1_clkctrl = 0x4a008720,
@@ -266,6 +267,7 @@ struct prcm_regs const omap5_es1_prcm = { .cm_wkup_rtc_clkctrl = 0x4ae07880, .cm_wkup_bandgap_clkctrl = 0x4ae07888, .cm_wkupaon_scrm_clkctrl = 0x4ae07890, + .cm_wkupaon_io_srcomp_clkctrl = 0x4ae07898, .prm_vc_val_bypass = 0x4ae07ba0, .prm_vc_cfg_i2c_mode = 0x4ae07bb4, .prm_vc_cfg_i2c_clk = 0x4ae07bb8,
@@ -474,7 +476,7 @@ struct prcm_regs const omap5_es2_prcm = { .cm_ssc_deltamstep_dpll_unipro = 0x4a0081e8, .cm_ssc_modfreqdiv_dpll_unipro = 0x4a0081ec, .cm_coreaon_bandgap_clkctrl = 0x4a008648, - + .cm_coreaon_io_srcomp_clkctrl = 0x4a008650,/* cm2.core */ .cm_l3_1_clkstctrl = 0x4a008700,
@@ -622,6 +624,7 @@ struct prcm_regs const omap5_es2_prcm = { .cm_wkup_rtc_clkctrl = 0x4ae07980, .cm_wkup_bandgap_clkctrl = 0x4ae07988, .cm_wkupaon_scrm_clkctrl = 0x4ae07990, + .cm_wkupaon_io_srcomp_clkctrl = 0x4ae07998, .prm_vc_val_bypass = 0x4ae07ca0, .prm_vc_cfg_i2c_mode = 0x4ae07cb4, .prm_vc_cfg_i2c_clk = 0x4ae07cb8,
arch/arm/include/asm/arch-omap5/clocks.h +4 -0
@@ -186,6 +186,10 @@#define OPTFCLKEN_SCRM_CORE_SHIFT 8#define OPTFCLKEN_SCRM_CORE_MASK (1 << 8) +/* CM_COREAON_IO_SRCOMP_CLKCTRL */ +#define OPTFCLKEN_SRCOMP_FCLK_SHIFT 8 +#define OPTFCLKEN_SRCOMP_FCLK_MASK (1 << 8) +/* Clock frequencies */ #define OMAP_SYS_CLK_FREQ_38_4_MHZ 38400000#define OMAP_SYS_CLK_IND_38_4_MHZ 6
arch/arm/include/asm/arch-omap5/omap.h +19 -0
@@ -228,7 +228,26 @@ struct s32ktimer {#define CH_FLAGS_CHFLASH (0x1 << 2)#define CH_FLAGS_CHMMCSD (0x1 << 3) +/* CONTROL_SRCOMP_XXX_SIDE */ +#define OVERRIDE_XS_SHIFT 30 +#define OVERRIDE_XS_MASK (1 << 30) +#define SRCODE_READ_XS_SHIFT 12 +#define SRCODE_READ_XS_MASK (0xff << 12) +#define PWRDWN_XS_SHIFT 11 +#define PWRDWN_XS_MASK (1 << 11) +#define DIVIDE_FACTOR_XS_SHIFT 4 +#define DIVIDE_FACTOR_XS_MASK (0x7f << 4) +#define MULTIPLY_FACTOR_XS_SHIFT 1 +#define MULTIPLY_FACTOR_XS_MASK (0x7 << 1) +#define SRCODE_OVERRIDE_SEL_XS_SHIFT 0 +#define SRCODE_OVERRIDE_SEL_XS_MASK (1 << 0) + #ifndef __ASSEMBLY__ +struct srcomp_params { + s8 divide_factor; + s8 multiply_factor; +}; + struct omap_boot_parameters { char *boot_message; unsigned int mem_boot_descriptor;
arch/arm/include/asm/arch-omap5/sys_proto.h +1 -0
@@ -59,6 +59,7 @@ int omap_vc_bypass_send_value(u8 sa, u8 reg_addr, u8 reg_data);u32 warm_reset (void );void force_emif_self_refresh (void );void get_ioregs (const struct ctrl_ioregs **regs); +void srcomp_enable (void );/* * This is used to verify if the configuration header
arch/arm/include/asm/omap_common.h +2 -0
@@ -153,6 +153,7 @@ struct prcm_regs {/* cm2.core */ u32 cm_coreaon_bandgap_clkctrl; +u32 cm_coreaon_io_srcomp_clkctrl;u32 cm_l3_1_clkstctrl;u32 cm_l3_1_dynamicdep;u32 cm_l3_1_l3_1_clkctrl;
@@ -300,6 +301,7 @@ struct prcm_regs {u32 cm_wkup_rtc_clkctrl;u32 cm_wkup_bandgap_clkctrl;u32 cm_wkupaon_scrm_clkctrl; +u32 cm_wkupaon_io_srcomp_clkctrl;u32 prm_vc_val_bypass;u32 prm_vc_cfg_i2c_mode;u32 prm_vc_cfg_i2c_clk;
Signature · 1 line
1.7.9.5
PATCH 5/5 ARM: OMAP5: srcomp: enable slew rate compensation cells after powerup
Quoted 11 lines · R Sricharan
From: Lokesh Vutla <[email protected]>
After power-up SRCOMP cells are by-passed by default in OMAP5. Software has to enable these SRCOMP sells.
For ES2: All 5 SRCOMP cells needs to be enabled.
For ES1: Only 4 SRCOMP cells in core power domain are enabled.
The 1 in wkup domain is not enabled because smart i/os of wkup domain work with default compensation code.Signed-off-by R Sricharan <[email protected]>Signed-off-by Lokesh Vutla <[email protected]>
With the caveat that a few formatting things looked odd, but I'm assuming you ran this series past checkpatch.pl and it's clean:
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130131/cbb73c83/attachment.pgp>
PATCH 5/5 ARM: OMAP5: srcomp: enable slew rate compensation cells after powerup
Hi Tom,
Quoted 11 lines · Tom Rini
Quoted 9 lines · R Sricharan
From: Lokesh Vutla <[email protected]>
After power-up SRCOMP cells are by-passed by default in OMAP5. Software has to enable these SRCOMP sells.
For ES2: All 5 SRCOMP cells needs to be enabled.
For ES1: Only 4 SRCOMP cells in core power domain are enabled.
The 1 in wkup domain is not enabled because smart i/os of wkup domain work with default compensation code.
Quoted 8 lines
Quoted 2 lines
Signed-off-by R Sricharan <[email protected]>Signed-off-by Lokesh Vutla <[email protected]>With the caveat that a few formatting things looked odd, but I'm assuming you ran this series past checkpatch.pl and it's clean:
Reviewed-by Tom Rini <[email protected]>
I indeed ran checkpatch. There were no warnings, except for one patch where clocks data was moved from one file to other because of comments exceeding 80 characters, but that was unavoidable. Otherwise, rest was fine.
Regards,
Sricharan