diff mbox series

[1/2] ASoC: dt-bindings: qcom,sm8250: use fallback for SDM845 sound cards

Message ID 20230118101542.96705-1-krzysztof.kozlowski@linaro.org (mailing list archive)
State Not Applicable
Headers show
Series [1/2] ASoC: dt-bindings: qcom,sm8250: use fallback for SDM845 sound cards | expand

Commit Message

Krzysztof Kozlowski Jan. 18, 2023, 10:15 a.m. UTC
All SDM845 sound cards are compatible with each other, so use one
generic fallback compatible for them.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../bindings/sound/qcom,sm8250.yaml           | 24 +++++++++++--------
 1 file changed, 14 insertions(+), 10 deletions(-)

Comments

Rob Herring (Arm) Jan. 18, 2023, 4:49 p.m. UTC | #1
On Wed, 18 Jan 2023 11:15:41 +0100, Krzysztof Kozlowski wrote:
> All SDM845 sound cards are compatible with each other, so use one
> generic fallback compatible for them.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../bindings/sound/qcom,sm8250.yaml           | 24 +++++++++++--------
>  1 file changed, 14 insertions(+), 10 deletions(-)
> 

Acked-by: Rob Herring <robh@kernel.org>
Mark Brown Jan. 26, 2023, 12:28 a.m. UTC | #2
On Wed, 18 Jan 2023 11:15:41 +0100, Krzysztof Kozlowski wrote:
> All SDM845 sound cards are compatible with each other, so use one
> generic fallback compatible for them.
> 
> 

Applied to

   broonie/sound.git for-next

Thanks!

[1/2] ASoC: dt-bindings: qcom,sm8250: use fallback for SDM845 sound cards
      commit: b4090b7cda255daafe816a00f2848f4f8e761786
[2/2] ASoC: qcom: sdm845: add remark about unneeded compatibles
      commit: 3a14adc51605452fdf1c009cc3333c7e399821d9

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
index 70080d04ddc9..262de7a60a73 100644
--- a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
+++ b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
@@ -15,16 +15,20 @@  description:
 
 properties:
   compatible:
-    enum:
-      - lenovo,yoga-c630-sndcard
-      - qcom,apq8016-sbc-sndcard
-      - qcom,db845c-sndcard
-      - qcom,msm8916-qdsp6-sndcard
-      - qcom,qrb5165-rb5-sndcard
-      - qcom,sc8280xp-sndcard
-      - qcom,sdm845-sndcard
-      - qcom,sm8250-sndcard
-      - qcom,sm8450-sndcard
+    oneOf:
+      - items:
+          - enum:
+              - lenovo,yoga-c630-sndcard
+              - qcom,db845c-sndcard
+          - const: qcom,sdm845-sndcard
+      - enum:
+          - qcom,apq8016-sbc-sndcard
+          - qcom,msm8916-qdsp6-sndcard
+          - qcom,qrb5165-rb5-sndcard
+          - qcom,sc8280xp-sndcard
+          - qcom,sdm845-sndcard
+          - qcom,sm8250-sndcard
+          - qcom,sm8450-sndcard
 
   audio-routing:
     $ref: /schemas/types.yaml#/definitions/non-unique-string-array