[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210311192105.14998-1-digetx@gmail.com>
Date: Thu, 11 Mar 2021 22:20:51 +0300
From: Dmitry Osipenko <digetx@...il.com>
To: Qiang Yu <yuq825@...il.com>, Rob Clark <robdclark@...il.com>,
Sean Paul <sean@...rly.run>, Rob Herring <robh@...nel.org>,
Tomeu Vizoso <tomeu.vizoso@...labora.com>,
Steven Price <steven.price@....com>,
Alyssa Rosenzweig <alyssa.rosenzweig@...labora.com>,
Stanimir Varbanov <stanimir.varbanov@...aro.org>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Lukasz Luba <lukasz.luba@....com>,
Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>,
Adrian Hunter <adrian.hunter@...el.com>,
Ulf Hansson <ulf.hansson@...aro.org>,
Viresh Kumar <vireshk@...nel.org>, Nishanth Menon <nm@...com>,
Stephen Boyd <sboyd@...nel.org>,
Mark Brown <broonie@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>,
Yangtao Li <tiny.windzz@...il.com>
Cc: Daniel Vetter <daniel@...ll.ch>, dri-devel@...ts.freedesktop.org,
lima@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
linux-arm-msm@...r.kernel.org, freedreno@...ts.freedesktop.org,
linux-media@...r.kernel.org, linux-pm@...r.kernel.org,
linux-samsung-soc@...r.kernel.org, linux-mmc@...r.kernel.org,
linux-spi@...r.kernel.org, linux-serial@...r.kernel.org,
linux-tegra@...r.kernel.org
Subject: [PATCH v2 00/14] Introduce devm_pm_opp_* API
This series adds resource-managed OPP API helpers and makes drivers
to use them.
Changelog:
v2: - This is a continuation of the work that was started by Yangtao Li.
Apparently Yangtao doesn't have time to finish it, so I
(Dmitry Osipenko) picked up the effort since these patches are
wanted by the NVIDIA Tegra voltage-scaling series that I'm
working on.
- Fixed the double put of OPP resources.
- Dropped all patches that are unrelated to OPP API. I also dropped
the Tegra memory patch since it doesn't apply now and because I plan
to switch all Tegra drivers soon to a common tegra-specific OPP helper
that will use the resource-managed OPP API anyways.
- Squashed couple patches into a single ones since there was no
good reason to separate them.
- Added acks that were given to a couple of v1 patches.
Yangtao Li (14):
opp: Add devres wrapper for dev_pm_opp_set_clkname
opp: Add devres wrapper for dev_pm_opp_set_regulators
opp: Add devres wrapper for dev_pm_opp_set_supported_hw
opp: Add devres wrapper for dev_pm_opp_of_add_table
opp: Add devres wrapper for dev_pm_opp_register_notifier
serial: qcom_geni_serial: Convert to use resource-managed OPP API
spi: spi-geni-qcom: Convert to use resource-managed OPP API
spi: spi-qcom-qspi: Convert to use resource-managed OPP API
mmc: sdhci-msm: Convert to use resource-managed OPP API
drm/msm: Convert to use resource-managed OPP API
drm/lima: Convert to use resource-managed OPP API
drm/panfrost: Convert to use resource-managed OPP API
media: venus: Convert to use resource-managed OPP API
memory: samsung: exynos5422-dmc: Convert to use resource-managed OPP
API
drivers/gpu/drm/lima/lima_devfreq.c | 43 ++---
drivers/gpu/drm/lima/lima_devfreq.h | 2 -
drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 2 +-
drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 2 +-
drivers/gpu/drm/msm/adreno/adreno_gpu.c | 2 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 24 ++-
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h | 2 -
drivers/gpu/drm/msm/dp/dp_ctrl.c | 31 +---
drivers/gpu/drm/msm/dp/dp_ctrl.h | 1 -
drivers/gpu/drm/msm/dp/dp_display.c | 5 +-
drivers/gpu/drm/msm/dsi/dsi_host.c | 14 +-
drivers/gpu/drm/panfrost/panfrost_devfreq.c | 33 +---
drivers/gpu/drm/panfrost/panfrost_devfreq.h | 1 -
.../media/platform/qcom/venus/pm_helpers.c | 18 +--
drivers/memory/samsung/exynos5422-dmc.c | 13 +-
drivers/mmc/host/sdhci-msm.c | 20 +--
drivers/opp/core.c | 151 ++++++++++++++++++
drivers/opp/of.c | 36 +++++
drivers/spi/spi-geni-qcom.c | 17 +-
drivers/spi/spi-qcom-qspi.c | 19 +--
drivers/tty/serial/qcom_geni_serial.c | 24 ++-
include/linux/pm_opp.h | 34 ++++
include/linux/qcom-geni-se.h | 2 -
23 files changed, 300 insertions(+), 196 deletions(-)
--
2.29.2
Powered by blists - more mailing lists