diff options
author | Aneesh V <aneesh@ti.com> | 2011-09-20 19:33:01 +0530 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2012-01-19 12:54:18 -0700 |
commit | 6df4a176a71d60a01c43a7ae8c0912b0c5c483f7 (patch) | |
tree | e5c309778122b4fa2860f60698cd6f7dd81020a0 /arch | |
parent | 8a0239f7e19c2fe2cc033fdace5cad788b8e0ede (diff) |
omap4460: tps initialization changes
Original patch also moved gpio settings from do_scale_tps62361
to scale_vcores in the original ..../omap4/clocks.c. Subsequently
this file moved to common_clocks.c then omap4 parts back to
omap4/clocks.c. Later the gpio settings were removed completely
so they are left out here also.
Perhaps this patch can just be removed completely.
Original patch comment:
Configure both SET0 and SET1 to the right voltage so that
kernel can use either one of them. Today only SET1 is
configured.
Signed-off-by: Aneesh V <aneesh@ti.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/cpu/armv7/omap4/clocks.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/omap4/clocks.c b/arch/arm/cpu/armv7/omap4/clocks.c index 0886f9243..6c427aba9 100644 --- a/arch/arm/cpu/armv7/omap4/clocks.c +++ b/arch/arm/cpu/armv7/omap4/clocks.c @@ -280,7 +280,12 @@ void scale_vcores(void) omap_rev = omap_revision(); /* TPS - supplies vdd_mpu on 4460 */ if (omap_rev >= OMAP4460_ES1_0) { + /* + * Setup SET1 and SET0 with right values so that kernel + * can use either of them based on its needs. + */ volt = 1313; + do_scale_tps62361(TPS62361_REG_ADDR_SET0, volt); do_scale_tps62361(TPS62361_REG_ADDR_SET1, volt); } |