Skip to content

Commit d0c2ecc

Browse files
RayyanAnsariandersson
authored andcommitted
dt-bindings: clock: qcom,qcs404-turingcc: convert to dtschema
Convert the bindings for the Turing Clock Controller on QCS404 from the old text format to yaml. Signed-off-by: Rayyan Ansari <[email protected]> Acked-by: Conor Dooley <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 386e0ac commit d0c2ecc

File tree

2 files changed

+47
-19
lines changed

2 files changed

+47
-19
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/qcom,qcs404-turingcc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm Turing Clock & Reset Controller on QCS404
8+
9+
maintainers:
10+
- Bjorn Andersson <[email protected]>
11+
12+
properties:
13+
compatible:
14+
const: qcom,qcs404-turingcc
15+
16+
reg:
17+
maxItems: 1
18+
19+
clocks:
20+
maxItems: 1
21+
22+
'#clock-cells':
23+
const: 1
24+
25+
'#reset-cells':
26+
const: 1
27+
28+
required:
29+
- compatible
30+
- reg
31+
- clocks
32+
- '#clock-cells'
33+
- '#reset-cells'
34+
35+
additionalProperties: false
36+
37+
examples:
38+
- |
39+
#include <dt-bindings/clock/qcom,gcc-qcs404.h>
40+
clock-controller@800000 {
41+
compatible = "qcom,qcs404-turingcc";
42+
reg = <0x00800000 0x30000>;
43+
clocks = <&gcc GCC_CDSP_CFG_AHB_CLK>;
44+
45+
#clock-cells = <1>;
46+
#reset-cells = <1>;
47+
};

Documentation/devicetree/bindings/clock/qcom,turingcc.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)