Searched +full:lineout +full:- +full:sel +full:- +full:gpios (Results 1 – 2 of 2) sorted by relevance
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-audio23 sound-dai:27 - sound-dai33 sound-dai:[all …]
1 // SPDX-License-Identifier: GPL-2.0+12 #include <linux/input-event-codes.h>17 #include <sound/soc-dapm.h>77 struct midas_priv *priv = snd_soc_card_get_drvdata(codec->card); in headset_jack_check()81 if (!gpiod_get_value_cansleep(priv->gpio_headset_detect)) in headset_jack_check()85 ret = snd_soc_dapm_force_enable_pin(dapm, "headset-mic-bias"); in headset_jack_check()96 ret = iio_read_channel_processed(priv->adc_headset_detect, &adc); in headset_jack_check()105 jack_type = snd_soc_jack_get_type(&priv->headset_jack, adc); in headset_jack_check()108 ret = snd_soc_dapm_disable_pin(dapm, "headset-mic-bias"); in headset_jack_check()120 struct midas_priv *priv = snd_soc_card_get_drvdata(codec->card); in headset_key_check()[all …]