Home
last modified time | relevance | path

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

1234

/Linux-v5.15/Documentation/ABI/testing/
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 …]
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-v5.15/drivers/soundwire/
DKconfig3 # SoundWire subsystem configuration
6 menuconfig SOUNDWIRE config
7 tristate "SoundWire support"
10 SoundWire is a 2-Pin interface with data and clock line ratified
11 by the MIPI Alliance. SoundWire is used for transporting data
12 typically related to audio functions. SoundWire interface is
17 if SOUNDWIRE
19 comment "SoundWire Devices"
25 tristate "Intel SoundWire Master driver"
31 SoundWire Intel Master driver.
[all …]
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-cadence-y := cadence_master.o
20 obj-$(CONFIG_SOUNDWIRE_CADENCE) += soundwire-cadence.o
23 soundwire-intel-y := intel.o intel_init.o dmi-quirks.o
24 obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o
[all …]
Dbus_type.c7 #include <linux/soundwire/sdw.h>
8 #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
75 .name = "soundwire",
173 * __sdw_register_driver() - register a SoundWire Slave driver
208 * sdw_unregister_driver() - unregisters the SoundWire Slave driver
232 MODULE_DESCRIPTION("SoundWire bus");
Dstream.c5 * stream.c - SoundWire Bus stream operations.
14 #include <linux/soundwire/sdw_registers.h>
15 #include <linux/soundwire/sdw.h>
20 * Array of supported rows and columns as per MIPI SoundWire Specification 1.1
871 * @stream: SoundWire stream runtime
884 * @stream_name: SoundWire stream name
886 * Allocates a SoundWire stream runtime instance.
1084 * @stream: SoundWire stream
1118 * @stream: SoundWire stream
1140 * @stream: SoundWire stream
[all …]
Dintel_init.c17 #include <linux/soundwire/sdw_intel.h>
133 * sdw_intel_enable_irq() - enable/disable Intel SoundWire IRQ
335 * power rails to the SoundWire IP are not in sdw_intel_startup_controller()
346 * sdw_intel_probe() - SoundWire Intel probe routine
350 * and SoundWire Master and Slave devices will be created by the auxiliary
363 * sdw_intel_startup() - SoundWire Intel startup
364 * @ctx: SoundWire context allocated in the probe
366 * Startup Intel SoundWire controller. This function will be called after
375 * sdw_intel_exit() - SoundWire Intel exit
376 * @ctx: SoundWire context allocated in the probe
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/soundwire/
Dqcom,sdw.txt1 Qualcomm SoundWire Controller Bindings
4 This binding describes the Qualcomm SoundWire Controller along with its
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"
19 Definition: the base address and size of SoundWire controller
25 Definition: should specify the SoundWire Controller IRQ
30 Definition: should be "iface" for SoundWire Controller interface clock
[all …]
Dsoundwire-controller.yaml4 $id: http://devicetree.org/schemas/soundwire/soundwire-controller.yaml#
7 title: SoundWire Controller Generic Binding
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-v5.15/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:
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
58 The MIPI SoundWire specification uses the term 'device' to refer to a Master
62 device managed by a specific driver. The Linux SoundWire subsystem provides
[all …]
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
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-v5.15/sound/hda/
Dintel-sdw-acpi.c16 #include <linux/soundwire/sdw_intel.h>
67 * hardware, but in that step we cannot assume SoundWire IP is in sdw_intel_scan_controller()
91 dev_warn(&adev->dev, "No SoundWire links detected\n"); in sdw_intel_scan_controller()
139 * device can be found, but only one of them is the SoundWire in sdw_intel_acpi_cb()
142 * SoundWire link so filter accordingly in sdw_intel_acpi_cb()
152 * sdw_intel_acpi_scan() - SoundWire Intel init routine
179 MODULE_DESCRIPTION("Intel Soundwire ACPI helpers");
/Linux-v5.15/sound/soc/codecs/
DKconfig935 depends on SOUNDWIRE
939 Enable support for Maxim Integrated MAX98373 Soundwire
940 amplifier. MAX98373 supports either the MIPI SoundWire
944 connected via soundwire.
1164 depends on I2C && SOUNDWIRE
1169 depends on SOUNDWIRE
1248 depends on SOUNDWIRE
1257 depends on SOUNDWIRE
1266 depends on SOUNDWIRE
1272 depends on SOUNDWIRE
[all …]
Drt1316-sdw.h12 #include <linux/soundwire/sdw.h>
13 #include <linux/soundwire/sdw_type.h>
14 #include <linux/soundwire/sdw_registers.h>
/Linux-v5.15/Documentation/devicetree/bindings/sound/
Dqcom,wcd938x-sdw.yaml7 title: Bindings for 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 {
Dqcom,wcd938x.yaml14 It has RX and TX Soundwire slave devices.
37 description: A reference to Soundwire tx device phandle
41 description: A reference to Soundwire rx device phandle
124 soundwire@3210000 {
135 soundwire@3230000 {
Dqcom,wsa881x.yaml15 Their primary operating mode uses a SoundWire digital audio
16 interface. This binding is for SoundWire interface.
46 soundwire@c2d0000 {
/Linux-v5.15/include/linux/soundwire/
Dsdw_intel.h8 #include <linux/soundwire/sdw.h>
125 * struct sdw_intel_acpi_info - Soundwire Intel information found in ACPI tables
185 * @mmio_base: mmio base of SoundWire registers, only used to check
187 * @link_mask: bit-wise mask listing SoundWire links reported by the
217 * struct sdw_intel_res - Soundwire Intel global resource structure,
221 * @mmio_base: mmio base of SoundWire registers
250 * On Intel platforms, the SoundWire IP has dependencies on power
259 * SoundWire).
Dsdw_type.h27 * module_sdw_driver() - Helper macro for registering a Soundwire driver
28 * @__sdw_driver: soundwire slave driver struct
30 * Helper macro for Soundwire drivers which do not do anything special in
Dsdw.h32 * Note: The maximum row define in SoundWire spec 1.1 is 23. In order to
340 * struct sdw_slave_prop - SoundWire Slave properties
412 * @mclk_freq: clock reference passed to SoundWire Master, in Hz.
467 * @class_id: MIPI Class ID (defined starting with SoundWire 1.2 spec)
494 * The MIPI DisCo for SoundWire defines in addition the link_id as bits 51:48
523 * sdw_reg_bank - SoundWire register banks
524 * @SDW_BANK0: Soundwire register bank 0
525 * @SDW_BANK1: Soundwire register bank 1
635 * struct sdw_slave - SoundWire Slave
650 * on startup between driver probe/initialization and SoundWire
[all …]
/Linux-v5.15/sound/soc/sof/intel/
DKconfig275 tristate "SOF support for SoundWire"
278 depends on ACPI && SOUNDWIRE
279 depends on !(SOUNDWIRE=m && SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE=y)
281 This adds support for SoundWire with Sound Open Firmware
283 Say Y if you want to enable SoundWire links with SOF.
Dhda.c23 #include <linux/soundwire/sdw.h>
24 #include <linux/soundwire/sdw_intel.h>
58 * The default for SoundWire clock stop quirks is to power gate the IP
65 MODULE_PARM_DESC(sdw_clock_stop_quirks, "SOF SoundWire clock stop quirks");
190 dev_err(sdev->dev, "error: SoundWire probe failed\n"); in hda_sdw_probe()
652 /* scan SoundWire capabilities exposed by DSDT */ in hda_init_caps()
655 dev_dbg(sdev->dev, "skipping SoundWire, not detected with ACPI scan\n"); in hda_init_caps()
661 dev_dbg(sdev->dev, "skipping SoundWire, no links enabled\n"); in hda_init_caps()
666 * probe/allocate SoundWire resources. in hda_init_caps()
669 * It's entirely possible to have a mix of I2S/DMIC/SoundWire in hda_init_caps()
[all …]
/Linux-v5.15/drivers/base/regmap/
Dregmap-sdw.c8 #include <linux/soundwire/sdw.h>
42 /* All register are 8-bits wide as per MIPI Soundwire 1.0 Spec */ in regmap_sdw_config_check()
88 MODULE_DESCRIPTION("Regmap SoundWire Module");
Dregmap-sdw-mbq.c8 #include <linux/soundwire/sdw.h>
9 #include <linux/soundwire/sdw_registers.h>
100 MODULE_DESCRIPTION("Regmap SoundWire MBQ Module");

1234