treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / clock / qcom,hfpll.txt
blobec02a024424cd46aee4e262f16d4a1d4206fed18
1 High-Frequency PLL (HFPLL)
3 PROPERTIES
5 - compatible:
6         Usage: required
7         Value type: <string>:
8                 shall contain only one of the following. The generic
9                 compatible "qcom,hfpll" should be also included.
11                         "qcom,hfpll-ipq8064", "qcom,hfpll"
12                         "qcom,hfpll-apq8064", "qcom,hfpll"
13                         "qcom,hfpll-msm8974", "qcom,hfpll"
14                         "qcom,hfpll-msm8960", "qcom,hfpll"
16 - reg:
17         Usage: required
18         Value type: <prop-encoded-array>
19         Definition: address and size of HPLL registers. An optional second
20                     element specifies the address and size of the alias
21                     register region.
23 - clocks:
24         Usage: required
25         Value type: <prop-encoded-array>
26         Definition: reference to the xo clock.
28 - clock-names:
29         Usage: required
30         Value type: <stringlist>
31         Definition: must be "xo".
33 - clock-output-names:
34         Usage: required
35         Value type: <string>
36         Definition: Name of the PLL. Typically hfpllX where X is a CPU number
37                     starting at 0. Otherwise hfpll_Y where Y is more specific
38                     such as "l2".
40 Example:
42 1) An HFPLL for the L2 cache.
44         clock-controller@f9016000 {
45                 compatible = "qcom,hfpll-ipq8064", "qcom,hfpll";
46                 reg = <0xf9016000 0x30>;
47                 clocks = <&xo_board>;
48                 clock-names = "xo";
49                 clock-output-names = "hfpll_l2";
50         };
52 2) An HFPLL for CPU0. This HFPLL has the alias register region.
54         clock-controller@f908a000 {
55                 compatible = "qcom,hfpll-ipq8064", "qcom,hfpll";
56                 reg = <0xf908a000 0x30>, <0xf900a000 0x30>;
57                 clocks = <&xo_board>;
58                 clock-names = "xo";
59                 clock-output-names = "hfpll0";
60         };