devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/7] dt-bindings: clock: split qcom,gcc-ipq4019 to separate file
@ 2023-02-14 16:23 Robert Marko
  2023-02-14 16:23 ` [PATCH 2/7] clk: qcom: gcc-ipq4019: convert XO and sleep clk to parent_data Robert Marko
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: Robert Marko @ 2023-02-14 16:23 UTC (permalink / raw)
  To: andersson, agross, konrad.dybcio, mturquette, sboyd, robh+dt,
	krzysztof.kozlowski+dt, linux-arm-msm, linux-clk, devicetree,
	linux-kernel
  Cc: luka.perkov, Robert Marko

Move schema for the GCC on IPQ4019 platform to a separate file to be able
to allow passing XO and sleep clks directly to GCC.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
---
 .../bindings/clock/qcom,gcc-ipq4019.yaml      | 53 +++++++++++++++++++
 .../bindings/clock/qcom,gcc-other.yaml        |  2 -
 2 files changed, 53 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/qcom,gcc-ipq4019.yaml

diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-ipq4019.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-ipq4019.yaml
new file mode 100644
index 0000000000000..6ebaef2288fa3
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/qcom,gcc-ipq4019.yaml
@@ -0,0 +1,53 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/qcom,gcc-ipq4019.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Qualcomm Global Clock & Reset Controller on IPQ4019
+
+maintainers:
+  - Stephen Boyd <sboyd@kernel.org>
+  - Taniya Das <tdas@codeaurora.org>
+  - Robert Marko <robert.markoo@sartura.hr>
+
+description: |
+  Qualcomm global clock control module provides the clocks, resets and power
+  domains on IPQ4019.
+
+  See also:: include/dt-bindings/clock/qcom,gcc-ipq4019.h
+
+allOf:
+  - $ref: qcom,gcc.yaml#
+
+properties:
+  compatible:
+    const: qcom,gcc-ipq4019
+
+  clocks:
+    items:
+      - description: board XO clock
+      - description: sleep clock
+
+  clock-names:
+    items:
+      - const: xo
+      - const: sleep_clk
+
+required:
+  - compatible
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    clock-controller@1800000 {
+      compatible = "qcom,gcc-ipq4019";
+      reg = <0x1800000 0x60000>;
+      #clock-cells = <1>;
+      #power-domain-cells = <1>;
+      #reset-cells = <1>;
+      clocks = <&xo>, <&sleep_clk>;
+      clock-names = "xo", "sleep_clk";
+    };
+...
diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-other.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-other.yaml
index 2e8acca64af1c..ae01e77495342 100644
--- a/Documentation/devicetree/bindings/clock/qcom,gcc-other.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,gcc-other.yaml
@@ -15,7 +15,6 @@ description: |
   domains.
 
   See also::
-    include/dt-bindings/clock/qcom,gcc-ipq4019.h
     include/dt-bindings/clock/qcom,gcc-ipq6018.h
     include/dt-bindings/reset/qcom,gcc-ipq6018.h
     include/dt-bindings/clock/qcom,gcc-msm8953.h
@@ -29,7 +28,6 @@ allOf:
 properties:
   compatible:
     enum:
-      - qcom,gcc-ipq4019
       - qcom,gcc-ipq6018
       - qcom,gcc-mdm9607
       - qcom,gcc-msm8953
-- 
2.39.1


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-03-15 23:35 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-14 16:23 [PATCH 1/7] dt-bindings: clock: split qcom,gcc-ipq4019 to separate file Robert Marko
2023-02-14 16:23 ` [PATCH 2/7] clk: qcom: gcc-ipq4019: convert XO and sleep clk to parent_data Robert Marko
2023-02-16 10:42   ` Konrad Dybcio
2023-02-16 10:43     ` Konrad Dybcio
2023-02-14 16:23 ` [PATCH 3/7] ARM: dts: qcom: ipq4019: pass XO and sleep clocks to GCC Robert Marko
2023-02-14 16:23 ` [PATCH 4/7] ARM: dts: qcom: ipq4019: remove clk-output-names for sleep clock Robert Marko
2023-02-14 16:23 ` [PATCH 5/7] clk: qcom: gcc-ipq4019: move PLL clocks up Robert Marko
2023-02-14 16:23 ` [PATCH 6/7] clk: qcom: gcc-ipq4019: move pcnoc " Robert Marko
2023-02-16 10:41   ` Konrad Dybcio
2023-02-14 16:23 ` [PATCH 7/7] clk: qcom: gcc-ipq4019: convert to parent data Robert Marko
2023-02-16 10:16 ` [PATCH 1/7] dt-bindings: clock: split qcom,gcc-ipq4019 to separate file Krzysztof Kozlowski
2023-02-16 10:41   ` Robert Marko
2023-02-16 10:43     ` Krzysztof Kozlowski
2023-03-15 23:35 ` (subset) " Bjorn Andersson

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).