Re: [PATCH 5/5] OPP: Remove custom OPP helper support
From: Viresh Kumar
Date: Tue Jun 28 2022 - 07:04:57 EST
On 28-06-22, 13:04, Dmitry Osipenko wrote:
> What about to bump the "by-level" sorting priority, making it above the
> "by-rate" sorting and then always use the first clock for the "by-rate"
> sorting?
The order doesn't matter much really. If there are multiple clocks,
then we can't compare just one of them. If we don't want the level to
be introduced, which is fine, then we need to compare all the clocks.
> Then the multi-clock will work for Tegra without breaking dtbs
> and those for whom this sorting option won't be appropriate will have to
> add levels to the DT.
There was a recent discussion [1] around this, where using level was
considered sensible for such devices, like Qcom UFS.
--
viresh
[1] https://lore.kernel.org/lkml/65a4c28d-6702-3a9f-f837-1ea69a428777@xxxxxxxxxx/