View Single Post
Posts: 1,320 | Thanked: 915 times | Joined on Feb 2010
#874
Originally Posted by Creamy Goodness View Post
yeah if I knew how the other parameters that smartreflex looks at worked I could let it adjust some other frequencies like 1200 and 1300, but those parameters are in hex and not documented so I have no clue. Maybe we can just steal some values from other kernels with faster omap chips, but it might not work well because the different chips all behave a bit different.

These are what I'm talking about:

* @sr_nvalue : Smartreflex N target value at voltage <voltage>
* @sr_errminlimit : Error min limit value for smartreflex. This value
* differs at differnet opp and thus is linked
* with voltage.
* @vp_errorgain : Error gain value for the voltage processor. This
* field also differs according to the voltage/opp.

defaults:

static struct omap_volt_data omap36xx_vdd1_volt_data[] = {
{.u_volt_nominal = 1012500, .sr_errminlimit = 0xF4,
.u_volt_dyn_margin = 50000, .vp_errorgain = 0x0C},
{.u_volt_nominal = 1200000, .sr_errminlimit = 0xF9,
.u_volt_dyn_margin = 50000, .vp_errorgain = 0x16},
{.u_volt_nominal = 1325000, .sr_errminlimit = 0xFA,
.u_volt_dyn_margin = 50000, .vp_errorgain = 0x23},
{.u_volt_nominal = 1375000, .sr_errminlimit = 0xFA,
.u_volt_dyn_margin = 50000, .vp_errorgain = 0x27, .abb = true},
};
Hmm, maybe see if these SmartReflex paramaters are documented for similar chips? There is a chance that the parameters and hex values are the same across a large range of chips, just to make it easier for whoever makes the chips.
__________________
Well Nokia do at least know how to build a decent phone, just apparently don't know how to support it..

N900 Died Replaced with N8, Requested E7, "Accidentally Broke E7", Now rolling with an N9 and im loving it!


My Contributions

N900 Conversations Wiki Page