ipq40xx: remove support for kernel 4.19
[openwrt/openwrt.git] / target / linux / ipq806x / patches-4.19 / 0034-0011-dt-bindings-clock-Document-qcom-krait-cc.patch
1 From bf4503ccf321811192cb07f9711556237c3cf668 Mon Sep 17 00:00:00 2001
2 From: Stephen Boyd <sboyd@codeaurora.org>
3 Date: Tue, 14 Aug 2018 17:42:30 +0530
4 Subject: [PATCH 11/12] dt-bindings: clock: Document qcom,krait-cc
5
6 The Krait clock controller controls the krait CPU and the L2 clocks
7 consisting a primary mux and secondary mux. Add document for that.
8
9 Reviewed-by: Rob Herring <robh@kernel.org>
10 Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
11 Signed-off-by: Sricharan R <sricharan@codeaurora.org>
12 Tested-by: Craig Tatlor <ctatlor97@gmail.com>
13 Signed-off-by: Stephen Boyd <sboyd@kernel.org>
14 ---
15 .../bindings/clock/qcom,krait-cc.txt | 34 +++++++++++++++++++
16 1 file changed, 34 insertions(+)
17 create mode 100644 Documentation/devicetree/bindings/clock/qcom,krait-cc.txt
18
19 --- /dev/null
20 +++ b/Documentation/devicetree/bindings/clock/qcom,krait-cc.txt
21 @@ -0,0 +1,34 @@
22 +Krait Clock Controller
23 +
24 +PROPERTIES
25 +
26 +- compatible:
27 + Usage: required
28 + Value type: <string>
29 + Definition: must be one of:
30 + "qcom,krait-cc-v1"
31 + "qcom,krait-cc-v2"
32 +
33 +- #clock-cells:
34 + Usage: required
35 + Value type: <u32>
36 + Definition: must be 1
37 +
38 +- clocks:
39 + Usage: required
40 + Value type: <prop-encoded-array>
41 + Definition: reference to the clock parents of hfpll, secondary muxes.
42 +
43 +- clock-names:
44 + Usage: required
45 + Value type: <stringlist>
46 + Definition: must be "hfpll0", "hfpll1", "acpu0_aux", "acpu1_aux", "qsb".
47 +
48 +Example:
49 +
50 + kraitcc: clock-controller {
51 + compatible = "qcom,krait-cc-v1";
52 + clocks = <&hfpll0>, <&hfpll1>, <&acpu0_aux>, <&acpu1_aux>, <qsb>;
53 + clock-names = "hfpll0", "hfpll1", "acpu0_aux", "acpu1_aux", "qsb";
54 + #clock-cells = <1>;
55 + };