1*8bab661aSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only 2*8bab661aSEmmanuel Vadot%YAML 1.2 3*8bab661aSEmmanuel Vadot--- 4*8bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,lcc.yaml# 5*8bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*8bab661aSEmmanuel Vadot 7*8bab661aSEmmanuel Vadottitle: Qualcomm LPASS Clock & Reset Controller 8*8bab661aSEmmanuel Vadot 9*8bab661aSEmmanuel Vadotmaintainers: 10*8bab661aSEmmanuel Vadot - Bjorn Andersson <andersson@kernel.org> 11*8bab661aSEmmanuel Vadot 12*8bab661aSEmmanuel Vadotproperties: 13*8bab661aSEmmanuel Vadot compatible: 14*8bab661aSEmmanuel Vadot enum: 15*8bab661aSEmmanuel Vadot - qcom,lcc-apq8064 16*8bab661aSEmmanuel Vadot - qcom,lcc-ipq8064 17*8bab661aSEmmanuel Vadot - qcom,lcc-mdm9615 18*8bab661aSEmmanuel Vadot - qcom,lcc-msm8960 19*8bab661aSEmmanuel Vadot 20*8bab661aSEmmanuel Vadot clocks: 21*8bab661aSEmmanuel Vadot maxItems: 8 22*8bab661aSEmmanuel Vadot 23*8bab661aSEmmanuel Vadot clock-names: 24*8bab661aSEmmanuel Vadot maxItems: 8 25*8bab661aSEmmanuel Vadot 26*8bab661aSEmmanuel Vadot '#clock-cells': 27*8bab661aSEmmanuel Vadot const: 1 28*8bab661aSEmmanuel Vadot 29*8bab661aSEmmanuel Vadot '#reset-cells': 30*8bab661aSEmmanuel Vadot const: 1 31*8bab661aSEmmanuel Vadot 32*8bab661aSEmmanuel Vadot reg: 33*8bab661aSEmmanuel Vadot maxItems: 1 34*8bab661aSEmmanuel Vadot 35*8bab661aSEmmanuel Vadotrequired: 36*8bab661aSEmmanuel Vadot - compatible 37*8bab661aSEmmanuel Vadot - reg 38*8bab661aSEmmanuel Vadot - '#clock-cells' 39*8bab661aSEmmanuel Vadot - '#reset-cells' 40*8bab661aSEmmanuel Vadot 41*8bab661aSEmmanuel VadotadditionalProperties: false 42*8bab661aSEmmanuel Vadot 43*8bab661aSEmmanuel VadotallOf: 44*8bab661aSEmmanuel Vadot - if: 45*8bab661aSEmmanuel Vadot properties: 46*8bab661aSEmmanuel Vadot compatible: 47*8bab661aSEmmanuel Vadot contains: 48*8bab661aSEmmanuel Vadot enum: 49*8bab661aSEmmanuel Vadot - qcom,lcc-apq8064 50*8bab661aSEmmanuel Vadot - qcom,lcc-msm8960 51*8bab661aSEmmanuel Vadot then: 52*8bab661aSEmmanuel Vadot properties: 53*8bab661aSEmmanuel Vadot clocks: 54*8bab661aSEmmanuel Vadot items: 55*8bab661aSEmmanuel Vadot - description: Board PXO source 56*8bab661aSEmmanuel Vadot - description: PLL 4 Vote clock 57*8bab661aSEmmanuel Vadot - description: MI2S codec clock 58*8bab661aSEmmanuel Vadot - description: Mic I2S codec clock 59*8bab661aSEmmanuel Vadot - description: Mic I2S spare clock 60*8bab661aSEmmanuel Vadot - description: Speaker I2S codec clock 61*8bab661aSEmmanuel Vadot - description: Speaker I2S spare clock 62*8bab661aSEmmanuel Vadot - description: PCM codec clock 63*8bab661aSEmmanuel Vadot 64*8bab661aSEmmanuel Vadot clock-names: 65*8bab661aSEmmanuel Vadot items: 66*8bab661aSEmmanuel Vadot - const: pxo 67*8bab661aSEmmanuel Vadot - const: pll4_vote 68*8bab661aSEmmanuel Vadot - const: mi2s_codec_clk 69*8bab661aSEmmanuel Vadot - const: codec_i2s_mic_codec_clk 70*8bab661aSEmmanuel Vadot - const: spare_i2s_mic_codec_clk 71*8bab661aSEmmanuel Vadot - const: codec_i2s_spkr_codec_clk 72*8bab661aSEmmanuel Vadot - const: spare_i2s_spkr_codec_clk 73*8bab661aSEmmanuel Vadot - const: pcm_codec_clk 74*8bab661aSEmmanuel Vadot 75*8bab661aSEmmanuel Vadot required: 76*8bab661aSEmmanuel Vadot - clocks 77*8bab661aSEmmanuel Vadot - clock-names 78*8bab661aSEmmanuel Vadot 79*8bab661aSEmmanuel Vadotexamples: 80*8bab661aSEmmanuel Vadot - | 81*8bab661aSEmmanuel Vadot clock-controller@28000000 { 82*8bab661aSEmmanuel Vadot compatible = "qcom,lcc-ipq8064"; 83*8bab661aSEmmanuel Vadot reg = <0x28000000 0x1000>; 84*8bab661aSEmmanuel Vadot #clock-cells = <1>; 85*8bab661aSEmmanuel Vadot #reset-cells = <1>; 86*8bab661aSEmmanuel Vadot }; 87