Re: [PATCH 0/5] PM: domains: Add helpers for multi PM domains to avoid open-coding

2024-01-01 Thread Viresh Kumar
On 28-12-23, 12:41, Ulf Hansson wrote: > For OPP integration, as a follow up I am striving to make the > dev_pm_opp_attach_genpd() redundant. Instead I think we should move towards > using dev_pm_opp_set_config()->_opp_set_required_devs(), which would allow us > to > use the helpers that $subject

[PATCH 0/5] PM: domains: Add helpers for multi PM domains to avoid open-coding

2023-12-28 Thread Ulf Hansson
Attaching/detaching of a device to multiple PM domains has started to become a common operation for many drivers, typically during ->probe() and ->remove(). In most cases, this has lead to lots of boilerplate code in the drivers. This series adds a pair of helper functions to manage the