[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210622202156.546718-1-iskren.chernev@gmail.com>
Date: Tue, 22 Jun 2021 23:21:51 +0300
From: Iskren Chernev <iskren.chernev@...il.com>
To: Bjorn Andersson <bjorn.andersson@...aro.org>
Cc: Andy Gross <agross@...nel.org>,
Kathiravan T <kathirav@...eaurora.org>,
Michael Turquette <mturquette@...libre.com>,
Rajendra Nayak <rnayak@...eaurora.org>,
Rob Herring <robh+dt@...nel.org>,
Stephen Boyd <sboyd@...nel.org>, devicetree@...r.kernel.org,
linux-arm-msm@...r.kernel.org, linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org, phone-devel@...r.kernel.org,
~postmarketos/upstreaming@...ts.sr.ht,
Iskren Chernev <iskren.chernev@...il.com>
Subject: [PATCH v1 0/5] Add rpmcc and rpmpd for SM4250/6115
This patch adds support for the RPM clocks and power domains on QCom SM4250 and
SM6115, codename bengal. The rpmcc code is converted from downstream code
(OnePlus repo [1]), and the rpmpd is converted from downstream DT extracted
from OnePlus Nord N100.
The downstream code has additional voter clocks, which let consumers vote and
the driver to select the highest desired clock rate for a given (real) parent
clock [2]. I might port that as well in the near future, let me know if there
is a more elegant solution.
[1]: https://github.com/OnePlusOSS/android_kernel_oneplus_sm4250
[2]: https://source.codeaurora.org/quic/server/kernel/commit/?h=v4.9.137&id=6a4951a8308c5729ae8e502787cb705477c94251
Iskren Chernev (5):
dt-bindings: soc: qcom: smd-rpm: Add SM4250,6115 compatible
dt-bindings: clock: qcom: rpmcc: Document SM6115,SM4250 compatible
clk: qcom: smd: Add support for SM6115 rpm clocks
dt-bindings: power: rpmpd: Add SM4250,SM6115 to rpmpd binding
drivers: soc: qcom: rpmpd: Add SM6115 RPM Power Domains
.../devicetree/bindings/clock/qcom,rpmcc.txt | 2 +
.../devicetree/bindings/power/qcom,rpmpd.yaml | 2 +
.../bindings/soc/qcom/qcom,smd-rpm.yaml | 2 +
drivers/clk/qcom/clk-smd-rpm.c | 64 +++++++++++++++++++
drivers/soc/qcom/rpmpd.c | 29 +++++++++
drivers/soc/qcom/smd-rpm.c | 2 +
include/dt-bindings/clock/qcom,rpmcc.h | 10 +++
include/dt-bindings/power/qcom-rpmpd.h | 20 ++++++
include/linux/soc/qcom/smd-rpm.h | 1 +
9 files changed, 132 insertions(+)
base-commit: e71e3a48a7e89fa71fb70bf4602367528864d2ff
--
2.31.1
Powered by blists - more mailing lists