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

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: dt-bindings: samsung,midas-audio: use common sound card

Reference the common sound card properties and deprecate the
custom "samsung,audio-routing" in favor of generic one. This allows to
remove "model" property and make the binding closer to other sounds
cards.

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

authored by

Krzysztof Kozlowski and committed by
Mark Brown
e1d77644 d63cff2b

+8 -8
+8 -8
Documentation/devicetree/bindings/sound/samsung,midas-audio.yaml
··· 9 9 maintainers: 10 10 - Sylwester Nawrocki <s.nawrocki@samsung.com> 11 11 12 + allOf: 13 + - $ref: sound-card-common.yaml# 14 + 12 15 properties: 13 16 compatible: 14 17 const: samsung,midas-audio 15 - 16 - model: 17 - $ref: /schemas/types.yaml#/definitions/string 18 - description: The user-visible name of this sound complex. 19 18 20 19 cpu: 21 20 type: object ··· 37 38 - sound-dai 38 39 39 40 samsung,audio-routing: 41 + deprecated: true 40 42 $ref: /schemas/types.yaml#/definitions/non-unique-string-array 41 43 description: | 42 44 List of the connections between audio components; each entry is ··· 45 45 being the connection's source; valid names for sources and sinks are 46 46 the WM1811's pins (as documented in its binding), and the jacks 47 47 on the board: HP, SPK, Main Mic, Sub Mic, Headset Mic. 48 + Deprecated, use audio-routing. 48 49 49 50 mic-bias-supply: 50 51 description: Supply for the micbias on the Main microphone ··· 63 62 64 63 required: 65 64 - compatible 66 - - model 67 65 - cpu 68 66 - codec 69 - - samsung,audio-routing 67 + - audio-routing 70 68 - mic-bias-supply 71 69 - submic-bias-supply 72 70 73 - additionalProperties: false 71 + unevaluatedProperties: false 74 72 75 73 examples: 76 74 - | ··· 84 84 mic-bias-supply = <&mic_bias_reg>; 85 85 submic-bias-supply = <&submic_bias_reg>; 86 86 87 - samsung,audio-routing = 87 + audio-routing = 88 88 "HP", "HPOUT1L", 89 89 "HP", "HPOUT1R", 90 90