~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/clock/qcom,lcc.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0-only
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/clock/qcom,lcc.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Qualcomm LPASS Clock & Reset Controller
  8 
  9 maintainers:
 10   - Bjorn Andersson <andersson@kernel.org>
 11 
 12 properties:
 13   compatible:
 14     enum:
 15       - qcom,lcc-apq8064
 16       - qcom,lcc-ipq8064
 17       - qcom,lcc-mdm9615
 18       - qcom,lcc-msm8960
 19 
 20   clocks:
 21     maxItems: 8
 22 
 23   clock-names:
 24     maxItems: 8
 25 
 26   '#clock-cells':
 27     const: 1
 28 
 29   '#reset-cells':
 30     const: 1
 31 
 32   reg:
 33     maxItems: 1
 34 
 35 required:
 36   - compatible
 37   - reg
 38   - '#clock-cells'
 39   - '#reset-cells'
 40 
 41 additionalProperties: false
 42 
 43 allOf:
 44   - if:
 45       properties:
 46         compatible:
 47           contains:
 48             enum:
 49               - qcom,lcc-apq8064
 50               - qcom,lcc-msm8960
 51     then:
 52       properties:
 53         clocks:
 54           items:
 55             - description: Board PXO source
 56             - description: PLL 4 Vote clock
 57             - description: MI2S codec clock
 58             - description: Mic I2S codec clock
 59             - description: Mic I2S spare clock
 60             - description: Speaker I2S codec clock
 61             - description: Speaker I2S spare clock
 62             - description: PCM codec clock
 63 
 64         clock-names:
 65           items:
 66             - const: pxo
 67             - const: pll4_vote
 68             - const: mi2s_codec_clk
 69             - const: codec_i2s_mic_codec_clk
 70             - const: spare_i2s_mic_codec_clk
 71             - const: codec_i2s_spkr_codec_clk
 72             - const: spare_i2s_spkr_codec_clk
 73             - const: pcm_codec_clk
 74 
 75       required:
 76         - clocks
 77         - clock-names
 78 
 79   - if:
 80       properties:
 81         compatible:
 82           contains:
 83             enum:
 84               - qcom,lcc-mdm9615
 85     then:
 86       properties:
 87         clocks:
 88           items:
 89             - description: Board CXO source
 90             - description: PLL 4 Vote clock
 91             - description: MI2S codec clock
 92             - description: Mic I2S codec clock
 93             - description: Mic I2S spare clock
 94             - description: Speaker I2S codec clock
 95             - description: Speaker I2S spare clock
 96             - description: PCM codec clock
 97 
 98         clock-names:
 99           items:
100             - const: cxo
101             - const: pll4_vote
102             - const: mi2s_codec_clk
103             - const: codec_i2s_mic_codec_clk
104             - const: spare_i2s_mic_codec_clk
105             - const: codec_i2s_spkr_codec_clk
106             - const: spare_i2s_spkr_codec_clk
107             - const: pcm_codec_clk
108 
109       required:
110         - clocks
111         - clock-names
112 
113 examples:
114   - |
115     clock-controller@28000000 {
116         compatible = "qcom,lcc-ipq8064";
117         reg = <0x28000000 0x1000>;
118         #clock-cells = <1>;
119         #reset-cells = <1>;
120     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php