[PATCH v3 0/4] DVFS support for dpu and dsi

From: Rajendra Nayak
Date: Thu Jul 09 2020 - 07:05:30 EST


Changes in v3
- Added dev_pm_opp_put_clkname() in the error path

Changes in v2
- Patch 2: Dropped dsi_link_clk_set_rate_6g_v2 and dsi_link_clk_disable_6g_v2 as suggested by Matthias

These patches add DVFS support for DPU and DSI.

These patches have no other dependency. Patch 1 and 2 will need to be merged in
via the MSM DRM tree.

DT patches will need to land via the msm tree.

Rajendra Nayak (4):
drm/msm/dpu: Use OPP API to set clk/perf state
drm/msm: dsi: Use OPP API to set clk/perf state
arm64: dts: sdm845: Add DSI and MDP OPP tables and power-domains
arm64: dts: sc7180: Add DSI and MDP OPP tables and power-domains

arch/arm64/boot/dts/qcom/sc7180.dtsi | 49 ++++++++++++++++++++++
arch/arm64/boot/dts/qcom/sdm845.dtsi | 59 +++++++++++++++++++++++++++
drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c | 3 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 27 +++++++++++-
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h | 4 ++
drivers/gpu/drm/msm/dsi/dsi_host.c | 27 +++++++++++-
6 files changed, 165 insertions(+), 4 deletions(-)

--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation