Home
last modified time | relevance | path

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

1234567

/openbmc/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 …]
/openbmc/linux/drivers/soundwire/
H A 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"
22 tristate "AMD SoundWire Manager driver"
26 SoundWire AMD Manager driver.
[all …]
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_manager.o
24 obj-$(CONFIG_SOUNDWIRE_AMD) += soundwire-amd.o
27 soundwire-cadence-y := cadence_master.o
[all …]
H A Dbus_type.c7 #include <linux/soundwire/sdw.h>
8 #include <linux/soundwire/sdw_type.h>
14 * sdw_get_device_id - find the matching SoundWire device id
15 * @slave: SoundWire Slave Device
16 * @drv: SoundWire Slave Driver
76 .name = "soundwire",
199 * __sdw_register_driver() - register a SoundWire Slave driver
230 * sdw_unregister_driver() - unregisters the SoundWire Slave driver
254 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)");
237 /* single controller for all SoundWire links */ in intel_link_probe()
265 "SoundWire master %d is disabled, will be ignored\n", in intel_link_probe()
289 "SoundWire master %d is disabled, ignoring\n", in intel_link_startup()
417 dev_dbg(dev, "SoundWire master %d is disabled or not-started, ignoring\n", in intel_link_process_wakeen_event()
[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>
21 * Array of supported rows and columns as per MIPI SoundWire Specification 1.1
965 dev_err(dev, "SoundWire: Invalid port number :%d\n", num); in sdw_slave_port_is_valid_range()
1235 * @stream: SoundWire stream
1311 * @stream: SoundWire stream
1315 * NOTE: This function is called from SoundWire stream ops and is
1334 * @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
390 MODULE_DESCRIPTION("Intel Soundwire Init Library");
/openbmc/linux/Documentation/devicetree/bindings/soundwire/
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 …]
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.
19 - qcom,soundwire-v1.3.0
20 - qcom,soundwire-v1.5.0
21 - qcom,soundwire-v1.5.1
22 - qcom,soundwire-v1.6.0
23 - qcom,soundwire-v1.7.0
24 - qcom,soundwire-v2.0.0
32 - description: specify the SoundWire controller core.
[all …]
/openbmc/linux/Documentation/driver-api/soundwire/
H A 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 …]
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.
/openbmc/linux/include/linux/soundwire/
H A Dsdw_amd.h9 #include <linux/soundwire/sdw.h>
44 * @name: SoundWire stream name
60 * @mmio: SoundWire registers mmio base
63 * @amd_sdw_irq_thread: SoundWire manager irq workqueue
65 * @probe_work: SoundWire manager probe workqueue
72 * @instance: SoundWire manager instance
73 * @quirks: SoundWire manager quirks
74 * @wake_en_mask: wake enable mask per SoundWire manager
76 * @power_mode_mask: flag interprets amd SoundWire manager power mode
H A Dsdw.h36 * Note: The maximum row define in SoundWire spec 1.1 is 23. In order to
344 * struct sdw_slave_prop - SoundWire Slave properties
373 * registers introduced with the SoundWire 1.2 specification. SDCA devices
420 * @mclk_freq: clock reference passed to SoundWire Master, in Hz.
475 * @class_id: MIPI Class ID (defined starting with SoundWire 1.2 spec)
507 * The MIPI DisCo for SoundWire defines in addition the link_id as bits 51:48
536 * sdw_reg_bank - SoundWire register banks
537 * @SDW_BANK0: Soundwire register bank 0
538 * @SDW_BANK1: Soundwire register bank 1
650 * struct sdw_slave - SoundWire Slave
[all …]
/openbmc/linux/sound/soc/codecs/
H A DKconfig777 depends on SOUNDWIRE || !SOUNDWIRE
787 depends on SOUNDWIRE || !SOUNDWIRE
796 depends on SOUNDWIRE
801 Enable support for Cirrus Logic CS35L56 boosted amplifier with SoundWire control
814 tristate "Cirrus Logic CS42L42 CODEC on Soundwire"
815 depends on SOUNDWIRE
818 Enable support for Cirrus Logic CS42L42 codec with Soundwire control
828 tristate "Cirrus Logic CS42L43 CODEC (SoundWire)"
832 CS42L43 PC CODEC over SoundWire.
1193 tristate "Analog Devices MAX98363 Soundwire Speaker Amplifier"
[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>
23 /* Register addresses are offset when sent over SoundWire */
149 * Registers are big-endian on I2C and SPI but little-endian on SoundWire.
151 * SoundWire. Firmware files are always big-endian and are opaque blobs.
184 /* Enable SoundWire interrupts */ in cs35l56_sdw_init()
199 /* SoundWire core holds our pm_runtime when calling this function. */ in cs35l56_sdw_interrupt()
214 * is required as per the SoundWire spec for interrupt status bits in cs35l56_sdw_interrupt()
[all …]
/openbmc/linux/sound/soc/amd/ps/
H A Dacp63.h63 * SW0 SoundWire manager instance configuration
68 * ACP63_SDW0_SDW1_MODE_DEVS corresponds to platform devices count for SW0 + SW1 SoundWire manager
81 * SW0 + SW1 SoundWire manager instances + ACP PDM controller configuration
98 * ACP63_SDW_PDM_DEV_CONFIG corresponds to platform device configuration for ACP PDM + SoundWire
258 * @sdw_fw_node: SoundWire controller fw node handle
262 * @sdw_manager_count: SoundWire manager instance count
263 * @sdw0_dev_index: SoundWire Manager-0 platform device index
264 * @sdw1_dev_index: SoundWire Manager-1 platform device index
265 * @sdw_dma_dev_index: SoundWire DMA controller platform device index
266 * @sdw0-dma_intr_stat: DMA interrupt status array for SoundWire manager-SW0 instance
[all …]
/openbmc/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
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dadi,max98363.yaml7 title: Analog Devices MAX98363 SoundWire Amplifier
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
42 soundwire-controller@3250000 {
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 {
H A Dqcom,wcd938x.yaml14 It has RX and TX Soundwire slave devices.
47 description: A reference to Soundwire tx device phandle
51 description: A reference to Soundwire rx device phandle
134 soundwire@3210000 {
145 soundwire@3230000 {
/openbmc/linux/sound/hda/
H A Dintel-sdw-acpi.c16 #include <linux/soundwire/sdw_intel.h>
69 * hardware, but in that step we cannot assume SoundWire IP is in sdw_intel_scan_controller()
93 dev_warn(&adev->dev, "No SoundWire links detected\n"); in sdw_intel_scan_controller()
138 * device can be found, but only one of them is the SoundWire in sdw_intel_acpi_cb()
141 * SoundWire link so filter accordingly in sdw_intel_acpi_cb()
146 /* found the correct SoundWire controller */ in sdw_intel_acpi_cb()
154 * sdw_intel_acpi_scan() - SoundWire Intel init routine
187 MODULE_DESCRIPTION("Intel Soundwire ACPI helpers");
/openbmc/linux/sound/soc/qcom/
H A DKconfig156 depends on QCOM_APR && I2C && SOUNDWIRE
170 depends on QCOM_APR && SOUNDWIRE
182 depends on QCOM_APR && SOUNDWIRE
195 depends on SOUNDWIRE || SOUNDWIRE=n
209 depends on I2C && SOUNDWIRE
/openbmc/linux/drivers/mfd/
H A Dcs42l43-sdw.c3 * CS42L43 SoundWire driver
14 #include <linux/soundwire/sdw.h>
15 #include <linux/soundwire/sdw_registers.h>
16 #include <linux/soundwire/sdw_type.h>
124 * just clearing up the additional Cirrus SoundWire registers that are in cs42l43_sdw_interrupt()
125 * not covered by the SoundWire framework or the IRQ handler itself. in cs42l43_sdw_interrupt()
147 "PLL active can't change SoundWire bus clock\n"); in cs42l43_sdw_bus_config()
219 MODULE_DESCRIPTION("CS42L43 SoundWire Driver");

1234567