summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2020-10-29 13:15:49 +0300
committerMark Brown <broonie@kernel.org>2020-10-29 18:56:36 +0300
commita889583a19206636082c44625141b26392e46a62 (patch)
treed7e518f0cb8f216689de82aa3aef98d63a7c313d /Documentation
parentbcc96dc3cf8048c80af7c487af17e19be27ac57d (diff)
downloadlinux-a889583a19206636082c44625141b26392e46a62.tar.xz
ASoC: qcom: dt-bindings: sm8250: update compatibles
Update compatible string as board compatible and device compatible should not be same!. New compatible is now suffixed with -sndcard to be inline with other Qualcomm Sound cards. This also fixes the warnings/error reported by dt_binding_check. Fixes: 765c37598494 ("ASoC: qcom: dt-bindings: Add SM8250 sound card bindings") Reported-by: Rob Herring <robh@kernel.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20201029101550.31695-1-srinivas.kandagatla@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/sound/qcom,sm8250.yaml8
1 files changed, 3 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
index b8f97fe6e92c..72ad9ab91832 100644
--- a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
+++ b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
@@ -16,10 +16,8 @@ description:
properties:
compatible:
oneOf:
- - const: qcom,qrb5165-rb5
- - items:
- - const: qcom,sm8250
- - const: qcom,qrb5165-rb5
+ - const: qcom,sm8250-sndcard
+ - const: qcom,qrb5165-rb5-sndcard
audio-routing:
$ref: /schemas/types.yaml#/definitions/non-unique-string-array
@@ -83,7 +81,7 @@ examples:
#include <dt-bindings/sound/qcom,q6afe.h>
#include <dt-bindings/sound/qcom,q6asm.h>
sound {
- compatible = "qcom,qrb5165-rb5";
+ compatible = "qcom,qrb5165-rb5-sndcard";
model = "Qualcomm-qrb5165-RB5-WSA8815-Speakers-DMIC0";
audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT",
"SpkrRight IN", "WSA_SPK2 OUT",