From: Iskren Chernev <iskren.chernev@gmail.com>
To: Bjorn Andersson <bjorn.andersson@linaro.org>,
Stephen Boyd <sboyd@kernel.org>
Cc: Andy Gross <agross@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Rob Herring <robh+dt@kernel.org>,
devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org,
phone-devel@vger.kernel.org,
~postmarketos/upstreaming@lists.sr.ht,
Iskren Chernev <iskren.chernev@gmail.com>
Subject: [PATCH v4 0/2] Add GCC for SM4250/6115
Date: Thu, 5 Aug 2021 19:11:05 +0300 [thread overview]
Message-ID: <20210805161107.1194521-1-iskren.chernev@gmail.com> (raw)
This patch adds support for the Global Clock Controller on QCom SM4250 and
SM6115, codename bengal. The code is taken from OnePlus repo [1]. The two
platforms are identical so there is only one compat string.
[1]: https://github.com/OnePlusOSS/android_kernel_oneplus_sm4250
v1: https://lkml.org/lkml/2021/6/22/1131
v2: https://lkml.org/lkml/2021/6/27/157
v3: https://lkml.org/lkml/2021/8/1/68
Changes from v3:
- removed test clock from driver/binding
- fix GCC_SDCC2_BCR value as spotted by Konrad
- simplified probe function
Changes from v2:
- Suggested by Stephen Boyd
- switch to parent_data in place of parent_names
- other
- drop parent refs to invalid clocks
- use pll-alpha regs when possible
- drop unused parent defs
- add pll test clock to bindings
Changes from v1:
- remove sm4250 compat, there will be a single sm6115.dtsi for both platforms
Iskren Chernev (2):
dt-bindings: clk: qcom: gcc-sm6115: Document SM6115 GCC
clk: qcom: Add Global Clock controller (GCC) driver for SM6115
.../bindings/clock/qcom,gcc-sm6115.yaml | 72 +
drivers/clk/qcom/Kconfig | 7 +
drivers/clk/qcom/Makefile | 1 +
drivers/clk/qcom/gcc-sm6115.c | 3544 +++++++++++++++++
include/dt-bindings/clock/qcom,gcc-sm6115.h | 201 +
5 files changed, 3825 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/qcom,gcc-sm6115.yaml
create mode 100644 drivers/clk/qcom/gcc-sm6115.c
create mode 100644 include/dt-bindings/clock/qcom,gcc-sm6115.h
base-commit: 8d4b477da1a807199ca60e0829357ce7aa6758d5
--
2.32.0
next reply other threads:[~2021-08-05 16:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-05 16:11 Iskren Chernev [this message]
2021-08-05 16:11 ` [PATCH v4 1/2] dt-bindings: clk: qcom: gcc-sm6115: Document SM6115 GCC Iskren Chernev
2021-08-06 20:33 ` Rob Herring
2021-08-29 3:59 ` Stephen Boyd
2021-08-05 16:11 ` [PATCH v4 2/2] clk: qcom: Add Global Clock controller (GCC) driver for SM6115 Iskren Chernev
2021-08-29 4:00 ` Stephen Boyd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210805161107.1194521-1-iskren.chernev@gmail.com \
--to=iskren.chernev@gmail.com \
--cc=agross@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=phone-devel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).