[PATCH v6 0/5] DVFS support for Venus

Rajendra Nayak
2020-09-01T14:36:54Z

Rob, can you pick PATCH 1 since its already reviewed by you.
Stan, Patch 2 and 3 will need to be picked by you and they both have your ACKs
Patch 4 and 5 will need to be merged via the qcom tree once we have them reviewed.

v6: No changes, rebased on 5.9-rc3

v5: Fixed the opp-tables (patch 4/5) to avoid -ERANGE from
dev_pm_opp_set_rate

v4: Moved code from probe/remove/runtime_suspend into
different pm_ops callbacks

v3: Renamed the optional power domain as cx

v2: Fixed up the labels of OPP nodes in patch 4
Included the bindings update patch as part of this series,
a resend of https://lore.kernel.org/patchwork/patch/1241077/

These patches add DVFS support for Venus

Rajendra Nayak (5):
dt-bindings: media: venus: Add an optional power domain for perf
voting
media: venus: core: Fix error handling in probe
media: venus: core: Add support for opp tables/perf voting
arm64: dts: sdm845: Add OPP tables and power-domains for venus
arm64: dts: sc7180: Add OPP tables and power-domains for venus

.../bindings/media/qcom,sc7180-venus.yaml | 6 +-
.../bindings/media/qcom,sdm845-venus-v2.yaml | 6 +-
arch/arm64/boot/dts/qcom/sc7180.dtsi | 35 +++++++-
arch/arm64/boot/dts/qcom/sdm845.dtsi | 40 +++++++++-
drivers/media/platform/qcom/venus/core.c | 17 ++--
drivers/media/platform/qcom/venus/core.h | 5 ++
drivers/media/platform/qcom/venus/pm_helpers.c | 92 ++++++++++++++++++++--
7 files changed, 183 insertions(+), 18 deletions(-)