Re: [PATCH v5 3/3] PM / AVS: SVS: Introduce SVS engine

2019-10-21 Thread Pi-Hsun Shih
Hi Roger, On Fri, Sep 6, 2019 at 6:06 PM Roger Lu wrote: > ... > +static int svs_resource_setup(struct mtk_svs *svs) > ... > + for (i = 0, freq = (u32)-1; i < svsb->opp_count; i++, freq--) > { > + opp = dev_pm_opp_find_freq_floor(svsb->dev, ); > +

Re: [PATCH v5 3/3] PM / AVS: SVS: Introduce SVS engine

2019-09-26 Thread Kevin Hilman
Hi Roger, Roger Lu writes: > The SVS (Smart Voltage Scaling) engine is a piece of hardware which is > used to calculate optimized voltage values of several power domains, e.g. > CPU/GPU/CCI, according to chip process corner, temperatures, and other > factors. Then DVFS driver could apply those

[PATCH v5 3/3] PM / AVS: SVS: Introduce SVS engine

2019-09-06 Thread Roger Lu
The SVS (Smart Voltage Scaling) engine is a piece of hardware which is used to calculate optimized voltage values of several power domains, e.g. CPU/GPU/CCI, according to chip process corner, temperatures, and other factors. Then DVFS driver could apply those optimized voltage values to reduce