Home
last modified time | relevance | path

Searched +full:use +full:- +full:jd2 (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/extcon/
Dwlf,arizona.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
20 wlf,hpdet-channel:
30 wlf,use-jd2:
32 Use the additional JD input along with JD1 for dual pin jack detection.
35 wlf,use-jd2-nopull:
37 Internal pull on JD2 is disabled when used for jack detection.
40 wlf,jd-invert:
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Dwlf,arizona.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
17 - $ref: /schemas/spi/spi-peripheral-props.yaml
18 - $ref: /schemas/sound/wlf,arizona.yaml#
19 - $ref: /schemas/regulator/wlf,arizona.yaml#
20 - $ref: /schemas/extcon/wlf,arizona.yaml#
21 - if:
26 - cirrus,cs47l24
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Drt5651.txt7 - compatible : "realtek,rt5651".
9 - reg : The I2C address of the device.
13 - realtek,in2-differential
14 Boolean. Indicate MIC2 input are differential, rather than single-ended.
16 - realtek,dmic-en
19 - realtek,jack-detect-source
21 1: Use JD1_1 pin for jack-detect
22 2: Use JD1_2 pin for jack-detect
23 3: Use JD2 pin for jack-detect
25 - realtek,jack-detect-not-inverted
[all …]
/linux-6.12.1/sound/soc/codecs/
Darizona-jack.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * extcon-arizona.c - Extcon driver Wolfson Arizona devices
5 * Copyright (C) 2012-2014 Wolfson Microelectronics plc
26 #include <dt-bindings/mfd/arizona.h>
33 * The hardware supports 8 ranges / buttons, but the snd-jack interface
34 * only supports 6 buttons (button 0-5).
100 struct arizona *arizona = info->arizona; in arizona_extcon_hp_clamp()
105 switch (arizona->type) { in arizona_extcon_hp_clamp()
122 ret = regmap_update_bits(arizona->regmap, in arizona_extcon_hp_clamp()
127 dev_warn(arizona->dev, "Failed to set TST_CAP_SEL: %d\n", ret); in arizona_extcon_hp_clamp()
[all …]
Drt711.c1 // SPDX-License-Identifier: GPL-2.0
3 // rt711.c -- rt711 ALSA SoC audio driver
24 #include <sound/soc-dapm.h>
89 struct regmap *regmap = rt711->regmap; in rt711_calibration()
92 mutex_lock(&rt711->calibrate_mutex); in rt711_calibration()
93 regmap_write(rt711->regmap, in rt711_calibration()
113 pr_err("%s, calibration time-out!\n", in rt711_calibration()
115 ret = -ETIMEDOUT; in rt711_calibration()
129 regmap_write(rt711->regmap, in rt711_calibration()
131 mutex_unlock(&rt711->calibrate_mutex); in rt711_calibration()
[all …]
Drt711-sdca.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // rt711-sdca.c -- rt711 SDCA ALSA SoC audio driver
22 #include <sound/soc-dapm.h>
27 #include "rt711-sdca.h"
33 struct regmap *regmap = rt711->mbq_regmap; in rt711_sdca_index_write()
38 dev_err(&rt711->slave->dev, in rt711_sdca_index_write()
49 struct regmap *regmap = rt711->mbq_regmap; in rt711_sdca_index_read()
54 dev_err(&rt711->slave->dev, in rt711_sdca_index_read()
106 struct regmap *regmap = rt711->regmap; in rt711_sdca_calibration()
110 mutex_lock(&rt711->calibrate_mutex); in rt711_sdca_calibration()
[all …]
Drt5677.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5677.c -- RT5677 ALSA SoC audio codec driver
29 #include <sound/soc-dapm.h>
35 #include "rt5677-spi.h"
552 * rt5677_dsp_mode_i2c_write_addr - Write value to address on DSP mode.
563 struct snd_soc_component *component = rt5677->component; in rt5677_dsp_mode_i2c_write_addr()
566 mutex_lock(&rt5677->dsp_cmd_lock); in rt5677_dsp_mode_i2c_write_addr()
568 ret = regmap_write(rt5677->regmap_physical, RT5677_DSP_I2C_ADDR_MSB, in rt5677_dsp_mode_i2c_write_addr()
571 dev_err(component->dev, "Failed to set addr msb value: %d\n", ret); in rt5677_dsp_mode_i2c_write_addr()
575 ret = regmap_write(rt5677->regmap_physical, RT5677_DSP_I2C_ADDR_LSB, in rt5677_dsp_mode_i2c_write_addr()
[all …]