From: "Barnabás Czémán" <barnabas.czeman@mainlining.org>
To: "Bjorn Andersson" <andersson@kernel.org>,
"Michael Turquette" <mturquette@baylibre.com>,
"Stephen Boyd" <sboyd@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Stephan Gerhold" <stephan@gerhold.net>,
"Otto Pflüger" <otto.pflueger@abscue.de>,
"Linus Walleij" <linus.walleij@linaro.org>,
"Lee Jones" <lee@kernel.org>,
"Srinivas Kandagatla" <srinivas.kandagatla@linaro.org>,
"Joerg Roedel" <joro@8bytes.org>, "Will Deacon" <will@kernel.org>,
"Robin Murphy" <robin.murphy@arm.com>,
"Konrad Dybcio" <konradybcio@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-gpio@vger.kernel.org, iommu@lists.linux.dev,
"Barnabás Czémán" <barnabas.czeman@mainlining.org>,
"Daniil Titov" <daniilt971@gmail.com>
Subject: [PATCH 02/10] dt-bindings: clock: Add MSM8937 Global Clock controller compatible
Date: Tue, 11 Feb 2025 23:37:46 +0100 [thread overview]
Message-ID: <20250211-msm8937-v1-2-7d27ed67f708@mainlining.org> (raw)
In-Reply-To: <20250211-msm8937-v1-0-7d27ed67f708@mainlining.org>
From: Daniil Titov <daniilt971@gmail.com>
Document the qcom,gcc-msm8937 compatible and add new input clocks.
Signed-off-by: Daniil Titov <daniilt971@gmail.com>
Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
---
.../bindings/clock/qcom,gcc-msm8917.yaml | 23 ++++++++++++++++++----
include/dt-bindings/clock/qcom,gcc-msm8917.h | 17 ++++++++++++++++
2 files changed, 36 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-msm8917.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-msm8917.yaml
index 6e567b2a5153af9bb32958154633d6da5fd1cd50..689c5760d9cd1fc96d97e5705cd1fcd48324433a 100644
--- a/Documentation/devicetree/bindings/clock/qcom,gcc-msm8917.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,gcc-msm8917.yaml
@@ -4,14 +4,14 @@
$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8917.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: Qualcomm Global Clock & Reset Controller on MSM8917 and QM215
+title: Qualcomm Global Clock & Reset Controller on MSM8917, MSM8937 and QM215
maintainers:
- Otto Pflüger <otto.pflueger@abscue.de>
description: |
Qualcomm global clock control module provides the clocks, resets and power
- domains on MSM8917 or QM215.
+ domains on MSM8917, MSM8937 or QM215.
See also:: include/dt-bindings/clock/qcom,gcc-msm8917.h
@@ -20,6 +20,7 @@ properties:
enum:
- qcom,gcc-msm8917
- qcom,gcc-qm215
+ - qcom,gcc-msm8937
clocks:
items:
@@ -27,6 +28,8 @@ properties:
- description: Sleep clock source
- description: DSI phy instance 0 dsi clock
- description: DSI phy instance 0 byte clock
+ - description: DSI phy instance 1 dsi clock
+ - description: DSI phy instance 1 byte clock
clock-names:
items:
@@ -34,6 +37,8 @@ properties:
- const: sleep_clk
- const: dsi0pll
- const: dsi0pllbyte
+ - const: dsi1pll
+ - const: dsi1pllbyte
required:
- compatible
@@ -53,7 +58,17 @@ examples:
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
- clocks = <&xo_board>, <&sleep_clk>, <&dsi0_phy 1>, <&dsi0_phy 0>;
- clock-names = "xo", "sleep_clk", "dsi0pll", "dsi0pllbyte";
+ clocks = <&xo_board>,
+ <&sleep_clk>,
+ <&dsi0_phy 1>,
+ <&dsi0_phy 0>,
+ <&dsi1_phy 1>,
+ <&dsi1_phy 0>;
+ clock-names = "xo",
+ "sleep",
+ "dsi0pll",
+ "dsi0pllbyte",
+ "dsi1pll",
+ "dsi1pllbyte";
};
...
diff --git a/include/dt-bindings/clock/qcom,gcc-msm8917.h b/include/dt-bindings/clock/qcom,gcc-msm8917.h
index 4b421e7414b50bef2e2400f868ae5b7212a427bb..ec1f0b261dd5ccfe4896a00ffa9cf86de98b9cb3 100644
--- a/include/dt-bindings/clock/qcom,gcc-msm8917.h
+++ b/include/dt-bindings/clock/qcom,gcc-msm8917.h
@@ -170,6 +170,22 @@
#define VFE1_CLK_SRC 163
#define VSYNC_CLK_SRC 164
#define GPLL0_SLEEP_CLK_SRC 165
+#define BLSP1_QUP1_I2C_APPS_CLK_SRC 166
+#define BLSP1_QUP1_SPI_APPS_CLK_SRC 167
+#define BLSP2_QUP4_I2C_APPS_CLK_SRC 168
+#define BLSP2_QUP4_SPI_APPS_CLK_SRC 169
+#define BYTE1_CLK_SRC 170
+#define ESC1_CLK_SRC 171
+#define PCLK1_CLK_SRC 172
+#define GCC_BLSP1_QUP1_I2C_APPS_CLK 173
+#define GCC_BLSP1_QUP1_SPI_APPS_CLK 174
+#define GCC_BLSP2_QUP4_I2C_APPS_CLK 175
+#define GCC_BLSP2_QUP4_SPI_APPS_CLK 176
+#define GCC_MDSS_BYTE1_CLK 177
+#define GCC_MDSS_ESC1_CLK 178
+#define GCC_MDSS_PCLK1_CLK 179
+#define GCC_OXILI_AON_CLK 180
+#define GCC_OXILI_TIMER_CLK 181
/* GCC block resets */
#define GCC_CAMSS_MICRO_BCR 0
@@ -187,5 +203,6 @@
#define VENUS_GDSC 5
#define VFE0_GDSC 6
#define VFE1_GDSC 7
+#define OXILI_CX_GDSC 8
#endif
--
2.48.1
next prev parent reply other threads:[~2025-02-11 22:38 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-11 22:37 [PATCH 00/10] Initial support of MSM8937 and Xiaomi Redmi 3S Barnabás Czémán
2025-02-11 22:37 ` [PATCH 01/10] dt-bindings: clock: gcc-msm8917: Split to separate schema Barnabás Czémán
2025-02-12 6:34 ` Krzysztof Kozlowski
2025-02-11 22:37 ` Barnabás Czémán [this message]
2025-02-12 6:35 ` [PATCH 02/10] dt-bindings: clock: Add MSM8937 Global Clock controller compatible Krzysztof Kozlowski
2025-02-11 22:37 ` [PATCH 03/10] clk: qcom: gcc: Add support for Global Clock controller found on MSM8937 Barnabás Czémán
2025-02-11 22:37 ` [PATCH 04/10] pinctrl: qcom: msm8917: Add MSM8937 wsa_reset pin Barnabás Czémán
2025-02-14 10:20 ` Linus Walleij
2025-02-14 16:53 ` barnabas.czeman
2025-02-26 21:30 ` Linus Walleij
2025-02-11 22:37 ` [PATCH 05/10] dt-bindings: mfd: qcom,tcsr: Add compatible for MSM8937 Barnabás Czémán
2025-02-12 6:36 ` Krzysztof Kozlowski
2025-02-20 15:18 ` (subset) " Lee Jones
2025-02-11 22:37 ` [PATCH 06/10] dt-bindings: nvmem: Add compatible for MS8937 Barnabás Czémán
2025-02-12 6:37 ` Krzysztof Kozlowski
2025-02-11 22:37 ` [PATCH 07/10] dt-bindings: iommu: qcom,iommu: Add MSM8937 IOMMU to SMMUv1 compatibles Barnabás Czémán
2025-02-12 6:37 ` Krzysztof Kozlowski
2025-02-11 22:37 ` [PATCH 08/10] arm64: dts: qcom: Add initial support for MSM8937 Barnabás Czémán
2025-02-12 13:07 ` Konrad Dybcio
2025-02-12 16:20 ` barnabas.czeman
2025-02-21 21:33 ` Konrad Dybcio
2025-02-11 22:37 ` [PATCH 09/10] dt-bindings: arm: qcom: Add Xiaomi Redmi 3S Barnabás Czémán
2025-02-12 6:36 ` Krzysztof Kozlowski
2025-02-11 22:37 ` [PATCH 10/10] arm64: dts: " Barnabás Czémán
2025-02-12 14:37 ` [PATCH 00/10] Initial support of MSM8937 and " Rob Herring (Arm)
2025-02-17 10:18 ` (subset) " Srinivas Kandagatla
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=20250211-msm8937-v1-2-7d27ed67f708@mainlining.org \
--to=barnabas.czeman@mainlining.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=daniilt971@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=iommu@lists.linux.dev \
--cc=joro@8bytes.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=otto.pflueger@abscue.de \
--cc=robh@kernel.org \
--cc=robin.murphy@arm.com \
--cc=sboyd@kernel.org \
--cc=srinivas.kandagatla@linaro.org \
--cc=stephan@gerhold.net \
--cc=will@kernel.org \
/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).