[PATCH v2 0/6] PM: domains: Add control for switching back and forth to HW control

Abel Vesa posted 6 patches 2 years, 4 months ago
There is a newer version of this series
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(-)
[PATCH v2 0/6] PM: domains: Add control for switching back and forth to HW control
Posted by Abel Vesa 2 years, 4 months ago
The v1 (and the back story) can be found here:
https://lore.kernel.org/all/20230628105652.1670316-1-abel.vesa@linaro.org/

Changes since v1:
 * patch for printing domain HW-managed mode in the summary
 * patch that adds one consumer (venus)
 * patch for gdsc with new (different) flag
 * patch for videocc GDSC provider to update flags

Abel Vesa (1):
  PM: domains: Add the domain HW-managed mode to the summary

Jagadeesh Kona (4):
  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
  clk: qcom: videocc-sm8550: Use HW_CTRL_TRIGGER instead of HW_CTRL for
    GDSC
  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(-)

-- 
2.34.1
Re: [PATCH v2 0/6] PM: domains: Add control for switching back and forth to HW control
Posted by Rafael J. Wysocki 2 years, 3 months ago
On Wed, Aug 16, 2023 at 4:57 PM Abel Vesa <abel.vesa@linaro.org> wrote:
>
> The v1 (and the back story) can be found here:
> https://lore.kernel.org/all/20230628105652.1670316-1-abel.vesa@linaro.org/
>
> Changes since v1:
>  * patch for printing domain HW-managed mode in the summary
>  * patch that adds one consumer (venus)
>  * patch for gdsc with new (different) flag
>  * patch for videocc GDSC provider to update flags
>
> Abel Vesa (1):
>   PM: domains: Add the domain HW-managed mode to the summary
>
> Jagadeesh Kona (4):
>   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
>   clk: qcom: videocc-sm8550: Use HW_CTRL_TRIGGER instead of HW_CTRL for
>     GDSC
>   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(-)
>
> --

The second patch requires an ACK from Ulf anyway and with his ACK the
whole series can be routed via arm-soc as far as I'm concerned.

I have nothing to add here.

Thanks!