Re: [PATCH 6/7] OPP/pmdomain: Set the required_dev for a required OPP during genpd attach

From: Ulf Hansson
Date: Thu Jul 11 2024 - 06:26:45 EST


On Wed, 26 Jun 2024 at 08:37, Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
>
> On 19-06-24, 16:08, Ulf Hansson wrote:
> > @@ -2393,8 +2392,7 @@ static void _opp_detach_genpd(struct opp_table *opp_table)
> > static int _opp_attach_genpd(struct opp_table *opp_table, struct device *dev,
> > const char * const *names, struct device ***virt_devs)
>
> I was expecting that we can get rid of this routine completely and OPP
> core won't be required to handle this anymore.

Yes, it's the next step. To enable that, I will first need to move the
current users of _opp_attach_genpd() to use the new
dev_pm_domain_attach_list() instead.

It's pretty straight forward, but I decided to make that as a step on
top of the $subject series.

Kind regards
Uffe