Home
last modified time | relevance | path

Searched +full:lineout +full:- +full:sel +full:- +full:gpios (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dsamsung,midas-audio.yaml1 # 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:
[all …]
/linux-6.12.1/sound/soc/samsung/
Dmidas_wm1811.c1 // 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 …]
/linux-6.12.1/sound/soc/codecs/
Dwcd9335.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
3 // Copyright (c) 2017-2018, Linaro Limited
19 #include <sound/soc-dapm.h>
26 #include "wcd-clsh-v2.h"
28 #include <dt-bindings/sound/qcom,wcd9335.h>
99 #define WCD9335_CALCULATE_VOUT_D(req_mv) (((req_mv - 650) * 10) / 25)
405 {24000, -EINVAL},/* 24K */
547 "Class H Invalid", "Class-H Hi-Fi", "Class-H Low Power", "Class-AB",
548 "Class-H Hi-Fi Low Power"
[all …]