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

ASoC: dt-bindings: qcom,q6adm: Split to separate schema

The APR/GPR bindings with services got complicated so move out the Q6ADM
service to its own binding. Previously the compatible was documented in
qcom,apr.yaml. Move most of the examples from its children to this new
file.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20221115120235.167812-7-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
f26a776e 6180b325

+54 -19
+3 -19
Documentation/devicetree/bindings/sound/qcom,q6adm-routing.yaml
··· 30 30 31 31 examples: 32 32 - | 33 - #include <dt-bindings/soc/qcom,apr.h> 34 - #include <dt-bindings/sound/qcom,q6asm.h> 35 - 36 - apr { 37 - compatible = "qcom,apr-v2"; 38 - qcom,domain = <APR_DOMAIN_ADSP>; 39 - #address-cells = <1>; 40 - #size-cells = <0>; 41 - 42 - service@8 { 43 - compatible = "qcom,q6adm"; 44 - reg = <APR_SVC_ADM>; 45 - qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; 46 - 47 - routing { 48 - compatible = "qcom,q6adm-routing"; 49 - #sound-dai-cells = <0>; 50 - }; 51 - }; 33 + routing { 34 + compatible = "qcom,q6adm-routing"; 35 + #sound-dai-cells = <0>; 52 36 };
+51
Documentation/devicetree/bindings/sound/qcom,q6adm.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/sound/qcom,q6adm.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm Audio Device Manager (Q6ADM) 8 + 9 + maintainers: 10 + - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 11 + - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 12 + 13 + allOf: 14 + - $ref: /schemas/soc/qcom/qcom,apr-services.yaml# 15 + 16 + properties: 17 + compatible: 18 + enum: 19 + - qcom,q6adm 20 + 21 + routing: 22 + type: object 23 + $ref: /schemas/sound/qcom,q6adm-routing.yaml# 24 + unevaluatedProperties: false 25 + description: Qualcomm DSP LPASS audio routing 26 + 27 + required: 28 + - compatible 29 + - routing 30 + 31 + unevaluatedProperties: false 32 + 33 + examples: 34 + - | 35 + #include <dt-bindings/soc/qcom,apr.h> 36 + 37 + apr { 38 + #address-cells = <1>; 39 + #size-cells = <0>; 40 + 41 + service@8 { 42 + compatible = "qcom,q6adm"; 43 + reg = <APR_SVC_ADM>; 44 + qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; 45 + 46 + routing { 47 + compatible = "qcom,q6adm-routing"; 48 + #sound-dai-cells = <0>; 49 + }; 50 + }; 51 + };