From e9b32d4342a9ee9308729ae0c725d421869a0538 Mon Sep 17 00:00:00 2001 From: Bibek Basu Date: Thu, 6 Nov 2014 16:34:09 +0530 Subject: arm: tegra12: add support for CD575M 24x7 Chip Added DVFS support for CD575M Always on behaviour. With this personality configuration for the chip,the lifetime of the chip increases to 5 Yrs Operating Temp : -25 to 105 degC CPU DVFS: Max Freq 1938Mhz. Max Voltage 1.12V SOC DVFS: Max Voltage0 1.01V EMC dvfs max freq 792Mhz GPU DVFS: Max Freq 804Mhz and Ma Voltage 1.09V Bug 1563635 Change-Id: If7fec38b83ae4de8c5435006207fa3cf717384c0 Signed-off-by: Bibek Basu Reviewed-on: http://git-master/r/594855 GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty --- arch/arm/mach-tegra/dvfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'arch/arm/mach-tegra/dvfs.c') diff --git a/arch/arm/mach-tegra/dvfs.c b/arch/arm/mach-tegra/dvfs.c index 06596c51ee1a..429385118b64 100644 --- a/arch/arm/mach-tegra/dvfs.c +++ b/arch/arm/mach-tegra/dvfs.c @@ -1146,7 +1146,8 @@ int __init tegra_enable_dvfs_on_clk(struct clk *c, struct dvfs *d) } for (i = 0; i < MAX_DVFS_FREQS; i++) { - if (d->millivolts[i] == 0) + if (d->millivolts[i] == 0 || + d->millivolts[i] > d->max_millivolts) break; d->freqs[i] *= d->freqs_mult; -- cgit v1.2.3