On 6 April 2016 at 23:28, Alex Shi alex.shi@linaro.org wrote:
Hi All,
We have updated the OPPv2 feature in recent couple weeks on LSK v3.18/v4.1, which is introduced a couple PM OPP API changes.
Although the LSK passed hundreds boards boot testing, some of downstream driver may still using the old API as following. If so, please update them to related new one. Sorry for this trouble.
In addition these updates to OPPv2 will also be included in LSK v4.4.
Thanks Alex
include/linux/pm_opp.h
-int of_init_opp_table(struct device *dev); +int dev_pm_opp_of_add_table(struct device *dev); -void of_free_opp_table(struct device *dev); +void dev_pm_opp_of_remove_table(struct device *dev); -int of_cpumask_init_opp_table(cpumask_var_t cpumask); +int dev_pm_opp_of_cpumask_add_table(cpumask_var_t cpumask); -void of_cpumask_free_opp_table(cpumask_var_t cpumask); +void dev_pm_opp_of_cpumask_remove_table(cpumask_var_t cpumask); -int of_get_cpus_sharing_opps(struct device *cpu_dev, cpumask_var_t cpumask); +int dev_pm_opp_of_get_sharing_cpus(struct device *cpu_dev, cpumask_var_t cpumask); -int set_cpus_sharing_opps(struct device *cpu_dev, cpumask_var_t cpumask); +int dev_pm_opp_set_sharing_cpus(struct device *cpu_dev, cpumask_var_t cpumask);