[PATCH v2 00/17] DVFS for IO devices on sdm845 and sc7180
From: Rajendra Nayak
Date: Fri Apr 17 2020 - 10:05:18 EST
Changes in v2:
1. Added error handling for dev_pm_opp_set_clkname()
and dev_pm_opp_of_add_table()
2. Used dev_pm_opp_put_clkname() in the cleanup path
3. Dropped the OPP patch pulled in by Viresh [1]
4. Dropped the UFS patches since they had some major rework
needed because of changes that were merged in the merge window
and I don't have a UFS device currently to validate the changes.
We have had support added in the OPP core for a while now to support
DVFS for IO devices, and this series uses that infrastructure to
add DVFS support for various IO devices in sdm845 and sc7180 SoCs.
[1] https://lkml.org/lkml/2020/4/14/98
Rajendra Nayak (17):
tty: serial: qcom_geni_serial: Use OPP API to set clk/perf state
spi: spi-geni-qcom: Use OPP API to set clk/perf state
arm64: dts: sdm845: Add OPP table for all qup devices
arm64: dts: sc7180: Add OPP table for all qup devices
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
mmc: sdhci-msm: Use OPP API to set clk/perf state
arm64: dts: sdm845: Add sdhc opps and power-domains
arm64: dts: sc7180: Add sdhc opps and power-domains
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
spi: spi-qcom-qspi: Use OPP API to set clk/perf state
arm64: dts: sdm845: Add qspi opps and power-domains
arm64: dts: sc7180: Add qspi opps and power-domains
arch/arm64/boot/dts/qcom/sc7180.dtsi | 199 +++++++++++++++++-
arch/arm64/boot/dts/qcom/sdm845.dtsi | 266 ++++++++++++++++++++++++-
drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c | 3 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 20 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h | 4 +
drivers/gpu/drm/msm/dsi/dsi.h | 2 +
drivers/gpu/drm/msm/dsi/dsi_cfg.c | 4 +-
drivers/gpu/drm/msm/dsi/dsi_host.c | 53 +++++
drivers/media/platform/qcom/venus/core.c | 21 ++
drivers/media/platform/qcom/venus/core.h | 5 +
drivers/media/platform/qcom/venus/pm_helpers.c | 37 +++-
drivers/mmc/host/sdhci-msm.c | 34 +++-
drivers/spi/spi-geni-qcom.c | 22 +-
drivers/spi/spi-qcom-qspi.c | 24 ++-
drivers/tty/serial/qcom_geni_serial.c | 30 ++-
include/linux/qcom-geni-se.h | 2 +
16 files changed, 700 insertions(+), 26 deletions(-)
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation