1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/sound/samsung,odroid.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung Exynos Odroid XU3/XU4 audio complex with MAX98090 codec
10 - Krzysztof Kozlowski <krzk@kernel.org>
11 - Sylwester Nawrocki <s.nawrocki@samsung.com>
16 - const: hardkernel,odroid-xu3-audio
18 - const: hardkernel,odroid-xu4-audio
21 - const: samsung,odroid-xu3-audio
24 - const: samsung,odroid-xu4-audio
28 $ref: /schemas/types.yaml#/definitions/string
29 description: The user-visible name of this sound complex.
31 assigned-clock-parents: true
32 assigned-clock-rates: true
40 $ref: /schemas/types.yaml#/definitions/phandle-array
41 description: phandles to the I2S controllers
47 $ref: /schemas/types.yaml#/definitions/phandle-array
49 List of phandles to the CODEC nodes,
50 first entry must be corresponding to the MAX98090 CODEC and
51 the second entry must be the phandle of the HDMI IP block node.
53 samsung,audio-routing:
54 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
56 List of the connections between audio
57 components; each entry is a pair of strings, the first being the
58 connection's sink, the second being the connection's source;
59 valid names for sources and sinks are the MAX98090's pins (as
60 documented in its binding), and the jacks on the board.
61 For Odroid X2: "Headphone Jack", "Mic Jack", "DMIC"
62 For Odroid U3, XU3: "Headphone Jack", "Speakers"
63 For Odroid XU4: no entries
65 samsung,audio-widgets:
66 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
68 This property specifies off-codec audio elements
69 like headphones or speakers, for details see widgets.txt
77 additionalProperties: false
82 compatible = "hardkernel,odroid-xu3-audio";
84 samsung,audio-routing =
85 "Headphone Jack", "HPL",
86 "Headphone Jack", "HPR",
88 "Mic Jack", "MICBIAS";
91 sound-dai = <&i2s0 0>;
95 sound-dai = <&hdmi>, <&max98090>;