/Linux-v5.10/Documentation/ABI/testing/ |
D | sysfs-bus-soundwire-slave | 1 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 …]
|
D | sysfs-bus-soundwire-master | 1 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.10/Documentation/devicetree/bindings/soundwire/ |
D | qcom,sdw.txt | 1 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 …]
|
D | soundwire-controller.yaml | 4 $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.10/drivers/soundwire/ |
D | Kconfig | 3 # 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" 30 SoundWire Intel Master driver. [all …]
|
D | Makefile | 3 # 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 24 obj-$(CONFIG_SOUNDWIRE_INTEL) += soundwire-intel.o [all …]
|
D | intel_init.c | 17 #include <linux/soundwire/sdw_intel.h> 101 * hardware, but in that step we cannot assume SoundWire IP is in sdw_intel_scan_controller() 125 dev_warn(&adev->dev, "No SoundWire links detected\n"); in sdw_intel_scan_controller() 157 * sdw_intel_enable_irq() - enable/disable Intel SoundWire IRQ 350 * power rails to the SoundWire IP are not in sdw_intel_startup_controller() 381 * device can be found, but only one of them is the SoundWire in sdw_intel_acpi_cb() 384 * SoundWire link so filter accordingly in sdw_intel_acpi_cb() 394 * sdw_intel_acpi_scan() - SoundWire Intel init routine 420 * sdw_intel_probe() - SoundWire Intel probe routine 424 * and SoundWire Master and Slave devices will be created by the platform [all …]
|
D | bus_type.c | 7 #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", 169 * __sdw_register_driver() - register a SoundWire Slave driver 199 * sdw_unregister_driver() - unregisters the SoundWire Slave driver 223 MODULE_DESCRIPTION("SoundWire bus");
|
D | stream.c | 5 * 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 869 * @stream: SoundWire stream runtime 882 * @stream_name: SoundWire stream name 884 * Allocates a SoundWire stream runtime instance. 1082 * @stream: SoundWire stream 1116 * @stream: SoundWire stream 1138 * @stream: SoundWire stream [all …]
|
D | qcom.c | 16 #include <linux/soundwire/sdw.h> 17 #include <linux/soundwire/sdw_registers.h> 322 /* Mask soundwire interrupts */ in qcom_swrm_init() 684 .name = "soundwire", 871 "soundwire", ctrl); 873 dev_err(dev, "Failed to request soundwire irq\n"); 879 dev_err(dev, "Failed to register Soundwire controller (%d)\n", 889 dev_info(dev, "Qualcomm Soundwire controller v%x.%x.%x Registered\n", 914 { .compatible = "qcom,soundwire-v1.3.0", .data = &swrm_v1_3_data }, 915 { .compatible = "qcom,soundwire-v1.5.1", .data = &swrm_v1_5_data }, [all …]
|
D | intel.h | 8 * struct sdw_intel_link_res - Soundwire Intel link resource structure, 11 * @mmio_base: mmio base of SoundWire registers
|
D | debugfs.c | 8 #include <linux/soundwire/sdw.h> 9 #include <linux/soundwire/sdw_registers.h> 145 sdw_debugfs_root = debugfs_create_dir("soundwire", NULL); in sdw_debugfs_init()
|
/Linux-v5.10/Documentation/driver-api/soundwire/ |
D | summary.rst | 2 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 …]
|
D | error_handling.rst | 2 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
|
D | locking.rst | 2 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.
|
D | stream.rst | 2 Audio Stream in SoundWire 19 Assume a stream with two channels (Left & Right) is opened using SoundWire 20 interface. Below are some ways a stream can be represented in SoundWire. 204 handled by a SoundWire subsystem API, but instead by the 211 same bitSlots in the SoundWire frame, however multiple Source ports 215 SoundWire Stream Management flow 228 SoundWire Bus manages stream operations for each stream getting 229 rendered/captured on the SoundWire Bus. This section explains Bus operations 234 SoundWire stream states 237 Below shows the SoundWire stream states and state transition diagram. :: [all …]
|
/Linux-v5.10/include/linux/soundwire/ |
D | sdw_intel.h | 8 #include <linux/soundwire/sdw.h> 46 * struct sdw_intel_acpi_info - Soundwire Intel information found in ACPI tables 106 * @mmio_base: mmio base of SoundWire registers, only used to check 108 * @link_mask: bit-wise mask listing SoundWire links reported by the 134 * struct sdw_intel_res - Soundwire Intel global resource structure, 138 * @mmio_base: mmio base of SoundWire registers 163 * On Intel platforms, the SoundWire IP has dependencies on power 172 * SoundWire).
|
D | sdw_type.h | 27 * 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
|
D | sdw.h | 32 * Note: The maximum row define in SoundWire spec 1.1 is 23. In order to 334 * struct sdw_slave_prop - SoundWire Slave properties 404 * @mclk_freq: clock reference passed to SoundWire Master, in Hz. 437 * @class_id: MIPI Class ID (defined starting with SoundWire 1.2 spec) 464 * The MIPI DisCo for SoundWire defines in addition the link_id as bits 51:48 491 * sdw_reg_bank - SoundWire register banks 492 * @SDW_BANK0: Soundwire register bank 0 493 * @SDW_BANK1: Soundwire register bank 1 603 * struct sdw_slave - SoundWire Slave 617 * on startup between driver probe/initialization and SoundWire [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/sound/ |
D | qcom,wsa881x.yaml | 15 Their primary operating mode uses a SoundWire digital audio 16 interface. This binding is for SoundWire interface. 46 soundwire@c2d0000 {
|
/Linux-v5.10/drivers/base/regmap/ |
D | regmap-sdw.c | 6 #include <linux/soundwire/sdw.h> 40 /* All register are 8-bits wide as per MIPI Soundwire 1.0 Spec */ in regmap_sdw_config_check() 86 MODULE_DESCRIPTION("Regmap SoundWire Module");
|
/Linux-v5.10/sound/soc/codecs/ |
D | max98373-sdw.c | 16 #include <linux/soundwire/sdw.h> 17 #include <linux/soundwire/sdw_type.h> 18 #include <linux/soundwire/sdw_registers.h> 180 /* SoundWire Control Port Registers */ in max98373_readable_register() 182 /* Soundwire Data Port 1 Registers */ in max98373_readable_register() 184 /* Soundwire Data Port 3 Registers */ in max98373_readable_register() 218 /* SoundWire Control Port Registers */ in max98373_volatile_reg() 220 /* Soundwire Data Port 1 Registers */ in max98373_volatile_reg() 222 /* Soundwire Data Port 3 Registers */ in max98373_volatile_reg() 378 /* Set soundwire mode */ in max98373_io_init() [all …]
|
D | Kconfig | 891 depends on SOUNDWIRE 895 Enable support for Maxim Integrated MAX98373 Soundwire 896 amplifier. MAX98373 supports either the MIPI SoundWire 900 connected via soundwire. 1109 depends on I2C && SOUNDWIRE 1188 depends on SOUNDWIRE 1197 depends on SOUNDWIRE 1206 depends on SOUNDWIRE 1215 depends on SOUNDWIRE 1691 depends on SOUNDWIRE
|
/Linux-v5.10/sound/soc/sof/intel/ |
D | hda.c | 23 #include <linux/soundwire/sdw.h> 24 #include <linux/soundwire/sdw_intel.h> 45 * The default for SoundWire clock stop quirks is to power gate the IP 52 MODULE_PARM_DESC(sdw_clock_stop_quirks, "SOF SoundWire clock stop quirks"); 175 dev_err(sdev->dev, "error: SoundWire probe failed\n"); in hda_sdw_probe() 630 /* scan SoundWire capabilities exposed by DSDT */ in hda_init_caps() 633 dev_dbg(sdev->dev, "skipping SoundWire, not detected with ACPI scan\n"); in hda_init_caps() 639 dev_dbg(sdev->dev, "skipping SoundWire, no links enabled\n"); in hda_init_caps() 644 * probe/allocate SoundWire resources. in hda_init_caps() 647 * It's entirely possible to have a mix of I2S/DMIC/SoundWire in hda_init_caps() [all …]
|
D | Kconfig | 339 bool "SOF support for SoundWire" 340 depends on SOUNDWIRE && ACPI 342 This adds support for SoundWire with Sound Open Firmware 344 Say Y if you want to enable SoundWire links with SOF.
|