Lines Matching full:headset
47 .pin = "Headset Mic",
84 /* Enable headset mic bias regulator so that the ADC reading works */ in headset_jack_check()
85 ret = snd_soc_dapm_force_enable_pin(dapm, "headset-mic-bias"); in headset_jack_check()
87 pr_err("%s: Failed to enable headset mic bias regulator (%d), assuming headphones\n", in headset_jack_check()
108 ret = snd_soc_dapm_disable_pin(dapm, "headset-mic-bias"); in headset_jack_check()
110 pr_err("%s: Failed to disable headset mic bias regulator (%d)\n", in headset_jack_check()
150 .name = "Headset Jack",
156 .name = "Headset Key",
338 SOC_DAPM_PIN_SWITCH("Headset Mic"),
355 SND_SOC_DAPM_MIC("Headset Mic", NULL),
356 SND_SOC_DAPM_REGULATOR_SUPPLY("headset-mic-bias", 0, 0),
368 {"Headset Mic", NULL, "headset-mic-bias"},
411 ret = snd_soc_card_jack_new_pins(card, "Headset", in midas_late_probe()
426 ret = snd_soc_card_jack_new_pins(card, "Headset", in midas_late_probe()
434 "Failed to set up headset pins: %d\n", ret); in midas_late_probe()
443 "Failed to set up headset zones: %d\n", ret); in midas_late_probe()
465 "Failed to set up headset jack GPIOs: %d\n", in midas_late_probe()
604 "headset-detect", GPIOD_IN); in midas_probe()
607 "Failed to get headset jack detect GPIO\n"); in midas_probe()
611 "headset-detect"); in midas_probe()
629 priv->gpio_headset_key = devm_gpiod_get(dev, "headset-key", in midas_probe()
634 "Failed to get headset key GPIO\n"); in midas_probe()
637 "samsung,headset-4pole-threshold-microvolt", in midas_probe()
657 "samsung,headset-button-threshold-microvolt", in midas_probe()
661 dev_err(dev, "Failed to get headset button detection threshold\n"); in midas_probe()
667 dev_err(dev, "Invalid headset button detection threshold value\n"); in midas_probe()
673 dev_err(dev, "Invalid headset button detection threshold value\n"); in midas_probe()