[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240731-msm8953-msm8976-asoc-v3-5-163f23c3a28d@gmail.com>
Date: Wed, 31 Jul 2024 17:25:29 +0200
From: Adam Skladowski <a39.skl@...il.com>
To: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
Banajit Goswami <bgoswami@...cinc.com>, Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>, Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Konrad Dybcio <konradybcio@...nel.org>,
Stephan Gerhold <stephan@...hold.net>
Cc: alsa-devel@...a-project.org, linux-arm-msm@...r.kernel.org,
linux-sound@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, Adam Skladowski <a39.skl@...il.com>
Subject: [PATCH v3 5/8] ASoC: dt-bindings: apq8016-sbc: Add
msm8953/msm8976-qdsp6-sndcard
Document MSM8953/MSM8976 QDSP6 cards.
Signed-off-by: Adam Skladowski <a39.skl@...il.com>
---
.../bindings/sound/qcom,apq8016-sbc-sndcard.yaml | 27 ++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/qcom,apq8016-sbc-sndcard.yaml b/Documentation/devicetree/bindings/sound/qcom,apq8016-sbc-sndcard.yaml
index 6ad451549036..43db5ad65d75 100644
--- a/Documentation/devicetree/bindings/sound/qcom,apq8016-sbc-sndcard.yaml
+++ b/Documentation/devicetree/bindings/sound/qcom,apq8016-sbc-sndcard.yaml
@@ -15,16 +15,22 @@ properties:
enum:
- qcom,apq8016-sbc-sndcard
- qcom,msm8916-qdsp6-sndcard
+ - qcom,msm8953-qdsp6-sndcard
+ - qcom,msm8976-qdsp6-sndcard
reg:
+ minItems: 2
items:
- description: Microphone I/O mux register address
- description: Speaker I/O mux register address
+ - description: Quinary Mi2S I/O mux register address
reg-names:
+ minItems: 2
items:
- const: mic-iomux
- const: spkr-iomux
+ - const: quin-iomux
audio-routing:
$ref: /schemas/types.yaml#/definitions/non-unique-string-array
@@ -106,6 +112,27 @@ required:
- reg-names
- model
+allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,apq8016-sbc-sndcard
+ - qcom,msm8916-qdsp6-sndcard
+ then:
+ properties:
+ reg:
+ maxItems: 2
+ reg-names:
+ maxItems: 2
+ else:
+ properties:
+ reg:
+ minItems: 3
+ reg-names:
+ minItems: 3
+
additionalProperties: false
examples:
--
2.45.2
Powered by blists - more mailing lists