summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/clock/qcom,lcc.yaml
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2023-05-13 00:17:18 +0300
committerBjorn Andersson <andersson@kernel.org>2023-07-31 14:23:19 -0700
commit83490976a7a724eb8d7d4247c544a7ba2d2d1ac4 (patch)
tree9239840fd612645669aef4f8ec4f3b5c23224bdd /Documentation/devicetree/bindings/clock/qcom,lcc.yaml
parente5e527d1ed02fec0310d1e1574557781360e4418 (diff)
downloadlwn-83490976a7a724eb8d7d4247c544a7ba2d2d1ac4.tar.gz
lwn-83490976a7a724eb8d7d4247c544a7ba2d2d1ac4.zip
dt-bindings: clock: qcom,lcc.yaml: describe clocks for lcc,qcom-mdm9615
Describe parent clocks used by the LCC on the MDM9615 platform. It is the list as the one for msm8960/apq8064, with only difference being pxo/cxo replacement. Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20230512211727.3445575-2-dmitry.baryshkov@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/clock/qcom,lcc.yaml')
-rw-r--r--Documentation/devicetree/bindings/clock/qcom,lcc.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/qcom,lcc.yaml b/Documentation/devicetree/bindings/clock/qcom,lcc.yaml
index 8c783823e93c..55985e562a34 100644
--- a/Documentation/devicetree/bindings/clock/qcom,lcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,lcc.yaml
@@ -76,6 +76,40 @@ allOf:
- clocks
- clock-names
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,lcc-mdm9615
+ then:
+ properties:
+ clocks:
+ items:
+ - description: Board CXO source
+ - description: PLL 4 Vote clock
+ - description: MI2S codec clock
+ - description: Mic I2S codec clock
+ - description: Mic I2S spare clock
+ - description: Speaker I2S codec clock
+ - description: Speaker I2S spare clock
+ - description: PCM codec clock
+
+ clock-names:
+ items:
+ - const: cxo
+ - const: pll4_vote
+ - const: mi2s_codec_clk
+ - const: codec_i2s_mic_codec_clk
+ - const: spare_i2s_mic_codec_clk
+ - const: codec_i2s_spkr_codec_clk
+ - const: spare_i2s_spkr_codec_clk
+ - const: pcm_codec_clk
+
+ required:
+ - clocks
+ - clock-names
+
examples:
- |
clock-controller@28000000 {