View Single Post
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#873
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},
};
__________________

Last edited by Creamy Goodness; 2012-05-18 at 23:46.