Home
last modified time | relevance | path

Searched +full:cs42888 +full:- +full:audio (Results 1 – 13 of 13) sorted by relevance

/linux-6.14.4/Documentation/devicetree/bindings/sound/
Dfsl-asoc-card.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/fsl-asoc-card.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
24 AC'97/I2S/PCM type sound cards, such as S/PDIF audio and HDMI audio, as
28 - Shengjiu Wang <[email protected]>
33 - items:
34 - enum:
35 - fsl,imx-sgtl5000
36 - fsl,imx25-pdk-sgtl5000
[all …]
Dcirrus,cs42xx8.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Cirrus Logic CS42448/CS42888 audio CODEC
10 - [email protected]
15 - cirrus,cs42448
16 - cirrus,cs42888
25 clock-names:
28 VA-supply:
31 VD-supply:
[all …]
/linux-6.14.4/arch/arm/boot/dts/nxp/imx/
Dimx6sx-sabreauto.dts1 // SPDX-License-Identifier: GPL-2.0
5 /dts-v1/;
11 compatible = "fsl,imx6sx-sabreauto", "fsl,imx6sx";
19 compatible = "gpio-leds";
20 pinctrl-names = "default";
21 pinctrl-0 = <&pinctrl_led>;
23 led-user {
26 linux,default-trigger = "heartbeat";
30 vcc_sd3: regulator-vcc-sd3 {
31 compatible = "regulator-fixed";
[all …]
Dimx6qdl-sabreauto.dtsi1 // SPDX-License-Identifier: GPL-2.0+
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
11 stdout-path = &uart4;
20 compatible = "gpio-leds";
21 pinctrl-names = "default";
22 pinctrl-0 = <&pinctrl_gpio_leds>;
24 led-user {
30 gpio-keys {
31 compatible = "gpio-keys";
[all …]
/linux-6.14.4/sound/soc/codecs/
Dcs42xx8-i2c.c2 * Cirrus Logic CS42448/CS42888 Audio CODEC DAI I2C driver
28 return dev_err_probe(&i2c->dev, -EINVAL, in cs42xx8_i2c_probe()
31 ret = cs42xx8_probe(&i2c->dev, in cs42xx8_i2c_probe()
36 pm_runtime_enable(&i2c->dev); in cs42xx8_i2c_probe()
37 pm_request_idle(&i2c->dev); in cs42xx8_i2c_probe()
44 pm_runtime_disable(&i2c->dev); in cs42xx8_i2c_remove()
49 { .compatible = "cirrus,cs42888", .data = &cs42888_data, },
56 {"cs42888", (kernel_ulong_t)&cs42888_data},
74 MODULE_DESCRIPTION("Cirrus Logic CS42448/CS42888 ALSA SoC Codec I2C Driver");
Dcs42xx8.h2 * cs42xx8.h - Cirrus Logic CS42448/CS42888 Audio CODEC driver header file
27 /* CS42888 register map */
58 #define CS42XX8_NUMREGS (CS42XX8_LASTREG - CS42XX8_FIRSTREG + 1)
94 #define CS42XX8_FUNCMOD_DAC_FM_MASK (((1 << CS42XX8_FUNCMOD_DAC_FM_WIDTH) - 1) << CS42XX8_FUNCMOD_…
98 #define CS42XX8_FUNCMOD_ADC_FM_MASK (((1 << CS42XX8_FUNCMOD_ADC_FM_WIDTH) - 1) << CS42XX8_FUNCMOD_…
104 #define CS42XX8_FUNCMOD_MFREQ_MASK (((1 << CS42XX8_FUNCMOD_MFREQ_WIDTH) - 1) << CS42XX8_FUNCMOD_MF…
125 #define CS42XX8_INTF_DAC_DIF_MASK (((1 << CS42XX8_INTF_DAC_DIF_WIDTH) - 1) << CS42XX8_INTF_DAC_DIF…
135 #define CS42XX8_INTF_ADC_DIF_MASK (((1 << CS42XX8_INTF_ADC_DIF_WIDTH) - 1) << CS42XX8_INTF_ADC_DIF…
144 /* ADC Control & DAC De-Emphasis (Address 05h) */
173 #define CS42XX8_TXCTL_DAC_SZC_MASK (((1 << CS42XX8_TXCTL_DAC_SZC_WIDTH) - 1) << CS42XX8_TXCTL_DAC_…
[all …]
Dcs42xx8.c2 * Cirrus Logic CS42448/CS42888 Audio CODEC Digital Audio Interface (DAI) driver
52 /* -127.5dB to 0dB with step of 0.5dB */
53 static const DECLARE_TLV_DB_SCALE(dac_tlv, -12750, 50, 1);
54 /* -64dB to 24dB with step of 0.5dB */
55 static const DECLARE_TLV_DB_SCALE(adc_tlv, -6400, 50, 0);
57 static const char *const cs42xx8_adc_single[] = { "Differential", "Single-Ended" };
82 CS42XX8_VOLAIN2, 0, -0x80, 0x30, 7, 0, adc_tlv),
84 CS42XX8_VOLAIN4, 0, -0x80, 0x30, 7, 0, adc_tlv),
91 SOC_SINGLE("ADC High-Pass Filter Switch", CS42XX8_ADCCTL, 7, 1, 1),
92 SOC_SINGLE("DAC De-emphasis Switch", CS42XX8_ADCCTL, 5, 1, 0),
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 # setting - SPI can't be modular so that case doesn't need to be covered.
489 tristate "Analog Devices AU1761 CODEC - I2C"
495 tristate "Analog Devices AU1761 CODEC - SPI"
532 tristate "Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter"
538 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - HW Mode"
541 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM
547 will be called snd-soc-adau7118-hw.
550 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - I2C"
555 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM
[all …]
/linux-6.14.4/arch/arm64/boot/dts/freescale/
Dimx8qxp-mek.dts1 // SPDX-License-Identifier: GPL-2.0+
6 /dts-v1/;
9 #include <dt-bindings/usb/pd.h>
13 compatible = "fsl,imx8qxp-mek", "fsl,imx8qxp";
15 bt_sco_codec: audio-codec-bt {
16 compatible = "linux,bt-sco";
17 #sound-dai-cells = <1>;
21 stdout-path = &lpuart0;
24 imx8x_cm4: imx8x-cm4 {
25 compatible = "fsl,imx8qxp-cm4";
[all …]
/linux-6.14.4/sound/soc/sof/imx/
Dimx8.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
7 // Hardware interface for audio DSP on i.MX8
22 #include <dt-bindings/firmware/imx/rsrc.h>
24 #include "../sof-of-dev.h"
25 #include "imx-common.h"
79 spin_lock_irqsave(&priv->sdev->ipc_lock, flags); in imx8_dsp_handle_reply()
80 snd_sof_ipc_process_reply(priv->sdev, 0); in imx8_dsp_handle_reply()
81 spin_unlock_irqrestore(&priv->sdev->ipc_lock, flags); in imx8_dsp_handle_reply()
90 sof_mailbox_read(priv->sdev, priv->sdev->debug_box.offset + 4, &p, sizeof(p)); in imx8_dsp_handle_request()
94 snd_sof_dsp_panic(priv->sdev, p, true); in imx8_dsp_handle_request()
[all …]
/linux-6.14.4/sound/soc/fsl/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "SoC Audio for Freescale CPUs"
4 comment "Common SoC Audio options for Freescale CPUs:"
17 This option is only useful for out-of-tree drivers since
18 in-tree drivers select it automatically.
21 tristate "Synchronous Audio Interface (SAI) module support"
27 Say Y if you want to add Synchronous Audio Interface (SAI)
29 This option is only useful for out-of-tree drivers since
30 in-tree drivers select it automatically.
40 This option is only useful for out-of-tree drivers since
[all …]
Dfsl-asoc-card.c1 // SPDX-License-Identifier: GPL-2.0
23 #include "imx-audmux.h"
33 #define DRIVER_NAME "fsl-asoc-card"
44 * struct codec_priv - CODEC private data
62 * struct cpu_priv - CPU private data
80 * struct fsl_asoc_card_priv - Freescale Generic ASOC card private data
91 * @asrc_rate: ASRC sample rate used by Back-Ends
92 * @asrc_format: ASRC sample format used by Back-Ends
119 * to drop them easily for non-ASRC cases.
122 /* 1st half -- Normal DAPM routes */
[all …]
Dimx-card.c1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright 2017-2021 NXP
14 #include <sound/soc-dapm.h>
55 * struct imx_card_plat_data - specific info for codecs
89 * struct dai_link_data - specific info for dai link
104 * struct imx_card_data - platform device data
143 * Table 13 - Audio Interface Format
154 * Table 7 - mapping multiplier and speed mode
155 * Tables 8 & 9 - mapping speed mode and LRCK fs
250 if (link_data->slots > 2) in format_is_tdm()
[all …]