Home
last modified time | relevance | path

Searched +full:codec +full:- +full:gpio8 (Results 1 – 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dcirrus,lochnagar.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
14 Smart CODEC and Amp devices. It allows the connection of most Cirrus
15 Logic devices on mini-cards, as well as allowing connection of various
26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt
29 [3] include/dt-bindings/pinctrl/lochnagar.h
37 - cirrus,lochnagar-pinctrl
39 gpio-controller: true
[all …]
Dcirrus,madera.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
19 between CODECs so refer to the datasheet for the CODEC for further information
30 Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
33 pinctrl-0:
38 pinctrl-names:
43 pin-settings:
50 '-pins$':
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Drockchip,rk3288-hdmi-analog.txt4 - compatible: "rockchip,rk3288-hdmi-analog"
5 - rockchip,model: The user-visible name of this sound complex
6 - rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's
7 connected to the CODEC
8 - rockchip,audio-codec: The phandle of the analog audio codec.
9 - rockchip,routing: A list of the connections between audio components.
16 - rockchip,hp-en-gpios = The phandle of the GPIO that power up/down the
18 - rockchip,hp-det-gpios = The phandle of the GPIO that detects the headphone
20 - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt
25 compatible = "rockchip,rk3288-hdmi-analog";
[all …]
/kernel/linux/linux-5.10/sound/soc/pxa/
Dmioa701_wm9713.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * +--------+ +-------------------+ Rear Speaker
11 * | | | | /-+
12 * | +--->----->---+MONOIN SPKL+--->----+-+ |
14 * | +--->----->---+PCBEEP SPKR+--->----+-+ |
15 * | CHIP | | | \-+
16 * | +---<-----<---+MONO |
18 * +--------+ | | /-+
19 * | HPL+--->----+-+ |
21 * | OUT3+--->----+-+ |
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Drk3288-rock2-square.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
4 #include <dt-bindings/input/input.h>
5 #include "rk3288-rock2-som.dtsi"
9 compatible = "radxa,rock2-square", "rockchip,rk3288";
12 stdout-path = "serial2:115200n8";
15 adc-keys {
16 compatible = "adc-keys";
17 io-channels = <&saradc 1>;
18 io-channel-names = "buttons";
[all …]
Drk3288-firefly-reload.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include "rk3288-firefly-reload-core.dtsi"
11 model = "Firefly-RK3288-reload";
12 compatible = "firefly,firefly-rk3288-reload", "rockchip,rk3288";
14 adc-keys {
15 compatible = "adc-keys";
16 io-channels = <&saradc 1>;
17 io-channel-names = "buttons";
18 keyup-threshold-microvolt = <1800000>;
[all …]
Dimx6qdl-ts7970.dtsi3 * Copyright 2017 Savoir-Faire Linux
5 * This file is dual-licensed: you can use it either under the terms
43 #include <dt-bindings/gpio/gpio.h>
44 #include <dt-bindings/interrupt-controller/irq.h>
48 pinctrl-names = "default";
49 pinctrl-0 = <&pinctrl_leds1>;
50 compatible = "gpio-leds";
52 green-led {
53 label = "green-led";
55 default-state = "on";
[all …]
Drk3288-veyron-mickey.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
9 #include "rk3288-veyron.dtsi"
10 #include "rk3288-veyron-broadcom-bluetooth.dtsi"
14 compatible = "google,veyron-mickey-rev8", "google,veyron-mickey-rev7",
15 "google,veyron-mickey-rev6", "google,veyron-mickey-rev5",
16 "google,veyron-mickey-rev4", "google,veyron-mickey-rev3",
17 "google,veyron-mickey-rev2", "google,veyron-mickey-rev1",
18 "google,veyron-mickey-rev0", "google,veyron-mickey",
21 vcc_5v: vcc-5v {
[all …]
Dr8a7792.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the R-Car V2H (R8A77920) SoC
8 #include <dt-bindings/clock/r8a7792-cpg-mssr.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/power/r8a7792-sysc.h>
15 #address-cells = <2>;
16 #size-cells = <2>;
39 compatible = "fixed-clock";
40 #clock-cells = <0>;
[all …]
Drk3288.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/interrupt-controller/irq.h>
5 #include <dt-bindings/interrupt-controller/arm-gic.h>
6 #include <dt-bindings/pinctrl/rockchip.h>
7 #include <dt-bindings/clock/rk3288-cru.h>
8 #include <dt-bindings/power/rk3288-power.h>
9 #include <dt-bindings/thermal/thermal.h>
10 #include <dt-bindings/soc/rockchip,boot-mode.h>
13 #address-cells = <2>;
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/cirrus/
Dpinctrl-lochnagar.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2017-2018 Cirrus Logic, Inc. and
21 #include <linux/pinctrl/pinconf-generic.h>
27 #include <dt-bindings/pinctrl/lochnagar.h>
29 #include "../pinctrl-utils.h"
33 #define LN_CDC_AIF1_STR "codec-aif1"
34 #define LN_CDC_AIF2_STR "codec-aif2"
35 #define LN_CDC_AIF3_STR "codec-aif3"
36 #define LN_DSP_AIF1_STR "dsp-aif1"
37 #define LN_DSP_AIF2_STR "dsp-aif2"
[all …]
Dpinctrl-madera-core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2016-2018 Cirrus Logic
17 #include <linux/pinctrl/pinconf-generic.h>
22 #include "../pinctrl-utils.h"
24 #include "pinctrl-madera.h"
28 * NOTE: IDs are zero-indexed for coding convenience
38 PINCTRL_PIN(7, "gpio8"),
74 * All single-pin functions can be mapped to any GPIO, however pinmux applies
78 * Since these do not correspond to anything in the actual hardware - they are
79 * merely an adaptation to pinctrl's view of the world - we use the same name
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/
Dsc7180-trogdor.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
23 /delete-node/ &hyp_mem;
24 /delete-node/ &xbl_mem;
25 /delete-node/ &aop_mem;
26 /delete-node/ &sec_apps_mem;
27 /delete-node/ &tz_mem;
35 reserved-memory {
[all …]
Dapq8096-db820c.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
12 #include <dt-bindings/sound/qcom,q6afe.h>
13 #include <dt-bindings/sound/qcom,q6asm.h>
27 * drawing no: LM25-P2751-1
38 * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only
55 stdout-path = "serial0:115200n8";
[all …]
/kernel/linux/linux-5.10/sound/pci/ice1712/
Dprodigy192.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Supported IEC958 input from optional MI/ODI/O add-on card.
9 * -------------------
11 * * SPDIF-OUT on the card:
12 * - coax (through isolation transformer)/toslink supplied by
13 * 74HC04 gates - 3 in parallel
14 * - output switched between on-board CD drive dig-out connector
16 * by GPIO20 (0 = CD dig-out, 1 = SPDTX)
17 * * SPDTX goes straight to MI/ODI/O card's SPDIF-OUT coax
20 * - toslink input -> RX0
[all …]
Dquartet.c1 // SPDX-License-Identifier: GPL-2.0-or-later
65 /* GPIO0 - O - DATA0, def. 0 */
67 /* GPIO1 - I/O - DATA1, Jack Detect Input0 (0:present, 1:missing), def. 1 */
69 /* GPIO2 - I/O - DATA2, Jack Detect Input1 (0:present, 1:missing), def. 1 */
71 /* GPIO3 - I/O - DATA3, def. 1 */
73 /* GPIO4 - I/O - DATA4, SPI CDTO, def. 1 */
75 /* GPIO5 - I/O - DATA5, SPI CCLK, def. 1 */
77 /* GPIO6 - I/O - DATA6, Cable Detect Input (0:detected, 1:not detected */
79 /* GPIO7 - I/O - DATA7, Device Detect Input (0:detected, 1:not detected */
81 /* GPIO8 - O - CPLD Chip Select, def. 1 */
[all …]
Dprodigy_hifi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
63 /* Analog Recording Source :- Mic, LineIn, CD/Video, */
75 #define WM8766_SPI_MD (1<<16) /* DATA VT1724 -> WM8766, Pin96 */
98 #define AK4396_CSN (1 << 8) /* CSN->GPIO8, pin 75 */
99 #define AK4396_CCLK (1 << 9) /* CCLK->GPIO9, pin 76 */
100 #define AK4396_CDTI (1 << 10) /* CDTI->GPIO10, pin 77 */
111 * get the current register value of WM codec
116 return ((unsigned short)ice->akm[0].images[reg] << 8) | in wm_get()
117 ice->akm[0].images[reg + 1]; in wm_get()
121 * set the register value of WM codec and remember it
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Drt5663.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5663.c -- RT5663 ALSA SoC audio codec driver
24 #include <sound/soc-dapm.h>
1373 static const DECLARE_TLV_DB_SCALE(rt5663_hp_vol_tlv, -2400, 150, 0);
1374 static const DECLARE_TLV_DB_SCALE(rt5663_v2_hp_vol_tlv, -2250, 150, 0);
1375 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -6525, 75, 0);
1376 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -1725, 75, 0);
1405 /* reset in-line command */ in rt5663_enable_push_button_irq()
1412 switch (rt5663->codec_ver) { in rt5663_enable_push_button_irq()
1424 dev_err(component->dev, "Unknown CODEC Version\n"); in rt5663_enable_push_button_irq()
[all …]
Drt5670.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * rt5670.h -- RT5670 ALSA SoC audio driver
17 /* I/O - Output */
20 /* I/O - Input */
26 /* I/O - ADC/DAC/DMIC */
34 /* Mixer - D-D */
47 /* Mixer - PDM */
56 /* Mixer - ADC */
61 /* Mixer - DAC */
77 /* Format - ADC/DAC */
[all …]
Drt5670.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5670.c -- RT5670 ALSA SoC audio codec driver
25 #include <sound/soc-dapm.h>
31 #include "rt5670-dsp.h"
50 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
422 * rt5670_headset_detect - Detect headset.
457 rt5670->jack_type = SND_JACK_HEADSET; in rt5670_headset_detect()
464 rt5670->jack_type = SND_JACK_HEADPHONE; in rt5670_headset_detect()
471 rt5670->jack_type = 0; in rt5670_headset_detect()
476 return rt5670->jack_type; in rt5670_headset_detect()
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Dcs47l15-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Regmap tables for CS47L15 codec
5 * Copyright (C) 2016-2019 Cirrus Logic, Inc. and
35 ret = regmap_register_patch(madera->regmap, in cs47l15_patch()
39 dev_err(madera->dev, in cs47l15_patch()
40 "Error in applying 16-bit patch: %d\n", ret); in cs47l15_patch()
49 { 0x00000020, 0x0000 }, /* R32 (0x20) - Tone Generator 1 */
50 { 0x00000021, 0x1000 }, /* R33 (0x21) - Tone Generator 2 */
51 { 0x00000022, 0x0000 }, /* R34 (0x22) - Tone Generator 3 */
52 { 0x00000023, 0x1000 }, /* R35 (0x23) - Tone Generator 4 */
[all …]
Dcs47l35-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Regmap tables for CS47L35 codec
5 * Copyright (C) 2015-2017 Cirrus Logic
55 ret = regmap_register_patch(madera->regmap, cs47l35_reva_16_patch, in cs47l35_patch()
58 dev_err(madera->dev, "Error applying patch: %d\n", ret); in cs47l35_patch()
65 { 0x00000020, 0x0000 }, /* R32 (0x20) - Tone Generator 1 */
66 { 0x00000021, 0x1000 }, /* R33 (0x21) - Tone Generator 2 */
67 { 0x00000022, 0x0000 }, /* R34 (0x22) - Tone Generator 3 */
68 { 0x00000023, 0x1000 }, /* R35 (0x23) - Tone Generator 4 */
69 { 0x00000024, 0x0000 }, /* R36 (0x24) - Tone Generator 5 */
[all …]
Dcs47l92-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Regmap tables for CS47L92 codec
5 * Copyright (C) 2016-2019 Cirrus Logic, Inc. and
96 ret = regmap_register_patch(madera->regmap, in cs47l92_patch()
100 dev_err(madera->dev, in cs47l92_patch()
101 "Error in applying 16-bit patch: %d\n", ret); in cs47l92_patch()
105 ret = regmap_register_patch(madera->regmap_32bit, in cs47l92_patch()
109 dev_err(madera->dev, in cs47l92_patch()
110 "Error in applying 32-bit patch: %d\n", ret); in cs47l92_patch()
119 { 0x00000020, 0x0000 }, /* R32 (0x20) - Tone Generator 1 */
[all …]
Dcs47l90-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Regmap tables for CS47L90 codec
5 * Copyright (C) 2015-2017 Cirrus Logic
58 ret = regmap_register_patch(madera->regmap, in cs47l90_patch()
62 dev_err(madera->dev, in cs47l90_patch()
63 "Error in applying 16-bit patch: %d\n", ret); in cs47l90_patch()
72 { 0x00000020, 0x0000 }, /* R32 (0x20) - Tone Generator 1 */
73 { 0x00000021, 0x1000 }, /* R33 (0x21) - Tone Generator 2 */
74 { 0x00000022, 0x0000 }, /* R34 (0x22) - Tone Generator 3 */
75 { 0x00000023, 0x1000 }, /* R35 (0x23) - Tone Generator 4 */
[all …]
Dcs47l85-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Regmap tables for CS47L85 codec
5 * Copyright (C) 2015-2017 Cirrus Logic
318 switch (madera->rev) { in cs47l85_patch()
336 ret = regmap_register_patch(madera->regmap, patch16, num16); in cs47l85_patch()
338 dev_err(madera->dev, in cs47l85_patch()
339 "Error in applying 16-bit patch: %d\n", ret); in cs47l85_patch()
343 ret = regmap_register_patch(madera->regmap_32bit, patch32, num32); in cs47l85_patch()
345 dev_err(madera->dev, in cs47l85_patch()
346 "Error in applying 32-bit patch: %d\n", ret); in cs47l85_patch()
[all …]