Re: [PATCH] opp: of: Allow lazy-linking of required-opps to non genpd

From: Chanwoo Choi
Date: Wed Jun 16 2021 - 23:51:44 EST


On 6/17/21 12:33 PM, Viresh Kumar wrote:
> On 17-06-21, 10:13, Chanwoo Choi wrote:
>> The devfreq driver(exynos-bus.c) has used the dev_pm_opp_set_rate()
>> and used the passive governor without the required-opp property.
>
> Which is fine.
>
>> I have a plan to use the required-opp property
>> between devfreq drivers (exynos-bus.c) with dev_pm_opp_set_rate().
>>
>> I'll support them on later if this approach doesn't break the any
>> rule of required-opp property.
>
> You will be required to make some changes in core for that I am
> afraid. It won't work automatically.

Do you think that better to use clk_enable/regulator_enable directly
instead of dev_pm_opp_set_rate() for using required-opp property?


--
Best Regards,
Chanwoo Choi
Samsung Electronics