Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/soundwire/
Dqcom,sdw.txt1 Qualcomm SoundWire Controller Bindings
4 This binding describes the Qualcomm SoundWire Controller along with its
7 - compatible:
10 Definition: must be "qcom,soundwire-v<MAJOR>.<MINOR>.<STEP>",
12 "qcom,soundwire-v1.3.0"
13 "qcom,soundwire-v1.5.0"
14 "qcom,soundwire-v1.5.1"
15 "qcom,soundwire-v1.6.0"
16 - reg:
18 Value type: <prop-encoded-array>
[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 Generic Binding
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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/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>
46 * struct sdw_intel_acpi_info - Soundwire Intel information found in ACPI tables
47 * @handle: ACPI controller handle
48 * @count: link count found with "sdw-master-count" property
49 * @link_mask: bit-wise mask listing links enabled by BIOS menu
63 /* Intel clock-stop/pm_runtime quirk definitions */
74 * reset and re-enumeration will be performed when the bus
76 * in-band wakes.
[all …]
/kernel/linux/linux-5.10/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>
41 "mipi-sdw-link-%d-subproperties", i); in is_link_enabled()
48 "intel-quirk-mask", in is_link_enabled()
59 struct sdw_intel_link_res *link = ctx->links; in sdw_intel_cleanup()
66 link_mask = ctx->link_mask; in sdw_intel_cleanup()
68 for (i = 0; i < ctx->count; i++, link++) { in sdw_intel_cleanup()
72 if (link->pdev) { in sdw_intel_cleanup()
73 pm_runtime_disable(&link->pdev->dev); in sdw_intel_cleanup()
[all …]
Dintel.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
8 * struct sdw_intel_link_res - Soundwire Intel link resource structure,
9 * typically populated by the controller driver.
11 * @mmio_base: mmio base of SoundWire registers
21 * @link_mask: global mask needed for power-up/down sequences
23 * @list: used to walk-through all masters exposed by the same controller
Dqcom.c1 // SPDX-License-Identifier: GPL-2.0
16 #include <linux/soundwire/sdw.h>
17 #include <linux/soundwire/sdw_registers.h>
56 #define SWRM_DP_PORT_CTRL_BANK(n, m) (0x1124 + 0x100 * (n - 1) + 0x40 * m)
57 #define SWRM_DP_BLOCK_CTRL3_BANK(n, m) (0x1138 + 0x100 * (n - 1) + 0x40 * m)
133 struct regmap *wcd_regmap = ctrl->regmap; in qcom_swrm_ahb_reg_read()
153 struct regmap *wcd_regmap = ctrl->regmap; in qcom_swrm_ahb_reg_write()
173 *val = readl(ctrl->mmio + reg); in qcom_swrm_cpu_reg_read()
180 writel(val, ctrl->mmio + reg); in qcom_swrm_cpu_reg_write()
192 spin_lock_irqsave(&ctrl->comp_lock, flags); in qcom_swrm_cmd_fifo_wr_cmd()
[all …]
/kernel/linux/linux-6.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()
55 struct acpi_device *adev = acpi_fetch_acpi_dev(info->handle); in sdw_intel_scan_controller()
60 return -EINVAL; in sdw_intel_scan_controller()
62 /* Found controller, find links supported */ in sdw_intel_scan_controller()
65 "mipi-sdw-master-count", &count, 1); in sdw_intel_scan_controller()
69 * hardware, but in that step we cannot assume SoundWire IP is in sdw_intel_scan_controller()
[all …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.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>
210 * Below is the CPU DAI <->Manager port number mapping
211 * i.e SDW0 Pin0 -> port number 0 -> AUDIO0 TX
212 * SDW0 Pin1 -> Port number 1 -> AUDIO1 TX
213 * SDW0 Pin2 -> Port number 2 -> AUDIO2 TX
214 * SDW0 Pin3 -> port number 3 -> AUDIO0 RX
215 * SDW0 Pin4 -> Port number 4 -> AUDIO1 RX
216 * SDW0 Pin5 -> Port number 5 -> AUDIO2 RX
218 * SDW1 Pin0 -> port number 0 -> AUDIO1 TX
[all …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/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-nhlt.h>
28 #include "../sof-audio.h"
33 #include <sound/soc-acpi-intel-match.h>
45 const struct sof_dev_desc *desc = pdata->desc; in get_chip_info()
48 chip_info = desc->chip_info; in get_chip_info()
56 * The default for SoundWire clock stop quirks is to power gate the IP
63 MODULE_PARM_DESC(sdw_clock_stop_quirks, "SOF SoundWire clock stop quirks");
[all …]
/kernel/linux/linux-6.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 …]

123