Update patch overclock_smartreflex_900.diff
authorPali Rohár <pali.rohar@gmail.com>
Sat, 10 May 2014 20:16:26 +0000 (22:16 +0200)
committerPali Rohár <pali.rohar@gmail.com>
Sat, 10 May 2014 20:16:26 +0000 (22:16 +0200)
That way calculated voltage will be 25mV more, compared to KP52 for
frequencies > 250 MHz. That is supposed to improve the stability on some
rare devices.

Patch from freemangordon

kernel-power-2.6.28/debian/patches/overclock_smartreflex_900.diff

index ad7f347..246e440 100644 (file)
@@ -160,7 +160,7 @@ diff -urN kernel-power-2.6.28/arch/arm/mach-omap2/smartreflex.c kernel-power-2.6
 + * adjust them with a constant
 + */
 +#define SR_NVALUE_ADJUST_LOWOPP   -150000 /* For 125 and 250 MHz */
-+#define SR_NVALUE_ADJUST_HIGHOPP  -125000 /* For 500+ MHz */
++#define SR_NVALUE_ADJUST_HIGHOPP  -100000 /* For 500+ MHz */
 +
 +/* Boost voltage with the bellow value(in uV) when DSP frequency is >430 MHz and 
 + * twice that value when DSP frequency is > 520 Mhz