[PATCH v2 2/5] opp: Add apis to retrieve opps with interconnect bandwidth

Viresh Kumar viresh.kumar at linaro.org
Wed May 4 03:12:17 PDT 2022


On 04-05-22, 10:17, Krzysztof Kozlowski wrote:
> Add dev_pm_opp_find_bw_ceil and dev_pm_opp_find_bw_floor to retrieve opps
> based on interconnect associated with the opp and bandwidth. The index
> variable is the index of the interconnect as specified in the opp table
> in Devicetree.
> 
> Co-developed-by: Thara Gopinath <thara.gopinath at linaro.org>
> Signed-off-by: Thara Gopinath <thara.gopinath at linaro.org>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> ---
>  drivers/opp/core.c     | 120 +++++++++++++++++++++++++++++++++++++++++
>  include/linux/pm_opp.h |  19 +++++++
>  2 files changed, 139 insertions(+)

Applied. Thanks.

-- 
viresh



More information about the linux-arm-kernel mailing list