[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210728142445.774158-1-dmitry.baryshkov@linaro.org>
Date: Wed, 28 Jul 2021 17:24:40 +0300
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: "Rafael J. Wysocki" <rjw@...ysocki.net>,
Pavel Machek <pavel@....cz>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Stephen Boyd <sboyd@...nel.org>,
Taniya Das <tdas@...eaurora.org>,
Michael Turquette <mturquette@...libre.com>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-clk@...r.kernel.org, linux-arm-msm@...r.kernel.org
Subject: [PATCH v2 0/5] PM: add two devres helpers and use them in qcom cc
Qualcomm clock controller code (and most probably other drivers) would
benefit from having devres helpers for pm_runtime_enable() and
pm_clk_create(). Add those two helpers.
Modify Qualcomm clock controller code to use new helpers and separate
common pm code into common.c.
----------------------------------------------------------------
Dmitry Baryshkov (5):
PM: runtime: add devm_pm_runtime_enable helper
PM: clk: add devm_pm_clk_create helper
clk: qcom: use devm_pm_runtime_enable and devm_pm_clk_create
clk: qcom: use common code for qcom_cc_probe_by_index
clk: qcom: move pm_clk functionality into common code
drivers/base/power/clock_ops.c | 17 +++++++++++
drivers/base/power/runtime.c | 17 +++++++++++
drivers/clk/qcom/camcc-sc7180.c | 39 +++++++++----------------
drivers/clk/qcom/common.c | 55 ++++++++++++++++++++++++++++-------
drivers/clk/qcom/common.h | 17 +++++++++++
drivers/clk/qcom/lpass-gfm-sm8250.c | 21 ++++++-------
drivers/clk/qcom/lpasscorecc-sc7180.c | 55 +++++++++--------------------------
drivers/clk/qcom/mss-sc7180.c | 45 ++++++----------------------
drivers/clk/qcom/q6sstop-qcs404.c | 40 +++++++------------------
drivers/clk/qcom/turingcc-qcs404.c | 45 ++++++----------------------
include/linux/pm_clock.h | 5 ++++
include/linux/pm_runtime.h | 4 +++
12 files changed, 169 insertions(+), 191 deletions(-)
Powered by blists - more mailing lists