Lines Matching +full:headset +full:- +full:mic +full:- +full:bias +full:- +full:supply
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/samsung,midas-audio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sylwester Nawrocki <s.nawrocki@samsung.com>
13 - $ref: sound-card-common.yaml#
17 const: samsung,midas-audio
23 sound-dai:
27 - sound-dai
33 sound-dai:
37 - sound-dai
39 samsung,audio-routing:
41 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
47 on the board: HP, SPK, Main Mic, Sub Mic, Headset Mic.
48 Deprecated, use audio-routing.
50 mic-bias-supply:
51 description: Supply for the micbias on the Main microphone
53 submic-bias-supply:
54 description: Supply for the micbias on the Sub microphone
56 headset-mic-bias-supply:
57 description: Supply for the micbias on the Headset microphone
59 fm-sel-gpios:
63 lineout-sel-gpios:
67 headset-detect-gpios:
69 description: GPIO for detection of headset insertion
71 headset-key-gpios:
73 description: GPIO for detection of headset key press
75 io-channels:
77 description: IO channel to read micbias voltage for headset detection
79 io-channel-names:
80 const: headset-detect
82 samsung,headset-4pole-threshold-microvolt:
86 Array containing minimum and maximum IO channel value for 4-pole
88 outside of this range, a 3-pole headset is assumed.
90 samsung,headset-button-threshold-microvolt:
94 Array of minimum (inclusive) IO channel values for headset button
98 - compatible
99 - cpu
100 - codec
101 - audio-routing
102 - mic-bias-supply
103 - submic-bias-supply
108 - |
109 #include <dt-bindings/gpio/gpio.h>
112 compatible = "samsung,midas-audio";
115 fm-sel-gpios = <&gpaa0 3 GPIO_ACTIVE_HIGH>;
117 mic-bias-supply = <&mic_bias_reg>;
118 submic-bias-supply = <&submic_bias_reg>;
120 audio-routing =
132 "IN1LP", "Main Mic",
133 "IN1LN", "Main Mic",
134 "IN1RP", "Sub Mic",
135 "IN1LP", "Sub Mic";
138 sound-dai = <&i2s0>;
142 sound-dai = <&wm1811>;