18bab661aSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only 28bab661aSEmmanuel Vadot%YAML 1.2 38bab661aSEmmanuel Vadot--- 48bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,lcc.yaml# 58bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 68bab661aSEmmanuel Vadot 78bab661aSEmmanuel Vadottitle: Qualcomm LPASS Clock & Reset Controller 88bab661aSEmmanuel Vadot 98bab661aSEmmanuel Vadotmaintainers: 108bab661aSEmmanuel Vadot - Bjorn Andersson <andersson@kernel.org> 118bab661aSEmmanuel Vadot 128bab661aSEmmanuel Vadotproperties: 138bab661aSEmmanuel Vadot compatible: 148bab661aSEmmanuel Vadot enum: 158bab661aSEmmanuel Vadot - qcom,lcc-apq8064 168bab661aSEmmanuel Vadot - qcom,lcc-ipq8064 178bab661aSEmmanuel Vadot - qcom,lcc-mdm9615 188bab661aSEmmanuel Vadot - qcom,lcc-msm8960 198bab661aSEmmanuel Vadot 208bab661aSEmmanuel Vadot clocks: 218bab661aSEmmanuel Vadot maxItems: 8 228bab661aSEmmanuel Vadot 238bab661aSEmmanuel Vadot clock-names: 248bab661aSEmmanuel Vadot maxItems: 8 258bab661aSEmmanuel Vadot 268bab661aSEmmanuel Vadot '#clock-cells': 278bab661aSEmmanuel Vadot const: 1 288bab661aSEmmanuel Vadot 298bab661aSEmmanuel Vadot '#reset-cells': 308bab661aSEmmanuel Vadot const: 1 318bab661aSEmmanuel Vadot 328bab661aSEmmanuel Vadot reg: 338bab661aSEmmanuel Vadot maxItems: 1 348bab661aSEmmanuel Vadot 358bab661aSEmmanuel Vadotrequired: 368bab661aSEmmanuel Vadot - compatible 378bab661aSEmmanuel Vadot - reg 388bab661aSEmmanuel Vadot - '#clock-cells' 398bab661aSEmmanuel Vadot - '#reset-cells' 408bab661aSEmmanuel Vadot 418bab661aSEmmanuel VadotadditionalProperties: false 428bab661aSEmmanuel Vadot 438bab661aSEmmanuel VadotallOf: 448bab661aSEmmanuel Vadot - if: 458bab661aSEmmanuel Vadot properties: 468bab661aSEmmanuel Vadot compatible: 478bab661aSEmmanuel Vadot contains: 488bab661aSEmmanuel Vadot enum: 498bab661aSEmmanuel Vadot - qcom,lcc-apq8064 508bab661aSEmmanuel Vadot - qcom,lcc-msm8960 518bab661aSEmmanuel Vadot then: 528bab661aSEmmanuel Vadot properties: 538bab661aSEmmanuel Vadot clocks: 548bab661aSEmmanuel Vadot items: 558bab661aSEmmanuel Vadot - description: Board PXO source 568bab661aSEmmanuel Vadot - description: PLL 4 Vote clock 578bab661aSEmmanuel Vadot - description: MI2S codec clock 588bab661aSEmmanuel Vadot - description: Mic I2S codec clock 598bab661aSEmmanuel Vadot - description: Mic I2S spare clock 608bab661aSEmmanuel Vadot - description: Speaker I2S codec clock 618bab661aSEmmanuel Vadot - description: Speaker I2S spare clock 628bab661aSEmmanuel Vadot - description: PCM codec clock 638bab661aSEmmanuel Vadot 648bab661aSEmmanuel Vadot clock-names: 658bab661aSEmmanuel Vadot items: 668bab661aSEmmanuel Vadot - const: pxo 678bab661aSEmmanuel Vadot - const: pll4_vote 688bab661aSEmmanuel Vadot - const: mi2s_codec_clk 698bab661aSEmmanuel Vadot - const: codec_i2s_mic_codec_clk 708bab661aSEmmanuel Vadot - const: spare_i2s_mic_codec_clk 718bab661aSEmmanuel Vadot - const: codec_i2s_spkr_codec_clk 728bab661aSEmmanuel Vadot - const: spare_i2s_spkr_codec_clk 738bab661aSEmmanuel Vadot - const: pcm_codec_clk 748bab661aSEmmanuel Vadot 758bab661aSEmmanuel Vadot required: 768bab661aSEmmanuel Vadot - clocks 778bab661aSEmmanuel Vadot - clock-names 788bab661aSEmmanuel Vadot 79*aa1a8ff2SEmmanuel Vadot - if: 80*aa1a8ff2SEmmanuel Vadot properties: 81*aa1a8ff2SEmmanuel Vadot compatible: 82*aa1a8ff2SEmmanuel Vadot contains: 83*aa1a8ff2SEmmanuel Vadot enum: 84*aa1a8ff2SEmmanuel Vadot - qcom,lcc-mdm9615 85*aa1a8ff2SEmmanuel Vadot then: 86*aa1a8ff2SEmmanuel Vadot properties: 87*aa1a8ff2SEmmanuel Vadot clocks: 88*aa1a8ff2SEmmanuel Vadot items: 89*aa1a8ff2SEmmanuel Vadot - description: Board CXO source 90*aa1a8ff2SEmmanuel Vadot - description: PLL 4 Vote clock 91*aa1a8ff2SEmmanuel Vadot - description: MI2S codec clock 92*aa1a8ff2SEmmanuel Vadot - description: Mic I2S codec clock 93*aa1a8ff2SEmmanuel Vadot - description: Mic I2S spare clock 94*aa1a8ff2SEmmanuel Vadot - description: Speaker I2S codec clock 95*aa1a8ff2SEmmanuel Vadot - description: Speaker I2S spare clock 96*aa1a8ff2SEmmanuel Vadot - description: PCM codec clock 97*aa1a8ff2SEmmanuel Vadot 98*aa1a8ff2SEmmanuel Vadot clock-names: 99*aa1a8ff2SEmmanuel Vadot items: 100*aa1a8ff2SEmmanuel Vadot - const: cxo 101*aa1a8ff2SEmmanuel Vadot - const: pll4_vote 102*aa1a8ff2SEmmanuel Vadot - const: mi2s_codec_clk 103*aa1a8ff2SEmmanuel Vadot - const: codec_i2s_mic_codec_clk 104*aa1a8ff2SEmmanuel Vadot - const: spare_i2s_mic_codec_clk 105*aa1a8ff2SEmmanuel Vadot - const: codec_i2s_spkr_codec_clk 106*aa1a8ff2SEmmanuel Vadot - const: spare_i2s_spkr_codec_clk 107*aa1a8ff2SEmmanuel Vadot - const: pcm_codec_clk 108*aa1a8ff2SEmmanuel Vadot 109*aa1a8ff2SEmmanuel Vadot required: 110*aa1a8ff2SEmmanuel Vadot - clocks 111*aa1a8ff2SEmmanuel Vadot - clock-names 112*aa1a8ff2SEmmanuel Vadot 1138bab661aSEmmanuel Vadotexamples: 1148bab661aSEmmanuel Vadot - | 1158bab661aSEmmanuel Vadot clock-controller@28000000 { 1168bab661aSEmmanuel Vadot compatible = "qcom,lcc-ipq8064"; 1178bab661aSEmmanuel Vadot reg = <0x28000000 0x1000>; 1188bab661aSEmmanuel Vadot #clock-cells = <1>; 1198bab661aSEmmanuel Vadot #reset-cells = <1>; 1208bab661aSEmmanuel Vadot }; 121