1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/samsung,midas-audio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung Midas audio complex with WM1811 codec
10 - Sylwester Nawrocki <s.nawrocki@samsung.com>
14 const: samsung,midas-audio
17 $ref: /schemas/types.yaml#/definitions/string
18 description: The user-visible name of this sound complex.
24 $ref: /schemas/types.yaml#/definitions/phandle-array
26 description: phandle to the I2S controller
34 $ref: /schemas/types.yaml#/definitions/phandle-array
36 description: phandle to the WM1811 CODEC
40 samsung,audio-routing:
41 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
43 List of the connections between audio components; each entry is
44 a pair of strings, the first being the connection's sink, the second
45 being the connection's source; valid names for sources and sinks are
46 the WM1811's pins (as documented in its binding), and the jacks
47 on the board: HP, SPK, Main Mic, Sub Mic, Headset Mic.
50 description: Supply for the micbias on the Main microphone
53 description: Supply for the micbias on the Sub microphone
56 description: GPIO pin for FM selection
59 description: GPIO pin for line out selection
66 - samsung,audio-routing
70 additionalProperties: false
74 #include <dt-bindings/gpio/gpio.h>
77 compatible = "samsung,midas-audio";
80 fm-sel-gpios = <&gpaa0 3 GPIO_ACTIVE_HIGH>;
82 mic-bias-supply = <&mic_bias_reg>;
83 submic-bias-supply = <&submic_bias_reg>;
85 samsung,audio-routing =
107 sound-dai = <&wm1811>;