Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: clock: Convert qcom,lcc to DT schema

Convert the text bindings for the lcc to yaml format. Doing this showed
that clocks and clock-names were not documented, so fix that now.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221016143514.612851-1-luca@z3ntu.xyz

authored by

Luca Weiss and committed by
Bjorn Andersson
aa7f4455 92039e8c

+86 -22
-22
Documentation/devicetree/bindings/clock/qcom,lcc.txt
··· 1 - Qualcomm LPASS Clock & Reset Controller Binding 2 - ------------------------------------------------ 3 - 4 - Required properties : 5 - - compatible : shall contain only one of the following: 6 - 7 - "qcom,lcc-msm8960" 8 - "qcom,lcc-apq8064" 9 - "qcom,lcc-ipq8064" 10 - "qcom,lcc-mdm9615" 11 - 12 - - reg : shall contain base register location and length 13 - - #clock-cells : shall contain 1 14 - - #reset-cells : shall contain 1 15 - 16 - Example: 17 - clock-controller@28000000 { 18 - compatible = "qcom,lcc-ipq8064"; 19 - reg = <0x28000000 0x1000>; 20 - #clock-cells = <1>; 21 - #reset-cells = <1>; 22 - };
+86
Documentation/devicetree/bindings/clock/qcom,lcc.yaml
··· 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 + examples: 80 + - | 81 + clock-controller@28000000 { 82 + compatible = "qcom,lcc-ipq8064"; 83 + reg = <0x28000000 0x1000>; 84 + #clock-cells = <1>; 85 + #reset-cells = <1>; 86 + };