[PATCH 4/7] OPP: Introduce an OF helper function to inform if required-opps is used
Viresh Kumar
viresh.kumar at linaro.org
Tue Jun 25 22:49:51 PDT 2024
On 19-06-24, 16:08, Ulf Hansson wrote:
> As being shown from a subsequent change to genpd, it's useful to understand
> if a device's OF node has an OPP-table described and whether it contains
> OPP nodes that makes use of the required-opps DT property.
>
> For this reason, let's introduce an OPP OF helper function called
> dev_pm_opp_of_has_required_opp().
>
> Signed-off-by: Ulf Hansson <ulf.hansson at linaro.org>
> ---
> drivers/opp/of.c | 32 ++++++++++++++++++++++++++++++++
> include/linux/pm_opp.h | 6 ++++++
> 2 files changed, 38 insertions(+)
Applied. Thanks.
--
viresh
More information about the linux-arm-kernel
mailing list