Home
last modified time | relevance | path

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

12345

/Linux-v6.1/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-v6.1/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 core and optional
37 Definition: should specify if SoundWire Controller is wake up capable.
[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-v6.1/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",
193 * __sdw_register_driver() - register a SoundWire Slave driver
224 * sdw_unregister_driver() - unregisters the SoundWire Slave driver
248 MODULE_DESCRIPTION("SoundWire bus");
Dintel_init.c17 #include <linux/soundwire/sdw_intel.h>
133 * sdw_intel_enable_irq() - enable/disable Intel SoundWire IRQ
336 * power rails to the SoundWire IP are not in sdw_intel_startup_controller()
347 * sdw_intel_probe() - SoundWire Intel probe routine
351 * and SoundWire Master and Slave devices will be created by the auxiliary
364 * sdw_intel_startup() - SoundWire Intel startup
365 * @ctx: SoundWire context allocated in the probe
367 * Startup Intel SoundWire controller. This function will be called after
376 * sdw_intel_exit() - SoundWire Intel exit
377 * @ctx: SoundWire context allocated in the probe
[all …]
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>
21 * Array of supported rows and columns as per MIPI SoundWire Specification 1.1
964 dev_err(dev, "SoundWire: Invalid port number :%d\n", num); in sdw_slave_port_is_valid_range()
1220 * @stream: SoundWire stream
1296 * @stream: SoundWire stream
1300 * NOTE: This function is called from SoundWire stream ops and is
1319 * @stream: SoundWire stream
[all …]
/Linux-v6.1/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-v6.1/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()
136 * device can be found, but only one of them is the SoundWire in sdw_intel_acpi_cb()
139 * SoundWire link so filter accordingly in sdw_intel_acpi_cb()
144 /* found the correct SoundWire controller */ in sdw_intel_acpi_cb()
152 * sdw_intel_acpi_scan() - SoundWire Intel init routine
185 MODULE_DESCRIPTION("Intel Soundwire ACPI helpers");
/Linux-v6.1/sound/soc/qcom/
DKconfig153 depends on QCOM_APR && I2C && SOUNDWIRE
167 depends on QCOM_APR && SOUNDWIRE
178 depends on QCOM_APR && SOUNDWIRE
190 depends on SOUNDWIRE || SOUNDWIRE=n
204 depends on I2C && SOUNDWIRE
/Linux-v6.1/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.
44 description: A reference to Soundwire tx device phandle
48 description: A reference to Soundwire rx device phandle
131 soundwire@3210000 {
142 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 {
Dqcom,wsa883x.yaml15 Their primary operating mode uses a SoundWire digital audio
16 interface. This binding is for SoundWire interface.
50 soundwire-controller@3250000 {
/Linux-v6.1/sound/soc/codecs/
DKconfig1066 depends on SOUNDWIRE
1070 Enable support for Maxim Integrated MAX98373 Soundwire
1071 amplifier. MAX98373 supports either the MIPI SoundWire
1075 connected via soundwire.
1306 depends on I2C && SOUNDWIRE
1311 depends on SOUNDWIRE
1390 depends on SOUNDWIRE
1403 depends on SOUNDWIRE
1412 depends on SOUNDWIRE
1418 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-v6.1/include/linux/soundwire/
Dsdw_intel.h8 #include <linux/soundwire/sdw.h>
141 * struct sdw_intel_acpi_info - Soundwire Intel information found in ACPI tables
201 * @mmio_base: mmio base of SoundWire registers, only used to check
203 * @link_mask: bit-wise mask listing SoundWire links reported by the
233 * struct sdw_intel_res - Soundwire Intel global resource structure,
237 * @mmio_base: mmio base of SoundWire registers
266 * On Intel platforms, the SoundWire IP has dependencies on power
275 * 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
661 * protocol for SoundWire mockup devices
[all …]
/Linux-v6.1/sound/soc/sof/intel/
DKconfig329 tristate "SOF support for SoundWire"
332 depends on ACPI && SOUNDWIRE
333 depends on !(SOUNDWIRE=m && SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE=y)
335 This adds support for SoundWire with Sound Open Firmware
337 Say Y if you want to enable SoundWire links with SOF.
/Linux-v6.1/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");

12345