Re: [PATCH V2 10/11] opp: Add helpers for initializing CPU OPPs
From: Bartlomiej Zolnierkiewicz
Date: Mon Jul 27 2015 - 12:37:51 EST
Hi,
On Monday, July 27, 2015 10:32:40 AM Viresh Kumar wrote:
> With "operating-points-v2" its possible to tell which devices share
> OPPs. We already have infrastructure to decode that information.
>
> This patch adds following APIs:
> - of_get_cpus_sharing_opps: Returns cpumask of CPUs sharing OPPs (only
> valid with v2 bindings).
> - of_cpumask_init_opp_table: Initializes OPPs for all CPUs present in
> cpumask.
> - of_cpumask_free_opp_table: Frees OPPs for all CPUs present in cpumask.
>
> - set_cpus_sharing_opps: Sets which CPUs share OPPs (only valid with old
> OPP bindings, as this information isn't present in DT).
>
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx>
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/