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,odroid: 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-5-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
5ddff831 e1d77644

+7 -7
+7 -7
Documentation/devicetree/bindings/sound/samsung,odroid.yaml
··· 10 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 12 12 13 + allOf: 14 + - $ref: sound-card-common.yaml# 15 + 13 16 properties: 14 17 compatible: 15 18 oneOf: ··· 26 23 27 24 - const: samsung,odroid-xu4-audio 28 25 deprecated: true 29 - 30 - model: 31 - $ref: /schemas/types.yaml#/definitions/string 32 - description: The user-visible name of this sound complex. 33 26 34 27 assigned-clock-parents: true 35 28 assigned-clock-rates: true ··· 51 52 52 53 samsung,audio-routing: 53 54 $ref: /schemas/types.yaml#/definitions/non-unique-string-array 55 + deprecated: true 54 56 description: | 55 57 List of the connections between audio 56 58 components; each entry is a pair of strings, the first being the ··· 61 61 For Odroid X2: "Headphone Jack", "Mic Jack", "DMIC" 62 62 For Odroid U3, XU3: "Headphone Jack", "Speakers" 63 63 For Odroid XU4: no entries 64 + Deprecated, use audio-routing. 64 65 65 66 samsung,audio-widgets: 66 67 $ref: /schemas/types.yaml#/definitions/non-unique-string-array ··· 71 70 72 71 required: 73 72 - compatible 74 - - model 75 73 - cpu 76 74 - codec 77 75 78 - additionalProperties: false 76 + unevaluatedProperties: false 79 77 80 78 examples: 81 79 - | 82 80 sound { 83 81 compatible = "hardkernel,odroid-xu3-audio"; 84 82 model = "Odroid-XU3"; 85 - samsung,audio-routing = 83 + audio-routing = 86 84 "Headphone Jack", "HPL", 87 85 "Headphone Jack", "HPR", 88 86 "IN1", "Mic Jack",