Home
last modified time | relevance | path

Searched +full:soundwire +full:- +full:controller (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v6.6/Documentation/devicetree/bindings/soundwire/
Dqcom,soundwire.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm SoundWire Controller
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
11 - Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
14 The Qualcomm SoundWire controller along with its board specific bus parameters.
19 - qcom,soundwire-v1.3.0
20 - qcom,soundwire-v1.5.0
[all …]
Dsoundwire-controller.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soundwire/soundwire-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: SoundWire Controller Common Properties
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
11 - Vinod Koul <vkoul@kernel.org>
14 SoundWire busses can be described with a node for the SoundWire controller
15 device and a set of child nodes for each SoundWire slave on the bus.
19 pattern: "^soundwire(@.*)?$"
[all …]
/Linux-v6.6/sound/soc/amd/ps/
Dacp63.h1 /* SPDX-License-Identifier: GPL-2.0+ */
63 * SW0 SoundWire manager instance configuration
68 * ACP63_SDW0_SDW1_MODE_DEVS corresponds to platform devices count for SW0 + SW1 SoundWire manager
75 * instance + ACP PDM controller configuration
81 * SW0 + SW1 SoundWire manager instances + ACP PDM controller configuration
91 /* ACP63_PDM_DEV_CONFIG corresponds to platform device configuration for ACP PDM controller */
98 * ACP63_SDW_PDM_DEV_CONFIG corresponds to platform device configuration for ACP PDM + SoundWire
131 #define SDW0_DMA_TX_IRQ_MASK(i) (ACP_AUDIO0_TX_THRESHOLD - (2 * (i)))
132 #define SDW0_DMA_RX_IRQ_MASK(i) (ACP_AUDIO0_RX_THRESHOLD - (2 * ((i) - 3)))
141 #define SDW1_DMA_IRQ_MASK(i) (ACP_P1_AUDIO_TX_THRESHOLD - (i))
[all …]
Dpci-ps.c1 // SPDX-License-Identifier: GPL-2.0+
19 #include <linux/soundwire/sdw_amd.h>
109 pdev_index = adata->sdw_dma_dev_index; in acp63_irq_thread()
110 sdw_dma_data = dev_get_drvdata(&adata->pdev[pdev_index]->dev); in acp63_irq_thread()
113 if (adata->sdw0_dma_intr_stat[stream_index]) { in acp63_irq_thread()
114 if (sdw_dma_data->sdw0_dma_stream[stream_index]) in acp63_irq_thread()
115 snd_pcm_period_elapsed(sdw_dma_data->sdw0_dma_stream[stream_index]); in acp63_irq_thread()
116 adata->sdw0_dma_intr_stat[stream_index] = 0; in acp63_irq_thread()
120 if (adata->sdw1_dma_intr_stat[stream_index]) { in acp63_irq_thread()
121 if (sdw_dma_data->sdw1_dma_stream[stream_index]) in acp63_irq_thread()
[all …]
/Linux-v6.6/sound/hda/
Dintel-sdw-acpi.c1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
2 // Copyright(c) 2015-2021 Intel Corporation.
16 #include <linux/soundwire/sdw_intel.h>
34 "mipi-sdw-link-%hhu-subproperties", idx); in is_link_enabled()
41 "intel-quirk-mask", in is_link_enabled()
53 struct acpi_device *adev = acpi_fetch_acpi_dev(info->handle); in sdw_intel_scan_controller()
58 return -EINVAL; in sdw_intel_scan_controller()
60 /* Found controller, find links supported */ in sdw_intel_scan_controller()
63 "mipi-sdw-master-count", &count, 1); in sdw_intel_scan_controller()
67 * hardware, but in that step we cannot assume SoundWire IP is in sdw_intel_scan_controller()
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/sound/
Dadi,max98363.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices MAX98363 SoundWire Amplifier
10 - Ryan Lee <ryans.lee@analog.com>
13 The MAX98363 is a SoundWire input Class D mono amplifier that
14 supports MIPI SoundWire v1.2-compatible digital interface for
16 SoundWire peripheral device ID of MAX98363 is 0x3*019f836300
21 - $ref: dai-common.yaml#
30 '#sound-dai-cells':
[all …]
Dqcom,wsa883x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
15 Their primary operating mode uses a SoundWire digital audio
16 interface. This binding is for SoundWire interface.
19 - $ref: dai-common.yaml#
28 powerdown-gpios:
32 vdd-supply:
35 '#thermal-sensor-cells':
[all …]
Dqcom,wsa8840.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
15 SoundWire digital audio interface.
18 - $ref: dai-common.yaml#
27 powerdown-gpios:
31 '#sound-dai-cells':
34 vdd-1p8-supply: true
[all …]
Dqcom,wcd9335.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC with in-built
14 Soundwire controller and interrupt mux. It supports both I2S/I2C and SLIMbus
27 clock-names:
29 - const: mclk
30 - const: slimbus
35 interrupt-names:
[all …]
Dqcom,wcd934x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 Qualcomm WCD9340/WCD9341 Codec is a standalone Hi-Fi audio codec IC.
14 It has in-built Soundwire controller, pin controller, interrupt mux and
27 reset-gpios:
31 slim-ifc-dev:
38 clock-names:
41 vdd-buck-supply:
[all …]
/Linux-v6.6/drivers/soundwire/
Dintel_init.c1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
2 // Copyright(c) 2015-17 Intel Corporation.
17 #include <linux/soundwire/sdw_intel.h>
44 return ERR_PTR(-ENOMEM); in intel_link_dev_register()
46 auxdev = &ldev->auxdev; in intel_link_dev_register()
47 auxdev->name = name; in intel_link_dev_register()
48 auxdev->dev.parent = res->parent; in intel_link_dev_register()
49 auxdev->dev.fwnode = fwnode; in intel_link_dev_register()
50 auxdev->dev.release = intel_link_dev_release; in intel_link_dev_register()
53 auxdev->id = link_id; in intel_link_dev_register()
[all …]
Dintel_auxdevice.c1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
2 // Copyright(c) 2015-22 Intel Corporation.
5 * Soundwire Intel Manager Driver
18 #include <linux/soundwire/sdw_registers.h>
19 #include <linux/soundwire/sdw.h>
20 #include <linux/soundwire/sdw_intel.h>
29 * debug/config flags for the Intel SoundWire Master.
32 * flags reused in each byte, with master0 using the ls-byte, etc.
42 MODULE_PARM_DESC(sdw_md_flags, "SoundWire Intel Master device flags (0x0 all off)");
71 if (slave->id.part_id == wake_capable_list[i].part_id && in is_wake_capable()
[all …]
Damd_manager.h1 /* SPDX-License-Identifier: GPL-2.0+ */
9 #include <linux/soundwire/sdw_amd.h>
209 * Below is the CPU DAI <->Manager port number mapping
210 * i.e SDW0 Pin0 -> port number 0 -> AUDIO0 TX
211 * SDW0 Pin1 -> Port number 1 -> AUDIO1 TX
212 * SDW0 Pin2 -> Port number 2 -> AUDIO2 TX
213 * SDW0 Pin3 -> port number 3 -> AUDIO0 RX
214 * SDW0 Pin4 -> Port number 4 -> AUDIO1 RX
215 * SDW0 Pin5 -> Port number 5 -> AUDIO2 RX
217 * SDW1 Pin0 -> port number 0 -> AUDIO1 TX
[all …]
Dintel.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
10 * struct sdw_intel_link_res - Soundwire Intel link resource structure,
11 * typically populated by the controller driver.
12 * @hw_ops: platform-specific ops
13 * @mmio_base: mmio base of SoundWire registers
17 * @shim_vs: Audio vendor-specific shim pointer
25 * @link_mask: global mask needed for power-up/down sequences
27 * @list: used to walk-through all masters exposed by the same controller
94 #define SDW_INTEL_CHECK_OPS(sdw, cb) ((sdw) && (sdw)->link_res && (sdw)->link_res->hw_ops && \
[all …]
Dstream.c1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
2 // Copyright(c) 2015-18 Intel Corporation.
5 * stream.c - SoundWire Bus stream operations.
14 #include <linux/soundwire/sdw_registers.h>
15 #include <linux/soundwire/sdw.h>
16 #include <linux/soundwire/sdw_type.h>
21 * Array of supported rows and columns as per MIPI SoundWire Specification 1.1
71 if (bus->params.next_bank) { in _sdw_program_slave_port_params()
72 addr1 = SDW_DPN_OFFSETCTRL2_B1(t_params->port_num); in _sdw_program_slave_port_params()
73 addr2 = SDW_DPN_BLOCKCTRL3_B1(t_params->port_num); in _sdw_program_slave_port_params()
[all …]
Dqcom.c1 // SPDX-License-Identifier: GPL-2.0
19 #include <linux/soundwire/sdw.h>
20 #include <linux/soundwire/sdw_registers.h>
101 #define SWRM_DP_PORT_CTRL_BANK(n, m) (0x1124 + 0x100 * (n - 1) + 0x40 * m)
102 #define SWRM_DP_PORT_CTRL_2_BANK(n, m) (0x1128 + 0x100 * (n - 1) + 0x40 * m)
103 #define SWRM_DP_BLOCK_CTRL_1(n) (0x112C + 0x100 * (n - 1))
104 #define SWRM_DP_BLOCK_CTRL2_BANK(n, m) (0x1130 + 0x100 * (n - 1) + 0x40 * m)
105 #define SWRM_DP_PORT_HCTRL_BANK(n, m) (0x1134 + 0x100 * (n - 1) + 0x40 * m)
106 #define SWRM_DP_BLOCK_CTRL3_BANK(n, m) (0x1138 + 0x100 * (n - 1) + 0x40 * m)
107 #define SWRM_DP_SAMPLECTRL2_BANK(n, m) (0x113C + 0x100 * (n - 1) + 0x40 * m)
[all …]
/Linux-v6.6/Documentation/driver-api/soundwire/
Dsummary.rst2 SoundWire Subsystem Summary
5 SoundWire is a new interface ratified in 2015 by the MIPI Alliance.
6 SoundWire is used for transporting data typically related to audio
7 functions. SoundWire interface is optimized to integrate audio devices in
10 SoundWire is a 2-pin multi-drop interface with data and clock line. It
12 Broad level key features of SoundWire interface include:
15 commands over a single two-pin interface.
23 (4) Device status monitoring, including interrupt-style alerts to the Master.
25 The SoundWire protocol supports up to eleven Slave interfaces. All the
35 Below figure shows an example of connectivity between a SoundWire Master and
[all …]
/Linux-v6.6/include/linux/soundwire/
Dsdw_intel.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
8 #include <linux/soundwire/sdw.h>
37 #define SDW_SHIM_SYNC_SYNCPRD_VAL_24 (24000 / SDW_CADENCE_GSYNC_KHZ - 1)
38 #define SDW_SHIM_SYNC_SYNCPRD_VAL_38_4 (38400 / SDW_CADENCE_GSYNC_KHZ - 1)
109 * ACE2.x definitions for SHIM registers - only accessible when the
118 /* Read-only capabilities */
120 #define SDW_SHIM2_LECAP_HDS BIT(0) /* unset -> Host mode */
125 #define SDW_SHIM2_PCMSCAP_ISS GENMASK(3, 0) /* Input-only streams */
126 #define SDW_SHIM2_PCMSCAP_OSS GENMASK(7, 4) /* Output-only streams */
[all …]
Dsdw.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
36 * Note: The maximum row define in SoundWire spec 1.1 is 23. In order to
75 * enum sdw_slave_status - Slave status
93 * @SDW_CLK_PRE_DEPREPARE: pre clock stop de-prepare
94 * @SDW_CLK_POST_DEPREPARE: post clock stop de-prepare
104 * enum sdw_command_response - Command response as defined by SDW spec
190 * enum sdw_p15_behave - Slave Port 15 behaviour when the Master attempts a
201 * enum sdw_dpn_type - Data port types
216 * enum sdw_clk_stop_mode - Clock Stop modes
[all …]
/Linux-v6.6/sound/soc/sof/intel/
Dhda.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
23 #include <linux/soundwire/sdw.h>
24 #include <linux/soundwire/sdw_intel.h>
25 #include <sound/intel-dsp-config.h>
26 #include <sound/intel-nhlt.h>
29 #include <sound/hda-mlink.h>
30 #include "../sof-audio.h"
31 #include "../sof-pci-dev.h"
39 #include <sound/soc-acpi-intel-match.h>
53 chip = get_chip_info(sdev->pdata); in hda_get_interface_mask()
[all …]
Dmtl.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
15 #include "../ipc4-priv.h"
18 #include "hda-ipc.h"
19 #include "../sof-audio.h"
31 * clear busy interrupt to tell dsp controller this interrupt has been accepted, in mtl_ipc_host_done()
46 * set DONE bit - tell DSP we have received the reply msg from DSP, and processed it, in mtl_ipc_dsp_done()
63 if (sdev->dspless_mode_selected) in mtl_dsp_check_ipc_irq()
96 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in mtl_ipc_send_msg()
97 struct sof_ipc4_msg *msg_data = msg->msg_data; in mtl_ipc_send_msg()
100 hdev->delayed_ipc_tx_msg = msg; in mtl_ipc_send_msg()
[all …]
/Linux-v6.6/sound/soc/codecs/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 # setting - SPI can't be modular so that case doesn't need to be covered.
469 tristate "Analog Devices AU1761 CODEC - I2C"
475 tristate "Analog Devices AU1761 CODEC - SPI"
512 tristate "Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter"
518 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - HW Mode"
521 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM
527 will be called snd-soc-adau7118-hw.
530 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - I2C"
535 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM
[all …]
Dcs42l42-sdw.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // cs42l42-sdw.c -- CS42L42 ALSA SoC audio driver SoundWire driver
15 #include <linux/soundwire/sdw.h>
16 #include <linux/soundwire/sdw_registers.h>
17 #include <linux/soundwire/sdw_type.h>
28 /* Register addresses are offset when sent over SoundWire */
55 struct cs42l42_private *cs42l42 = snd_soc_component_get_drvdata(dai->component); in cs42l42_sdw_dai_startup()
57 if (!cs42l42->init_done) in cs42l42_sdw_dai_startup()
58 return -ENODEV; in cs42l42_sdw_dai_startup()
67 struct cs42l42_private *cs42l42 = snd_soc_component_get_drvdata(dai->component); in cs42l42_sdw_dai_hw_params()
[all …]
/Linux-v6.6/arch/arm64/boot/dts/qcom/
Dsdm845-wcd9340.dtsi1 // SPDX-License-Identifier: GPL-2.0
13 #address-cells = <2>;
14 #size-cells = <0>;
24 slim-ifc-dev = <&wcd9340_ifd>;
26 #sound-dai-cells = <1>;
28 interrupts-extended = <&tlmm 54 IRQ_TYPE_LEVEL_HIGH>;
29 interrupt-controller;
30 #interrupt-cells = <1>;
32 clock-names = "extclk";
35 #clock-cells = <0>;
[all …]
/Linux-v6.6/sound/soc/amd/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
39 tristate "AMD Audio Coprocessor-v3.x support"
58 tristate "AMD Audio Coprocessor - Renoir support"
72 tristate "AMD Audio Coprocessor-v5.x I2S support"
95 tristate "AMD Audio Coprocessor-v6.x Yellow Carp support"
111 using dmic. ACP IP has PDM Decoder block with DMA controller.
126 tristate "AMD Audio Coprocessor-v6.2 RPL support"
136 tristate "AMD Audio Coprocessor-v6.3 Pink Sardine support"
142 triggered for ACP PCI driver, ACP PDM DMA driver, ACP SoundWire
153 using dmic. ACP IP has PDM Decoder block with DMA controller.

12