Re: [PATCH 11/13] devfreq: tegra30: Migrate to dev_pm_opp_set_opp()
From: Dmitry Osipenko <digetx@gmail.com>
Date: 2021-01-26 07:43:26
Also in:
linux-pm, linux-tegra, lkml
From: Dmitry Osipenko <digetx@gmail.com>
Date: 2021-01-26 07:43:26
Also in:
linux-pm, linux-tegra, lkml
25.01.2021 06:14, Viresh Kumar пишет:
On 22-01-21, 18:28, Dmitry Osipenko wrote:quoted
Either way will work, but maybe keeping the dev_pm_opp_set_bw() is a bit more straightforward variant for now since it will avoid the code's changes and it's probably a bit more obvious variant for the OPP users.The problem is it creates unnecessary paths which we need to support. For example, in case of bandwidth itself we may want to update regulator/pm domain/required OPPs and this should all be done for everyone. I really do not want to keep separate paths for such stuff, it makes it hard to maintain..
Maybe we could add dev_pm_opp_of_add_table_without_clock(), at least that should be a bit nicer from a drivers perspective than having to care about dev_pm_opp_clear_clk(), IMO. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel