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 01/10] dt-bindings: clock: gcc-msm8917: Split to separate schema
Date: Tue, 11 Feb 2025 23:37:45 +0100 [thread overview]
Message-ID: <20250211-msm8937-v1-1-7d27ed67f708@mainlining.org> (raw)
In-Reply-To: <20250211-msm8937-v1-0-7d27ed67f708@mainlining.org>
From: Daniil Titov <daniilt971@gmail.com>
The Qualcomm MSM8917 Global Clock controller after adding support for new
SoCs has different clock inputs, thus existing qcom,gcc-msm8909.yaml was
not describing it fully. Move the binding to it's own schema file and
document the clocks based on DTS. Add driver contributors as it's
maintainers.
Signed-off-by: Daniil Titov <daniilt971@gmail.com>
Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
---
.../bindings/clock/qcom,gcc-msm8909.yaml | 10 ++--
.../bindings/clock/qcom,gcc-msm8917.yaml | 59 ++++++++++++++++++++++
2 files changed, 62 insertions(+), 7 deletions(-)
diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-msm8909.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-msm8909.yaml
index ce1f5a60bd8c9dfe60a791881868337d3e1723df..5a4ff4f78d4e1d9ecdc06ec171f9b126194e3bc4 100644
--- a/Documentation/devicetree/bindings/clock/qcom,gcc-msm8909.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,gcc-msm8909.yaml
@@ -4,25 +4,21 @@
$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8909.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: Qualcomm Global Clock & Reset Controller on MSM8909, MSM8917 and QM215
+title: Qualcomm Global Clock & Reset Controller on MSM8909
maintainers:
- Stephan Gerhold <stephan@gerhold.net>
description: |
Qualcomm global clock control module provides the clocks, resets and power
- domains on MSM8909, MSM8917 or QM215.
+ domains on MSM8909.
- See also::
- include/dt-bindings/clock/qcom,gcc-msm8909.h
- include/dt-bindings/clock/qcom,gcc-msm8917.h
+ See also:: include/dt-bindings/clock/qcom,gcc-msm8909.h
properties:
compatible:
enum:
- qcom,gcc-msm8909
- - qcom,gcc-msm8917
- - qcom,gcc-qm215
clocks:
items:
diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-msm8917.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-msm8917.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..6e567b2a5153af9bb32958154633d6da5fd1cd50
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/qcom,gcc-msm8917.yaml
@@ -0,0 +1,59 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$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
+
+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.
+
+ See also:: include/dt-bindings/clock/qcom,gcc-msm8917.h
+
+properties:
+ compatible:
+ enum:
+ - qcom,gcc-msm8917
+ - qcom,gcc-qm215
+
+ clocks:
+ items:
+ - description: XO source
+ - description: Sleep clock source
+ - description: DSI phy instance 0 dsi clock
+ - description: DSI phy instance 0 byte clock
+
+ clock-names:
+ items:
+ - const: xo
+ - const: sleep_clk
+ - const: dsi0pll
+ - const: dsi0pllbyte
+
+required:
+ - compatible
+ - clocks
+ - clock-names
+
+allOf:
+ - $ref: qcom,gcc.yaml#
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ gcc: clock-controller@1800000 {
+ compatible = "qcom,gcc-msm8917";
+ reg = <0x01800000 0x80000>;
+ #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";
+ };
+...
--
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 ` Barnabás Czémán [this message]
2025-02-12 6:34 ` [PATCH 01/10] dt-bindings: clock: gcc-msm8917: Split to separate schema Krzysztof Kozlowski
2025-02-11 22:37 ` [PATCH 02/10] dt-bindings: clock: Add MSM8937 Global Clock controller compatible Barnabás Czémán
2025-02-12 6:35 ` 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-1-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).