Re: [PATCH v3 0/5] PM: domains: Add control for switching back and forth to HW control

From: Ulf Hansson
Date: Wed Aug 23 2023 - 12:30:40 EST


On Wed, 23 Aug 2023 at 13:45, Abel Vesa <abel.vesa@xxxxxxxxxx> wrote:
>
> The v2 can be found here:
> https://lore.kernel.org/lkml/20230816145741.1472721-1-abel.vesa@xxxxxxxxxx/
>
> Changes since v2:
> * 5th patch has been squashed in the 4th one
>
> Further details about other changes are found in each patch.
>
> Abel Vesa (1):
> PM: domains: Add the domain HW-managed mode to the summary
>
> Jagadeesh Kona (3):
> clk: qcom: gdsc: Add set and get hwmode callbacks to switch GDSC mode
> clk: qcom: Use HW_CTRL_TRIGGER flag to switch video GDSC to HW mode
> venus: pm_helpers: Use dev_pm_genpd_set_hwmode to switch GDSC mode
>
> Ulf Hansson (1):
> PM: domains: Allow devices attached to genpd to be managed by HW
>
> drivers/base/power/domain.c | 84 ++++++++++++++++++-
> drivers/clk/qcom/gdsc.c | 32 +++++++
> drivers/clk/qcom/gdsc.h | 1 +
> drivers/clk/qcom/videocc-sc7180.c | 2 +-
> drivers/clk/qcom/videocc-sc7280.c | 2 +-
> drivers/clk/qcom/videocc-sdm845.c | 4 +-
> drivers/clk/qcom/videocc-sm8250.c | 4 +-
> drivers/clk/qcom/videocc-sm8550.c | 4 +-
> drivers/media/platform/qcom/venus/core.c | 4 +
> drivers/media/platform/qcom/venus/core.h | 1 +
> .../media/platform/qcom/venus/pm_helpers.c | 47 +++++------
> include/linux/pm_domain.h | 17 ++++
> 12 files changed, 165 insertions(+), 37 deletions(-)
>

I guess this series is best funneled via the clk tree? Stephen, I am
fine with patch 1 and patch2, but I guess you may need an ack for the
others too.

Kind regards
Uffe