Re: [PATCH v2 4/4] PM / AVS: rockchip-cpu-avs: add driver handling Rockchip cpu avs

2016-09-27 Thread Stephen Boyd
On 09/26, Heiko Stuebner wrote: > Am Montag, 26. September 2016, 09:25:11 CEST schrieb Viresh Kumar: > > On 12-09-16, 14:55, Stephen Boyd wrote: > > > On 08/29, Viresh Kumar wrote: > > > > On 18-08-16, 16:52, Finlye Xiao wrote: > > > > > +static int rockchip_adjust_opp_table(struct device *cpu_dev,

Re: [PATCH v2 4/4] PM / AVS: rockchip-cpu-avs: add driver handling Rockchip cpu avs

2016-09-27 Thread Finley Xiao
在 2016/9/26 16:05, Heiko Stuebner 写道: Am Montag, 26. September 2016, 09:25:11 CEST schrieb Viresh Kumar: On 12-09-16, 14:55, Stephen Boyd wrote: On 08/29, Viresh Kumar wrote: On 18-08-16, 16:52, Finlye Xiao wrote: +static int rockchip_adjust_opp_table(struct device *cpu_dev, +

Re: [PATCH v2 4/4] PM / AVS: rockchip-cpu-avs: add driver handling Rockchip cpu avs

2016-09-26 Thread Heiko Stuebner
Am Montag, 26. September 2016, 09:25:11 CEST schrieb Viresh Kumar: > On 12-09-16, 14:55, Stephen Boyd wrote: > > On 08/29, Viresh Kumar wrote: > > > On 18-08-16, 16:52, Finlye Xiao wrote: > > > > +static int rockchip_adjust_opp_table(struct device *cpu_dev, > > > > +

Re: [PATCH v2 4/4] PM / AVS: rockchip-cpu-avs: add driver handling Rockchip cpu avs

2016-09-25 Thread Viresh Kumar
On 12-09-16, 14:55, Stephen Boyd wrote: > On 08/29, Viresh Kumar wrote: > > On 18-08-16, 16:52, Finlye Xiao wrote: > > > +static int rockchip_adjust_opp_table(struct device *cpu_dev, > > > + struct cpufreq_frequency_table *table, > > > + int

Re: [PATCH v2 4/4] PM / AVS: rockchip-cpu-avs: add driver handling Rockchip cpu avs

2016-09-12 Thread Stephen Boyd
On 08/29, Viresh Kumar wrote: > On 18-08-16, 16:52, Finlye Xiao wrote: > > +static int rockchip_adjust_opp_table(struct device *cpu_dev, > > +struct cpufreq_frequency_table *table, > > +int volt) > > +{ > > + struct opp_table *opp_ta

Re: [PATCH v2 4/4] PM / AVS: rockchip-cpu-avs: add driver handling Rockchip cpu avs

2016-08-28 Thread Viresh Kumar
On 18-08-16, 16:52, Finlye Xiao wrote: > +static int rockchip_adjust_opp_table(struct device *cpu_dev, > + struct cpufreq_frequency_table *table, > + int volt) > +{ > + struct opp_table *opp_table; > + struct cpufreq_frequenc

Re: [PATCH v2 4/4] PM / AVS: rockchip-cpu-avs: add driver handling Rockchip cpu avs

2016-08-18 Thread Kevin Hilman
Hi Finlye, Finlye Xiao writes: > From: Finley Xiao > > This patch supports adjusting opp's voltage according to leakage > > Signed-off-by: Finley Xiao [...] > +static void rockchip_adjust_volt_by_leakage(struct device *cpu_dev, > + struct cpufreq_polic

[PATCH v2 4/4] PM / AVS: rockchip-cpu-avs: add driver handling Rockchip cpu avs

2016-08-18 Thread Finlye Xiao
From: Finley Xiao This patch supports adjusting opp's voltage according to leakage Signed-off-by: Finley Xiao --- drivers/power/avs/Kconfig| 9 + drivers/power/avs/Makefile | 1 + drivers/power/avs/rockchip-cpu-avs.c | 331 +++ 3 files