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>
13 - $ref: sound-card-common.yaml#
17 const: samsung,midas-audio
21 additionalProperties: false
25 description: phandle to the I2S controller
31 additionalProperties: false
35 description: phandle to the WM1811 CODEC
39 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.
48 Deprecated, use audio-routing.
51 description: Supply for the micbias on the Main microphone
54 description: Supply for the micbias on the Sub microphone
58 description: GPIO pin for FM selection
62 description: GPIO pin for line out selection
72 unevaluatedProperties: false
76 #include <dt-bindings/gpio/gpio.h>
79 compatible = "samsung,midas-audio";
82 fm-sel-gpios = <&gpaa0 3 GPIO_ACTIVE_HIGH>;
84 mic-bias-supply = <&mic_bias_reg>;
85 submic-bias-supply = <&submic_bias_reg>;
109 sound-dai = <&wm1811>;