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.
35 $ref: /schemas/types.yaml#/definitions/phandle-array
36 description: phandles to the I2S controllers
42 $ref: /schemas/types.yaml#/definitions/phandle-array
44 List of phandles to the CODEC nodes,
45 first entry must be corresponding to the MAX98090 CODEC and
46 the second entry must be the phandle of the HDMI IP block node.
48 samsung,audio-routing:
49 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
51 List of the connections between audio
52 components; each entry is a pair of strings, the first being the
53 connection's sink, the second being the connection's source;
54 valid names for sources and sinks are the MAX98090's pins (as
55 documented in its binding), and the jacks on the board.
56 For Odroid X2: "Headphone Jack", "Mic Jack", "DMIC"
57 For Odroid U3, XU3: "Headphone Jack", "Speakers"
58 For Odroid XU4: no entries
60 samsung,audio-widgets:
61 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
63 This property specifies off-codec audio elements
64 like headphones or speakers, for details see widgets.txt
72 additionalProperties: false
77 compatible = "hardkernel,odroid-xu3-audio";
79 samsung,audio-routing =
80 "Headphone Jack", "HPL",
81 "Headphone Jack", "HPR",
83 "Mic Jack", "MICBIAS";
86 sound-dai = <&i2s0 0>;
90 sound-dai = <&hdmi>, <&max98090>;