Commit a889583a authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Mark Brown

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: 765c3759 ("ASoC: qcom: dt-bindings: Add SM8250 sound card bindings")
Reported-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20201029101550.31695-1-srinivas.kandagatla@linaro.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent bcc96dc3
...@@ -16,10 +16,8 @@ description: ...@@ -16,10 +16,8 @@ description:
properties: properties:
compatible: compatible:
oneOf: oneOf:
- const: qcom,qrb5165-rb5 - const: qcom,sm8250-sndcard
- items: - const: qcom,qrb5165-rb5-sndcard
- const: qcom,sm8250
- const: qcom,qrb5165-rb5
audio-routing: audio-routing:
$ref: /schemas/types.yaml#/definitions/non-unique-string-array $ref: /schemas/types.yaml#/definitions/non-unique-string-array
...@@ -83,7 +81,7 @@ examples: ...@@ -83,7 +81,7 @@ examples:
#include <dt-bindings/sound/qcom,q6afe.h> #include <dt-bindings/sound/qcom,q6afe.h>
#include <dt-bindings/sound/qcom,q6asm.h> #include <dt-bindings/sound/qcom,q6asm.h>
sound { sound {
compatible = "qcom,qrb5165-rb5"; compatible = "qcom,qrb5165-rb5-sndcard";
model = "Qualcomm-qrb5165-RB5-WSA8815-Speakers-DMIC0"; model = "Qualcomm-qrb5165-RB5-WSA8815-Speakers-DMIC0";
audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT", audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT",
"SpkrRight IN", "WSA_SPK2 OUT", "SpkrRight IN", "WSA_SPK2 OUT",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment