Home
last modified time | relevance | path

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

12345678910>>...42

/openbmc/linux/sound/pci/hda/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "HD-Audio"
23 This option enables the HD-audio controller. Don't forget
24 to choose the appropriate codec options below.
26 To compile this driver as a module, choose M here: the module
27 will be called snd-hda-intel.
42 To compile this driver as a module, choose M here: the module
43 will be called snd-hda-tegra.
48 bool "Build hwdep interface for HD-audio driver"
51 Say Y here to build a hwdep interface for HD-audio driver.
[all …]
H A Dhda_bind.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * HD-audio codec driver binding
19 * find a matching codec id
23 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_match() local
24 struct hda_codec_driver *driver = in hda_codec_match() local
28 u32 id = codec->probe_id ? codec->probe_id : codec->core.vendor_id; in hda_codec_match()
29 u32 rev_id = codec->core.revision_id; in hda_codec_match()
31 for (list = driver->id; list->vendor_id; list++) { in hda_codec_match()
32 if (list->vendor_id == id && in hda_codec_match()
33 (!list->rev_id || list->rev_id == rev_id)) { in hda_codec_match()
[all …]
/openbmc/linux/sound/soc/intel/boards/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
44 tristate "Haswell with RT5640 I2S codec"
60 tristate "Broadwell with RT5650 codec"
66 This adds the ASoC machine driver for Intel Broadwell platforms with
67 the RT5650 codec.
72 tristate "Broadwell with RT5677 codec"
83 the RT5677 audio codec. This is a recommended option.
88 tristate "Broadwell with RT286 I2S codec"
103 tristate "Baytrail and Baytrail-CR with RT5640 codec"
110 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
[all …]
H A Dbdw-rt5650.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ASoC machine driver for Intel Broadwell platforms with RT5650 codec
17 #include <sound/soc-acpi.h>
56 /* CODEC BE connections */
57 {"SSP0 CODEC IN", NULL, "AIF1 Capture"},
58 {"AIF1 Playback", NULL, "SSP0 CODEC OUT"},
91 /* The ADSP will convert the FE rate to 48k, max 4-channels */ in broadwell_ssp0_fixup()
92 rate->min = rate->max = 48000; in broadwell_ssp0_fixup()
93 chan->min = 2; in broadwell_ssp0_fixup()
94 chan->max = 4; in broadwell_ssp0_fixup()
[all …]
/openbmc/linux/sound/soc/codecs/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # modular, meaning we can't build the codec driver in with I2C support.
5 # setting - SPI can't be modular so that case doesn't need to be covered.
12 menu "CODEC drivers"
15 tristate "Build all ASoC CODEC drivers"
339 Normally ASoC codec drivers are only built if a machine driver which
341 driver. Selecting this option will allow these drivers to be built
342 without an explicit machine driver for test and development purposes.
401 tristate "Build generic ASoC AC97 CODEC driver"
438 tristate "Analog Devices ADAU1372 CODEC (I2C)"
[all …]
/openbmc/u-boot/drivers/sound/
H A DKconfig6 Support making sounds through an audio codec. This is normally a
12 audio codecs are called from the sound-i2s code. This could be
13 converted to driver model.
20 SoC to the audio codec. This option enables sound support using
22 of driver model at present).
29 audio codec. This option enables support for this, using one of the
30 available audio codec drivers. This driver does not make use of
38 data to an audio codec. This option enables support for this,
39 using one of the available audio codec drivers. Enabling this
56 bool "Intel HDA audio codec"
[all …]
H A Drt5677.c1 // SPDX-License-Identifier: GPL-2.0+
18 /* RT5677 has 256 8-bit register addresses, and 16-bit register data */
49 * rt5677_i2c_read() - Read a 16-bit register
51 * @priv: Private driver data
53 * @returns data read or -ve on error
60 ret = dm_i2c_read(priv->dev, reg, buf, sizeof(u16)); in rt5677_i2c_read()
67 * rt5677_i2c_write() - Write a 16-bit register
69 * @priv: Private driver data
72 * @returns 0 if OK, -ve on error
81 return dm_i2c_write(priv->dev, reg, buf, sizeof(u16)); in rt5677_i2c_write()
[all …]
/openbmc/linux/Documentation/sound/soc/
H A Dcodec.rst2 ASoC Codec Class Driver
5 The codec class driver is generic and hardware independent code that configures
6 the codec, FM, MODEM, BT or external DSP to provide audio capture and playback.
11 Each codec class driver *must* provide the following features:-
13 1. Codec DAI and PCM configuration
14 2. Codec control IO - using RegMap API
16 4. Codec audio operations
20 Optionally, codec drivers can also provide:-
24 Its probably best to use this guide in conjunction with the existing codec
25 driver code in sound/soc/codecs/
[all …]
H A Doverview.rst6 provide better ALSA support for embedded system-on-chip processors (e.g.
9 had some limitations:-
11 * Codec drivers were often tightly coupled to the underlying SoC
12 CPU. This is not ideal and leads to code duplication - for example,
18 machine specific code to re-route audio, enable amps, etc., after such an
21 * Drivers tended to power up the entire codec when playing (or
24 power via changing codec oversampling rates, bias currents, etc.
31 features :-
33 * Codec independence. Allows reuse of codec drivers on other platforms
36 * Easy I2S/PCM audio interface setup between codec and SoC. Each SoC
[all …]
H A Ddpcm.rst14 way as the analog signal is routed in an ASoC codec driver. DPCM uses a DAPM
18 DPCM re-uses all the existing component codec, platform and DAI drivers without
23 -------------------------------------
26 document for all examples :-
32 PCM0 <------------> * * <----DAI0-----> Codec Headset
34 PCM1 <------------> * * <----DAI1-----> Codec Speakers
36 PCM2 <------------> * * <----DAI2-----> MODEM
38 PCM3 <------------> * * <----DAI3-----> BT
40 * * <----DAI4-----> DMIC
42 * * <----DAI5-----> FM
[all …]
H A Dmachine.rst2 ASoC Machine Driver
5 The ASoC machine (or board) driver is the code that glues together all the
10 The machine driver can contain codec and platform specific code. It registers
12 the following struct:-
25 * after the codec and DAIs do any PM work. */
33 /* CPU <--> Codec DAI links */
41 ----------------
46 ------------------
47 The machine driver has pre and post versions of suspend and resume to take care
48 of any machine audio tasks that have to be done before or after the codec, DAIs
[all …]
/openbmc/linux/Documentation/sound/hd-audio/
H A Dnotes.rst2 More Notes on HD-Audio Driver
11 HD-audio is the new standard on-board audio component on modern PCs
12 after AC97. Although Linux has been supporting HD-audio since long
14 problem is broken BIOS, and the rest is the driver implementation.
15 This document explains the brief trouble-shooting and debugging
16 methods for the HD-audio hardware.
18 The HD-audio component consists of two parts: the controller chip and
19 the codec chips on the HD-audio bus. Linux provides a single driver
20 for all controllers, snd-hda-intel. Although the driver name contains
21 a word of a well-known hardware vendor, it's not specific to it but for
[all …]
/openbmc/linux/sound/soc/mediatek/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
11 This adds ASoC driver for Mediatek MT2701 boards
17 tristate "ASoc Audio driver for MT2701 with CS42448 codec"
22 This adds ASoC driver for Mediatek MT2701 boards
28 tristate "ASoc Audio driver for MT2701 with WM8960 codec"
32 This adds ASoC driver for Mediatek MT2701 boards
42 This adds ASoC driver for Mediatek MT6797 boards
48 tristate "ASoc Audio driver for MT6797 with MT6351 codec"
52 This adds ASoC driver for Mediatek MT6797 boards
62 This adds ASoC platform driver support for MediaTek MT7986 chip
[all …]
/openbmc/linux/sound/soc/intel/avs/boards/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
13 This adds support for AVS with DA7219 I2S codec configuration.
31 This adds support for AVS with ES8336 I2S codec configuration.
36 tristate "HD-Audio generic board"
39 This adds support for AVS with HDAudio codec configuration.
46 This adds support for I2S test-board which can be used to verify
55 This adds support for AVS with MAX98927 I2S codec configuration.
65 This adds support for AVS with MAX98357A I2S codec configuration.
75 This adds support for AVS with MAX98373 I2S codec configuration.
85 This adds support for ASoC machine driver with NAU8825 I2S audio codec.
[all …]
/openbmc/linux/sound/ac97/
H A Dbus.c1 // SPDX-License-Identifier: GPL-2.0-only
18 #include <sound/ac97/codec.h>
42 return -ENODEV; in ac97_unbound_ctrl_write()
48 return -ENODEV; in ac97_unbound_ctrl_read()
64 return ERR_PTR(-EINVAL); in ac97_codec_find()
66 return ac97_ctrl->codecs[codec_num]; in ac97_codec_find()
80 for_each_child_of_node(ac97_ctrl->parent->of_node, node) { in ac97_of_get_child_device()
96 ac97_ctrl = adev->ac97_ctrl; in ac97_codec_release()
97 ac97_ctrl->codecs[adev->num] = NULL; in ac97_codec_release()
98 of_node_put(dev->of_node); in ac97_codec_release()
[all …]
/openbmc/linux/include/sound/ac97/
H A Dcodec.h1 /* SPDX-License-Identifier: GPL-2.0
22 * struct ac97_id - matches a codec device and driver on an ac97 bus
23 * @id: The significant bits if the codec vendor ID1 and ID2
25 * matching. A driver binds to a device when :
27 * @data: Private data used by the driver.
36 * ac97_codec_device - a ac97 codec
38 * @vendor_id: the vendor_id of the codec, as sensed on the AC-link
39 * @num: the codec number, 0 is primary, 1 is first slave, etc ...
40 * @clk: the clock BIT_CLK provided by the codec
41 * @ac97_ctrl: ac97 digital controller on the same AC-link
[all …]
/openbmc/linux/sound/hda/
H A Dhdac_component.c1 // SPDX-License-Identifier: GPL-2.0
2 // hdac_component.c - routines for sync between HD-A core and DRM driver
23 * snd_hdac_set_codec_wakeup - Enable / disable HDMI/DP codec wakeup
27 * This function is supposed to be used only by a HD-audio controller
28 * driver that needs the interaction with graphics driver.
37 struct drm_audio_component *acomp = bus->audio_component; in snd_hdac_set_codec_wakeup()
39 if (!acomp || !acomp->ops) in snd_hdac_set_codec_wakeup()
40 return -ENODEV; in snd_hdac_set_codec_wakeup()
42 if (!acomp->ops->codec_wake_override) in snd_hdac_set_codec_wakeup()
45 dev_dbg(bus->dev, "%s codec wakeup\n", in snd_hdac_set_codec_wakeup()
[all …]
/openbmc/linux/sound/aoa/codecs/
H A Dtoonie.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Apple Onboard Audio driver for Toonie codec
7 * This is a driver for the toonie codec chip. This chip is present
15 MODULE_DESCRIPTION("toonie codec driver for snd-aoa");
21 #define PFX "snd-aoa-codec-toonie: "
24 struct aoa_codec codec; member
26 #define codec_to_toonie(c) container_of(c, struct toonie, codec)
85 static int toonie_init_codec(struct aoa_codec *codec) in toonie_init_codec() argument
87 struct toonie *toonie = codec_to_toonie(codec); in toonie_init_codec()
90 if (toonie->codec.connected != 1) in toonie_init_codec()
[all …]
/openbmc/linux/sound/hda/ext/
H A Dhdac_ext_bus.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * hdac-ext-bus.c - HD-audio extended core bus functions.
5 * Copyright (C) 2014-2015 Intel Corp
21 * snd_hdac_ext_bus_init - initialize a HD-audio extended bus
25 * @ext_ops: operators used for ASoC HDA codec drivers
39 bus->ext_ops = ext_ops; in snd_hdac_ext_bus_init()
42 * buses, bus->idx should be greater than 0, but there needs to be a in snd_hdac_ext_bus_init()
45 bus->idx = 0; in snd_hdac_ext_bus_init()
46 bus->cmd_dma_state = true; in snd_hdac_ext_bus_init()
53 * snd_hdac_ext_bus_exit - clean up a HD-audio extended bus
[all …]
/openbmc/linux/include/sound/
H A Dhdaudio.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * HD-audio core stuff
12 #include <linux/io-64-nonatomic-lo-hi.h>
23 /* codec node id */
50 * HD-audio codec base device
56 unsigned int addr; /* codec address */
73 const char *vendor_name; /* codec vendor name */
74 const char *chip_name; /* codec chip name */
98 unsigned int registered:1; /* codec was registered */
101 /* device/driver type used for matching */
[all …]
/openbmc/linux/sound/soc/rockchip/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
11 tristate "Rockchip I2S Device Driver"
15 Say Y or M if you want to add support for I2S driver for
20 tristate "Rockchip I2S/TDM Device Driver"
24 Say Y or M if you want to add support for the I2S/TDM driver for
31 tristate "Rockchip PDM Controller Driver"
36 Say Y or M if you want to add support for PDM driver for
41 tristate "Rockchip SPDIF Device Driver"
45 Say Y or M if you want to add support for SPDIF driver for
49 tristate "ASoC support for Rockchip boards using a MAX98090 codec"
[all …]
/openbmc/linux/sound/soc/tegra/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "SoC Audio for the Tegra System-on-Chip"
82 Config to enable the Inter-IC Sound (I2S) Controller which
83 implements full-duplex and bidirectional and single direction
84 point-to-point serial interfaces. It can interface with I2S
113 converts the multi-bit Pulse Code Modulation (PCM) audio input to
114 oversampled 1-bit Pulse Density Modulation (PDM) output. From the
116 that up-samples the input to the desired sampling rate by
118 the desired 1-bit output via Delta Sigma Modulation (DSM).
138 per-stream volume control or for master volume control.
[all …]
/openbmc/linux/sound/aoa/core/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Apple Onboard Audio driver core
14 MODULE_DESCRIPTION("Apple Onboard Audio Sound Driver");
27 if (!try_module_get(c->owner)) in attach_codec_to_fabric()
28 return -EBUSY; in attach_codec_to_fabric()
30 err = -ENOENT; in attach_codec_to_fabric()
31 if (fabric->found_codec) in attach_codec_to_fabric()
32 err = fabric->found_codec(c); in attach_codec_to_fabric()
34 module_put(c->owner); in attach_codec_to_fabric()
35 printk(KERN_ERR "snd-aoa: fabric didn't like codec %s\n", in attach_codec_to_fabric()
[all …]
/openbmc/linux/sound/soc/fsl/
H A Dmpc8610_hpcd.c1 // SPDX-License-Identifier: GPL-2.0
3 // Freescale MPC8610HPCD ALSA SoC Machine driver
7 // Copyright 2007-2010 Freescale Semiconductor, Inc.
25 * mpc8610_hpcd_data: machine-specific ASoC device data
47 * This function is used to initialize the board-specific hardware.
59 dev_err(card->dev, "could not map global utilities\n"); in mpc8610_hpcd_machine_probe()
60 return -ENOMEM; in mpc8610_hpcd_machine_probe()
64 guts_set_dmacr(guts, machine_data->dma_id[0], in mpc8610_hpcd_machine_probe()
65 machine_data->dma_channel_id[0], in mpc8610_hpcd_machine_probe()
67 guts_set_dmacr(guts, machine_data->dma_id[1], in mpc8610_hpcd_machine_probe()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dux500-mop500.txt1 * MOP500 Audio Machine Driver
3 This node is responsible for linking together all ux500 Audio Driver components.
6 - compatible : "stericsson,snd-soc-mop500"
8 Non-standard properties:
9 - stericsson,cpu-dai : Phandle to the CPU-side DAI
10 - stericsson,audio-codec : Phandle to the Audio CODEC
11 - stericsson,card-name : Over-ride default card name
16 compatible = "stericsson,snd-soc-mop500";
18 stericsson,cpu-dai = <&msp1 &msp3>;
19 stericsson,audio-codec = <&codec>;
[all …]

12345678910>>...42