lkml.org 
[lkml]   [2021]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v1 0/5] Add rpmcc and rpmpd for SM4250/6115
Date
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

\
 
 \ /
  Last update: 2021-06-22 22:22    [W:0.050 / U:4.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site