All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: mfd: qcom,tcsr: Convert to dtschema
@ 2022-06-07 13:34 Krzysztof Kozlowski
  2022-06-07 13:34 ` [PATCH 2/2] dt-bindings: mfd: qcom,tcsr: Add qcom,tcsr-mdm9615 Krzysztof Kozlowski
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2022-06-07 13:34 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Lee Jones, Rob Herring,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

Convert the Qualcomm Top Control and Status Register to DT Schema.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/mfd/qcom,tcsr.txt     | 24 ---------
 .../devicetree/bindings/mfd/qcom,tcsr.yaml    | 49 +++++++++++++++++++
 2 files changed, 49 insertions(+), 24 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/mfd/qcom,tcsr.txt
 create mode 100644 Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml

diff --git a/Documentation/devicetree/bindings/mfd/qcom,tcsr.txt b/Documentation/devicetree/bindings/mfd/qcom,tcsr.txt
deleted file mode 100644
index add61bcc3c74..000000000000
--- a/Documentation/devicetree/bindings/mfd/qcom,tcsr.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-QCOM Top Control and Status Register
-
-Qualcomm devices have a set of registers that provide various control and status
-functions for their peripherals.  This node is intended to allow access to these
-registers via syscon.
-
-Required properties:
-- compatible:	Should contain:
-		"qcom,tcsr-ipq6018", "syscon", "simple-mfd" for IPQ6018
-		"qcom,tcsr-ipq8064", "syscon" for IPQ8064
-		"qcom,tcsr-apq8064", "syscon" for APQ8064
-		"qcom,tcsr-msm8660", "syscon" for MSM8660
-		"qcom,tcsr-msm8953", "syscon" for MSM8953
-		"qcom,tcsr-msm8960", "syscon" for MSM8960
-		"qcom,tcsr-msm8974", "syscon" for MSM8974
-		"qcom,tcsr-apq8084", "syscon" for APQ8084
-		"qcom,tcsr-msm8916", "syscon" for MSM8916
-- reg: Address range for TCSR registers
-
-Example:
-	tcsr: syscon@1a400000 {
-		compatible = "qcom,tcsr-msm8960", "syscon";
-		reg = <0x1a400000 0x100>;
-	};
diff --git a/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
new file mode 100644
index 000000000000..428973f97a72
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
@@ -0,0 +1,49 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mfd/qcom,tcsr.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Qualcomm Top Control and Status Register
+
+maintainers:
+  - Bjorn Andersson <bjorn.andersson@linaro.org>
+
+description:
+  Qualcomm devices have a set of registers that provide various control and
+  status functions for their peripherals.
+
+properties:
+  compatible:
+    oneOf:
+      - items:
+          - enum:
+              - qcom,tcsr-apq8064
+              - qcom,tcsr-apq8084
+              - qcom,tcsr-ipq8064
+              - qcom,tcsr-msm8660
+              - qcom,tcsr-msm8916
+              - qcom,tcsr-msm8953
+              - qcom,tcsr-msm8960
+              - qcom,tcsr-msm8974
+          - const: syscon
+      - items:
+          - const: qcom,tcsr-ipq6018
+          - const: syscon
+          - const: simple-mfd
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    syscon@1a400000 {
+        compatible = "qcom,tcsr-msm8960", "syscon";
+        reg = <0x1a400000 0x100>;
+    };
-- 
2.34.1


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

* [PATCH 2/2] dt-bindings: mfd: qcom,tcsr: Add qcom,tcsr-mdm9615
  2022-06-07 13:34 [PATCH 1/2] dt-bindings: mfd: qcom,tcsr: Convert to dtschema Krzysztof Kozlowski
@ 2022-06-07 13:34 ` Krzysztof Kozlowski
  2022-06-09 20:14   ` Rob Herring
  2022-06-15 22:37   ` Lee Jones
  2022-06-09 20:14 ` [PATCH 1/2] dt-bindings: mfd: qcom,tcsr: Convert to dtschema Rob Herring
  2022-06-15 22:36 ` Lee Jones
  2 siblings, 2 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2022-06-07 13:34 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Lee Jones, Rob Herring,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

Document the (already used) TCSR on MDM9615.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
index 428973f97a72..2f816fd0c9ec 100644
--- a/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
+++ b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
@@ -21,6 +21,7 @@ properties:
               - qcom,tcsr-apq8064
               - qcom,tcsr-apq8084
               - qcom,tcsr-ipq8064
+              - qcom,tcsr-mdm9615
               - qcom,tcsr-msm8660
               - qcom,tcsr-msm8916
               - qcom,tcsr-msm8953
-- 
2.34.1


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

* Re: [PATCH 1/2] dt-bindings: mfd: qcom,tcsr: Convert to dtschema
  2022-06-07 13:34 [PATCH 1/2] dt-bindings: mfd: qcom,tcsr: Convert to dtschema Krzysztof Kozlowski
  2022-06-07 13:34 ` [PATCH 2/2] dt-bindings: mfd: qcom,tcsr: Add qcom,tcsr-mdm9615 Krzysztof Kozlowski
@ 2022-06-09 20:14 ` Rob Herring
  2022-06-15 22:36 ` Lee Jones
  2 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2022-06-09 20:14 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: linux-arm-msm, linux-kernel, Krzysztof Kozlowski,
	Bjorn Andersson, devicetree, Lee Jones, Andy Gross, Rob Herring

On Tue, 07 Jun 2022 15:34:42 +0200, Krzysztof Kozlowski wrote:
> Convert the Qualcomm Top Control and Status Register to DT Schema.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../devicetree/bindings/mfd/qcom,tcsr.txt     | 24 ---------
>  .../devicetree/bindings/mfd/qcom,tcsr.yaml    | 49 +++++++++++++++++++
>  2 files changed, 49 insertions(+), 24 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/mfd/qcom,tcsr.txt
>  create mode 100644 Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
> 

Reviewed-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 2/2] dt-bindings: mfd: qcom,tcsr: Add qcom,tcsr-mdm9615
  2022-06-07 13:34 ` [PATCH 2/2] dt-bindings: mfd: qcom,tcsr: Add qcom,tcsr-mdm9615 Krzysztof Kozlowski
@ 2022-06-09 20:14   ` Rob Herring
  2022-06-15 22:37   ` Lee Jones
  1 sibling, 0 replies; 6+ messages in thread
From: Rob Herring @ 2022-06-09 20:14 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Rob Herring, devicetree, linux-kernel, Bjorn Andersson,
	Lee Jones, Andy Gross, Krzysztof Kozlowski, linux-arm-msm

On Tue, 07 Jun 2022 15:34:43 +0200, Krzysztof Kozlowski wrote:
> Document the (already used) TCSR on MDM9615.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 1/2] dt-bindings: mfd: qcom,tcsr: Convert to dtschema
  2022-06-07 13:34 [PATCH 1/2] dt-bindings: mfd: qcom,tcsr: Convert to dtschema Krzysztof Kozlowski
  2022-06-07 13:34 ` [PATCH 2/2] dt-bindings: mfd: qcom,tcsr: Add qcom,tcsr-mdm9615 Krzysztof Kozlowski
  2022-06-09 20:14 ` [PATCH 1/2] dt-bindings: mfd: qcom,tcsr: Convert to dtschema Rob Herring
@ 2022-06-15 22:36 ` Lee Jones
  2 siblings, 0 replies; 6+ messages in thread
From: Lee Jones @ 2022-06-15 22:36 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
	linux-arm-msm, devicetree, linux-kernel

On Tue, 07 Jun 2022, Krzysztof Kozlowski wrote:

> Convert the Qualcomm Top Control and Status Register to DT Schema.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../devicetree/bindings/mfd/qcom,tcsr.txt     | 24 ---------
>  .../devicetree/bindings/mfd/qcom,tcsr.yaml    | 49 +++++++++++++++++++
>  2 files changed, 49 insertions(+), 24 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/mfd/qcom,tcsr.txt
>  create mode 100644 Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml

Applied, thanks.

-- 
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [PATCH 2/2] dt-bindings: mfd: qcom,tcsr: Add qcom,tcsr-mdm9615
  2022-06-07 13:34 ` [PATCH 2/2] dt-bindings: mfd: qcom,tcsr: Add qcom,tcsr-mdm9615 Krzysztof Kozlowski
  2022-06-09 20:14   ` Rob Herring
@ 2022-06-15 22:37   ` Lee Jones
  1 sibling, 0 replies; 6+ messages in thread
From: Lee Jones @ 2022-06-15 22:37 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
	linux-arm-msm, devicetree, linux-kernel

On Tue, 07 Jun 2022, Krzysztof Kozlowski wrote:

> Document the (already used) TCSR on MDM9615.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

-- 
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog

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

end of thread, other threads:[~2022-06-15 22:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-07 13:34 [PATCH 1/2] dt-bindings: mfd: qcom,tcsr: Convert to dtschema Krzysztof Kozlowski
2022-06-07 13:34 ` [PATCH 2/2] dt-bindings: mfd: qcom,tcsr: Add qcom,tcsr-mdm9615 Krzysztof Kozlowski
2022-06-09 20:14   ` Rob Herring
2022-06-15 22:37   ` Lee Jones
2022-06-09 20:14 ` [PATCH 1/2] dt-bindings: mfd: qcom,tcsr: Convert to dtschema Rob Herring
2022-06-15 22:36 ` Lee Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.