Lines Matching +full:fm +full:- +full:sel +full:- +full:gpios
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/samsung,aries-wm8994.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jonathan Bakker <xc-racer2@live.ca>
15 # With FM radio and modem master
16 - samsung,aries-wm8994
17 # Without FM radio and modem slave
18 - samsung,fascinate4g-wm8994
22 description: The user-visible name of this sound complex.
27 sound-dai:
30 $ref: /schemas/types.yaml#/definitions/phandle-array
38 sound-dai:
39 $ref: /schemas/types.yaml#/definitions/phandle-array
42 samsung,audio-routing:
43 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
49 documented in its binding), and the jacks on the board -
50 For samsung,aries-wm8994: HP, SPK, RCV, LINE, Main Mic, Headset Mic,
51 or FM In
52 For samsung,fascinate4g-wm8994: HP, SPK, RCV, LINE, Main Mic,
58 main-micbias-supply:
61 headset-micbias-supply:
64 earpath-sel-gpios:
65 description: GPIO for switching between tv-out and mic paths
67 headset-detect-gpios:
70 headset-key-gpios:
73 io-channels:
77 io-channel-names:
78 const: headset-detect
81 - compatible
82 - model
83 - cpu
84 - codec
85 - samsung,audio-routing
86 - extcon
87 - main-micbias-supply
88 - headset-micbias-supply
89 - earpath-sel-gpios
90 - headset-detect-gpios
91 - headset-key-gpios
96 - |
97 #include <dt-bindings/gpio/gpio.h>
100 compatible = "samsung,fascinate4g-wm8994";
106 main-micbias-supply = <&main_micbias_reg>;
107 headset-micbias-supply = <&headset_micbias_reg>;
109 earpath-sel-gpios = <&gpj2 6 GPIO_ACTIVE_HIGH>;
111 io-channels = <&adc 3>;
112 io-channel-names = "headset-detect";
113 headset-detect-gpios = <&gph0 6 GPIO_ACTIVE_HIGH>;
114 headset-key-gpios = <&gph3 6 GPIO_ACTIVE_HIGH>;
116 samsung,audio-routing =
135 pinctrl-names = "default";
136 pinctrl-0 = <&headset_det &earpath_sel>;
139 sound-dai = <&i2s0>, <&bt_codec>;
143 sound-dai = <&wm8994>;