1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/sound/samsu 4 $id: http://devicetree.org/schemas/sound/samsung,odroid.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Samsung Exynos Odroid XU3/XU4 audio com 7 title: Samsung Exynos Odroid XU3/XU4 audio complex with MAX98090 codec 8 8 9 maintainers: 9 maintainers: 10 - Krzysztof Kozlowski <krzk@kernel.org> 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 12 12 13 allOf: 13 allOf: 14 - $ref: sound-card-common.yaml# 14 - $ref: sound-card-common.yaml# 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 oneOf: 18 oneOf: 19 - const: hardkernel,odroid-xu3-audio 19 - const: hardkernel,odroid-xu3-audio 20 20 21 - const: hardkernel,odroid-xu4-audio 21 - const: hardkernel,odroid-xu4-audio 22 deprecated: true 22 deprecated: true 23 23 24 - const: samsung,odroid-xu3-audio 24 - const: samsung,odroid-xu3-audio 25 deprecated: true 25 deprecated: true 26 26 27 - const: samsung,odroid-xu4-audio 27 - const: samsung,odroid-xu4-audio 28 deprecated: true 28 deprecated: true 29 29 >> 30 assigned-clock-parents: true >> 31 assigned-clock-rates: true >> 32 assigned-clocks: true >> 33 clocks: true >> 34 30 cpu: 35 cpu: 31 type: object 36 type: object 32 additionalProperties: false 37 additionalProperties: false 33 properties: 38 properties: 34 sound-dai: 39 sound-dai: 35 description: phandles to the I2S contr 40 description: phandles to the I2S controllers 36 41 37 codec: 42 codec: 38 type: object 43 type: object 39 additionalProperties: false 44 additionalProperties: false 40 properties: 45 properties: 41 sound-dai: 46 sound-dai: 42 minItems: 1 47 minItems: 1 43 items: 48 items: 44 - description: phandle of the HDMI I 49 - description: phandle of the HDMI IP block node 45 - description: phandle of the MAX980 50 - description: phandle of the MAX98090 CODEC 46 51 47 samsung,audio-routing: 52 samsung,audio-routing: 48 $ref: /schemas/types.yaml#/definitions/non 53 $ref: /schemas/types.yaml#/definitions/non-unique-string-array 49 deprecated: true 54 deprecated: true 50 description: | 55 description: | 51 List of the connections between audio 56 List of the connections between audio 52 components; each entry is a pair of str 57 components; each entry is a pair of strings, the first being the 53 connection's sink, the second being the 58 connection's sink, the second being the connection's source; 54 valid names for sources and sinks are th 59 valid names for sources and sinks are the MAX98090's pins (as 55 documented in its binding), and the jack 60 documented in its binding), and the jacks on the board. 56 For Odroid X2: "Headphone Jack", "Mic Ja 61 For Odroid X2: "Headphone Jack", "Mic Jack", "DMIC" 57 For Odroid U3, XU3: "Headphone Jack", "S 62 For Odroid U3, XU3: "Headphone Jack", "Speakers" 58 For Odroid XU4: no entries 63 For Odroid XU4: no entries 59 Deprecated, use audio-routing. 64 Deprecated, use audio-routing. 60 65 61 samsung,audio-widgets: 66 samsung,audio-widgets: 62 $ref: /schemas/types.yaml#/definitions/non 67 $ref: /schemas/types.yaml#/definitions/non-unique-string-array 63 description: | 68 description: | 64 This property specifies off-codec audio 69 This property specifies off-codec audio elements 65 like headphones or speakers, for details 70 like headphones or speakers, for details see widgets.txt 66 71 67 required: 72 required: 68 - compatible 73 - compatible 69 - cpu 74 - cpu 70 - codec 75 - codec 71 76 72 unevaluatedProperties: false 77 unevaluatedProperties: false 73 78 74 examples: 79 examples: 75 - | 80 - | 76 sound { 81 sound { 77 compatible = "hardkernel,odroid-xu3-au 82 compatible = "hardkernel,odroid-xu3-audio"; 78 model = "Odroid-XU3"; 83 model = "Odroid-XU3"; 79 audio-routing = 84 audio-routing = 80 "Headphone Jack", "HPL", 85 "Headphone Jack", "HPL", 81 "Headphone Jack", "HPR", 86 "Headphone Jack", "HPR", 82 "IN1", "Mic Jack", 87 "IN1", "Mic Jack", 83 "Mic Jack", "MICBIAS"; 88 "Mic Jack", "MICBIAS"; 84 89 85 cpu { 90 cpu { 86 sound-dai = <&i2s0 0>; 91 sound-dai = <&i2s0 0>; 87 }; 92 }; 88 93 89 codec { 94 codec { 90 sound-dai = <&hdmi>, <&max98090>; 95 sound-dai = <&hdmi>, <&max98090>; 91 }; 96 }; 92 }; 97 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.