Sripathy, Vishwanath wrote:
+ /* calculate the sram delay */
+ delay_sram = (((mpurate / gt_rate) * diff) / (loop * 2));
+
+ error_gain = mpurate / gt_rate;
+ delay_sram = delay_sram + error_gain;
Cosmetic changes:
error_gain = mpurate / gt_rate;
-Original Message-
From: K, Ambresh
Sent: Thursday, March 18, 2010 12:46 PM
To: Gurav , Pramod
Cc: linux-omap@vger.kernel.org; Reddy, Teerth; Sripathy, Vishwanath
Subject: Re: [PATCH v4 1/2] OMAP3: SDRC: Dynamic Calculation of SDRC stall
latency during DVFS
Gurav , Pramod wrote
-Original Message-
From: linux-omap-ow...@vger.kernel.org
[mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Gurav , Pramod
Sent: Thursday, March 18, 2010 10:26 AM
To: linux-omap@vger.kernel.org
Cc: Reddy, Teerth; Gurav , Pramod; Sripathy, Vishwanath
Subject: [PATCH v4 1/2]
Gurav , Pramod wrote:
From: Teerth Reddy tee...@ti.com
The patch has the changes to calculate the dpll3 clock stabilization
delay dynamically. The SRAM delay is calibrated during bootup using the
gptimers and used while calculating the stabilization delay. By using
the dynamic method the
G, Manjunath Kondaiah manj...@ti.com writes:
+#ifdef CONFIG_ARCH_OMAP3
+void (*_omap3_sram_delay)(unsigned int);
+unsigned int measure_sram_delay(unsigned int loop)
+{
+static struct omap_dm_timer *gpt;
+unsigned long flags, diff = 0, gt_rate, mpurate;
+unsigned int
Pramod Gurav pramod.gu...@ti.com writes:
From: Teerth Reddy tee...@ti.com
The patch has the changes to calculate the dpll3 clock stabilization
delay dynamically. The SRAM delay is calibrated during bootup using the
gptimers and used while calculating the stabilization delay. By using
the