Home
last modified time | relevance | path

Searched full:soundwire (Results 1 – 25 of 191) sorted by relevance

12345678

/linux/Documentation/ABI/testing/
H A Dsysfs-bus-soundwire-slave1 What: /sys/bus/soundwire/devices/sdw:.../status
2 /sys/bus/soundwire/devices/sdw:.../device_number
10 Description: SoundWire Slave status
19 What: /sys/bus/soundwire/devices/sdw:.../dev-properties/mipi_revision
20 /sys/bus/soundwire/devices/sdw:.../dev-properties/wake_capable
21 /sys/bus/soundwire/devices/sdw:.../dev-properties/test_mode_capable
22 /sys/bus/soundwire/devices/sdw:.../dev-properties/clk_stop_mode1
23 /sys/bus/soundwire/devices/sdw:.../dev-properties/simple_clk_stop_capable
24 /sys/bus/soundwire/devices/sdw:.../dev-properties/clk_stop_timeout
25 /sys/bus/soundwire/devices/sdw:.../dev-properties/ch_prep_timeout
[all …]
H A Dsysfs-bus-soundwire-master1 What: /sys/bus/soundwire/devices/sdw-master-<N>/revision
2 /sys/bus/soundwire/devices/sdw-master-<N>/clk_stop_modes
3 /sys/bus/soundwire/devices/sdw-master-<N>/clk_freq
4 /sys/bus/soundwire/devices/sdw-master-<N>/clk_gears
5 /sys/bus/soundwire/devices/sdw-master-<N>/default_col
6 /sys/bus/soundwire/devices/sdw-master-<N>/default_frame_rate
7 /sys/bus/soundwire/devices/sdw-master-<N>/default_row
8 /sys/bus/soundwire/devices/sdw-master-<N>/dynamic_shape
9 /sys/bus/soundwire/devices/sdw-master-<N>/err_threshold
10 /sys/bus/soundwire/devices/sdw-master-<N>/max_clk_freq
[all …]
/linux/drivers/soundwire/
H A DMakefile3 # Makefile for soundwire core
7 soundwire-bus-y := bus_type.o bus.o master.o slave.o mipi_disco.o stream.o \
9 obj-$(CONFIG_SOUNDWIRE) += soundwire-bus.o
11 soundwire-generic-allocation-objs := generic_bandwidth_allocation.o
12 obj-$(CONFIG_SOUNDWIRE_GENERIC_ALLOCATION) += soundwire-generic-allocation.o
15 soundwire-bus-y += debugfs.o
19 soundwire-bus-y += irq.o
23 soundwire-amd-y := amd_init.o amd_manager.o
24 obj-$(CONFIG_SOUNDWIRE_AMD) += soundwire-amd.o
27 soundwire-cadence-y := cadence_master.o
[all …]
H A Dbus_type.c6 #include <linux/soundwire/sdw.h>
7 #include <linux/soundwire/sdw_type.h>
13 * sdw_get_device_id - find the matching SoundWire device id
14 * @slave: SoundWire Slave Device
15 * @drv: SoundWire Slave Driver
187 .name = "soundwire",
196 * __sdw_register_driver() - register a SoundWire Slave driver
220 * sdw_unregister_driver() - unregisters the SoundWire Slave driver
244 MODULE_DESCRIPTION("SoundWire bus");
H A Dintel_auxdevice.c5 * 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.
42 MODULE_PARM_DESC(sdw_md_flags, "SoundWire Intel Master device flags (0x0 all off)");
46 MODULE_PARM_DESC(sdw_mclk_divider, "SoundWire Intel mclk divider");
333 /* single controller for all SoundWire links */ in intel_link_probe()
372 "SoundWire master %d is disabled, will be ignored\n", in intel_link_probe()
396 "SoundWire master %d is disabled, ignoring\n", in intel_link_startup()
[all …]
H A Dstream.c5 * 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>
24 * Array of supported rows and columns as per MIPI SoundWire Specification 1.1
1045 dev_err(dev, "SoundWire: Invalid port number :%d\n", num); in sdw_slave_port_is_valid_range()
1352 * @stream: SoundWire stream
1433 * @stream: SoundWire stream
1437 * NOTE: This function is called from SoundWire stream ops and is
1456 * @stream: SoundWire stream
[all …]
H A Dintel_init.c17 #include <linux/soundwire/sdw_intel.h>
312 * power rails to the SoundWire IP are not in sdw_intel_startup_controller()
323 * sdw_intel_probe() - SoundWire Intel probe routine
327 * and SoundWire Master and Slave devices will be created by the auxiliary
340 * sdw_intel_startup() - SoundWire Intel startup
341 * @ctx: SoundWire context allocated in the probe
343 * Startup Intel SoundWire controller. This function will be called after
352 * sdw_intel_exit() - SoundWire Intel exit
353 * @ctx: SoundWire context allocated in the probe
403 MODULE_DESCRIPTION("Intel Soundwire Init Library");
/linux/Documentation/devicetree/bindings/soundwire/
H A Dqcom,soundwire.yaml4 $id: http://devicetree.org/schemas/soundwire/qcom,soundwire.yaml#
7 title: Qualcomm SoundWire Controller
14 The Qualcomm SoundWire controller along with its board specific bus parameters.
20 - qcom,soundwire-v1.3.0
21 - qcom,soundwire-v1.5.0
22 - qcom,soundwire-v1.5.1
23 - qcom,soundwire-v1.6.0
24 - qcom,soundwire-v1.7.0
25 - qcom,soundwire-v2.0.0
26 - qcom,soundwire-v3.1.0
[all …]
H A Dsoundwire-controller.yaml4 $id: http://devicetree.org/schemas/soundwire/soundwire-controller.yaml#
7 title: SoundWire Controller Common Properties
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(@.*)?$"
34 description: Is the textual representation of SoundWire Enumeration
35 address. compatible string should contain SoundWire Version ID,
39 Version ID is 1 nibble, number '0x1' represents SoundWire 1.0
40 and '0x2' represents SoundWire 1.1 and so on.
45 found in MIPI Alliance DisCo & SoundWire 1.0 Specifications.
[all …]
/linux/sound/soc/codecs/
H A DKconfig881 depends on SOUNDWIRE || !SOUNDWIRE
891 depends on SOUNDWIRE || !SOUNDWIRE
900 depends on SOUNDWIRE
906 Enable support for Cirrus Logic CS35L56 boosted amplifier with SoundWire control
998 tristate "Cirrus Logic CS42L42 CODEC on Soundwire"
999 depends on SOUNDWIRE
1002 Enable support for Cirrus Logic CS42L42 codec with Soundwire control
1012 tristate "Cirrus Logic CS42L43 CODEC (SoundWire)"
[all...]
H A Dcs35l56-sdw.c3 // CS35L56 ALSA SoC audio driver SoundWire binding
14 #include <linux/soundwire/sdw.h>
15 #include <linux/soundwire/sdw_registers.h>
16 #include <linux/soundwire/sdw_type.h>
25 /* Register addresses are offset when sent over SoundWire */
168 * Registers are big-endian on I2C and SPI but little-endian on SoundWire.
170 * SoundWire. Firmware files are always big-endian and are opaque blobs.
183 /* Low-level SoundWire regmap to transfer the data over the bus */
219 /* SoundWire UniqueId is used to index the calibration array */ in cs35l56_sdw_init()
245 * just clearing up the additional Cirrus SoundWire registers that are in cs35l56_sdw_interrupt()
[all …]
/linux/sound/soc/amd/acp/
H A DKconfig145 This option enables common SoundWire Machine driver module for
149 tristate "AMD SOF Soundwire Machine Driver Support"
151 depends on SOUNDWIRE
162 This option enables SOF sound card support for SoundWire enabled
164 Say Y if you want to enable SoundWire based machine driver support
169 tristate "AMD Legacy(No DSP) Soundwire Machine Driver Support"
171 depends on SOUNDWIRE
187 This option enables Legacy(No DSP) sound card support for SoundWire
189 Say Y if you want to enable SoundWire based machine driver support
199 This options enables ACPI helper functions for SoundWire
[all...]
/linux/sound/soc/amd/ps/
H A Dacp63.h8 #include <linux/soundwire/sdw_amd.h>
299 * @acp_sdw_dma_irq_thread: ACP SoundWire DMA interrupt thread
324 * sdw_dma_dev: platform device for SoundWire DMA controller
325 * @mach_dev: platform device for machine driver to support ACP PDM/SoundWire configuration
327 * @info: SoundWire AMD information found in ACPI tables
328 * @sdw: SoundWire context for all SoundWire manager instances
329 * @machine: ACPI machines for SoundWire interface
330 * @is_sdw_dev: flag set to true when any SoundWire manager instances are available
334 * @sdw_en_stat: flag set to true when any one of the SoundWire manage
[all...]
/linux/include/sound/
H A Dsdw.h3 * linux/sound/sdw.h -- SoundWire helpers for ALSA/ASoC
10 #include <linux/soundwire/sdw.h>
19 * snd_sdw_params_to_config() - Conversion from hw_params to SoundWire config
23 * @stream_config: Stream configuration for the SoundWire audio stream
24 * @port_config: Port configuration for the SoundWire audio stream
27 * SoundWire configuration structures. The user will at a minimum need to also
H A Dhda-sdw-bpt.h43 WARN_ONCE(1, "SoundWire BPT is disabled"); in hda_sdw_bpt_open()
50 WARN_ONCE(1, "SoundWire BPT is disabled"); in hda_sdw_bpt_send_async()
57 WARN_ONCE(1, "SoundWire BPT is disabled"); in hda_sdw_bpt_wait()
67 WARN_ONCE(1, "SoundWire BPT is disabled"); in hda_sdw_bpt_close()
/linux/sound/hda/core/
H A Dintel-sdw-acpi.c16 #include <linux/soundwire/sdw_intel.h>
27 MODULE_PARM_DESC(sdw_ctrl_addr, "Intel SoundWire Controller _ADR");
75 * hardware, but in that step we cannot assume SoundWire IP is in sdw_intel_scan_controller()
107 dev_warn(&adev->dev, "No SoundWire links detected\n"); in sdw_intel_scan_controller()
152 * device can be found, but only one of them is the SoundWire in sdw_intel_acpi_cb()
155 * SoundWire link so filter accordingly in sdw_intel_acpi_cb()
163 /* found the correct SoundWire controller */ in sdw_intel_acpi_cb()
171 * sdw_intel_acpi_scan() - SoundWire Intel init routine
204 MODULE_DESCRIPTION("Intel Soundwire ACPI helpers");
/linux/sound/soc/qcom/
H A DKconfig183 depends on QCOM_APR && I2C && SOUNDWIRE
198 depends on QCOM_APR && SOUNDWIRE
211 depends on QCOM_APR && SOUNDWIRE
224 depends on SOUNDWIRE || SOUNDWIRE=n
238 depends on I2C && SOUNDWIRE
256 depends on QCOM_APR && SOUNDWIRE
/linux/include/linux/soundwire/
H A Dsdw.h47 * Note: The maximum row define in SoundWire spec 1.1 is 23. In order to
336 * struct sdw_slave_prop - SoundWire Slave properties
373 * registers introduced with the SoundWire 1.2 specification. SDCA devices
426 * @mclk_freq: clock reference passed to SoundWire Master, in Hz.
481 * @class_id: MIPI Class ID (defined starting with SoundWire 1.2 spec)
513 * The MIPI DisCo for SoundWire defines in addition the link_id as bits 51:48
542 * enum sdw_reg_bank - SoundWire register banks
543 * @SDW_BANK0: Soundwire register bank 0
544 * @SDW_BANK1: Soundwire register bank 1
640 * struct sdw_slave - SoundWire Slave
[all …]
/linux/drivers/mfd/
H A Dcs42l43-sdw.c3 * CS42L43 SoundWire driver
17 #include <linux/soundwire/sdw.h>
18 #include <linux/soundwire/sdw_registers.h>
19 #include <linux/soundwire/sdw_type.h>
120 * just clearing up the additional Cirrus SoundWire registers that are in cs42l43_sdw_interrupt()
121 * not covered by the SoundWire framework or the IRQ handler itself. in cs42l43_sdw_interrupt()
143 "PLL active can't change SoundWire bus clock\n"); in cs42l43_sdw_bus_config()
204 MODULE_DESCRIPTION("CS42L43 SoundWire Driver");
/linux/Documentation/driver-api/soundwire/
H A Derror_handling.rst2 SoundWire Error Handling
5 The SoundWire PHY was designed with care and errors on the bus are going to
19 data enabled by the SoundWire protocol, the location of the error will also
44 it transitions to a NotFinished value of zero. The MIPI SoundWire spec 1.1
45 does not define timeouts but the MIPI SoundWire DisCo document adds
60 Note that SoundWire does not provide a mechanism to detect illegal values
H A Dlocking.rst2 SoundWire Locking
5 This document explains locking mechanism of the SoundWire Bus. Bus uses
16 SoundWire Bus lock is a mutex and is part of Bus data structure
18 serialize each of the following operations(s) within SoundWire Bus instance.
29 SoundWire message transfer lock. This mutex is part of
31 transfers (read/write) within a SoundWire Bus instance.
/linux/Documentation/sound/codecs/
H A Dcs35l56.rst41 *For systems using SoundWire*: sound/soc/codecs/cs35l56.c and associated files
55 On most SoundWire systems the amplifier has a default minimum capability to
62 On some SoundWire systems that have both CS42L43 and CS35L56/57 the CS35L56/57
64 SoundWire interface. These systems can be identified by the CS42L43 showing
65 in dmesg as a SoundWire device, but the CS35L56/57 as SPI. On these systems
108 SoundWire:
111 SoundWire CS35L56 Rev B0 firmware released before kernel version 6.16:
114 Non-SoundWire (HDA and I2S):
122 * l?u? is the physical address on the SoundWire bus of the amp this
136 All SoundWire systems will require a Sound Open Firmware (SOF) for the
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dqcom,pm4125-sdw.yaml7 title: Qualcomm SoundWire Slave devices on PM4125/PM2250 PMIC audio codec.
14 It has RX and TX Soundwire slave devices.
28 Supports maximum 2 tx soundwire ports.
44 Supports maximum 2 rx soundwire ports.
69 soundwire@a610000 {
H A Dqcom,wcd939x-sdw.yaml7 title: Qualcomm SoundWire devices on WCD9390/WCD9395
14 It has RX and TX Soundwire devices. This bindings is for the devices.
47 soundwire@3210000 {
58 soundwire@3230000 {
H A Dqcom,wcd938x-sdw.yaml7 title: Qualcomm SoundWire Slave devices on WCD9380/WCD9385
14 It has RX and TX Soundwire slave devices. This bindings is for the
48 soundwire@3210000 {
59 soundwire@3230000 {

12345678