Skip to content

Commit 849ed9d

Browse files
z3ntuandersson
authored andcommitted
dt-bindings: clock: qcom,hfpll: Convert to YAML
Convert the .txt documentation to .yaml with some adjustments. * APQ8064/IPQ8064/MSM8960 compatibles are dropped since their HFPLLs are a part of GCC so there is no need for a separate compat entry. * Change the MSM8974 compatible to follow the updated naming schema. Theis compatible is not used upstream yet. * Add qcs404-hfpll. QCS404 currently uses qcom,hfpll. Mark that as deprecated since every SoC appears to need different driver data so "qcom,hfpll" makes no sense to keep Signed-off-by: Luca Weiss <[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 3b98548 commit 849ed9d

File tree

2 files changed

+69
-63
lines changed

2 files changed

+69
-63
lines changed

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

Lines changed: 0 additions & 63 deletions
This file was deleted.
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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,hfpll.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm High-Frequency PLL
8+
9+
maintainers:
10+
- Bjorn Andersson <[email protected]>
11+
12+
description:
13+
The HFPLL is used as CPU PLL on various Qualcomm SoCs.
14+
15+
properties:
16+
compatible:
17+
oneOf:
18+
- enum:
19+
- qcom,msm8974-hfpll
20+
- qcom,msm8976-hfpll-a53
21+
- qcom,msm8976-hfpll-a72
22+
- qcom,msm8976-hfpll-cci
23+
- qcom,qcs404-hfpll
24+
- const: qcom,hfpll
25+
deprecated: true
26+
27+
reg:
28+
items:
29+
- description: HFPLL registers
30+
- description: Alias register region
31+
minItems: 1
32+
33+
'#clock-cells':
34+
const: 0
35+
36+
clocks:
37+
items:
38+
- description: board XO clock
39+
40+
clock-names:
41+
items:
42+
- const: xo
43+
44+
clock-output-names:
45+
description:
46+
Name of the PLL. Typically hfpllX where X is a CPU number starting at 0.
47+
Otherwise hfpll_Y where Y is more specific such as "l2".
48+
maxItems: 1
49+
50+
required:
51+
- compatible
52+
- reg
53+
- '#clock-cells'
54+
- clocks
55+
- clock-names
56+
- clock-output-names
57+
58+
additionalProperties: false
59+
60+
examples:
61+
- |
62+
clock-controller@f908a000 {
63+
compatible = "qcom,msm8974-hfpll";
64+
reg = <0xf908a000 0x30>, <0xf900a000 0x30>;
65+
#clock-cells = <0>;
66+
clock-output-names = "hfpll0";
67+
clocks = <&xo_board>;
68+
clock-names = "xo";
69+
};

0 commit comments

Comments
 (0)