linux/drivers/soundwire
Mohammad Rafi Shaik 7796c97df6
soundwire: qcom: Add set_channel_map api support
Added qcom_swrm_set_channel_map api to set the master channel mask for
TX and RX paths based on the provided slots.

Added a new field ch_mask to the qcom_swrm_port_config structure.
This field is used to store the master channel mask, which allows more
flexible to configure channel mask in runtime for specific active
soundwire ports.

Modified the qcom_swrm_port_enable function to configure master
channel mask. If the ch_mask is set to SWR_INVALID_PARAM or is zero,
the function will use the default channel mask.

Signed-off-by: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
Acked-by: Vinod Koul <vkoul@kernel.org>
Link: https://patch.msgid.link/20250206112225.3270400-4-quic_mohs@quicinc.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-02-06 11:49:22 +00:00
..
amd_init.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
amd_init.h soundwire: amd: use inline function for register update 2024-03-28 23:39:50 +05:30
amd_manager.c soundwire updates for 6.14 2025-01-29 14:38:19 -08:00
amd_manager.h soundwire: amd: refactor existing code for acp 6.3 platform 2024-10-03 12:44:41 +05:30
bus.c Soundwire: stream: program BUSCLOCK_SCALE 2024-12-23 12:00:33 +05:30
bus.h soundwire: generic_bandwidth_allocation: add lane in sdw_group_params 2024-12-23 12:00:34 +05:30
bus_type.c soundwire: bus: Move irq mapping cleanup into devres 2024-12-23 11:41:09 +05:30
cadence_master.c soundwire: cadence: clear MCP BLOCK_WAKEUP in init 2024-10-10 17:44:41 +05:30
cadence_master.h soundwire: cadence: add soft-reset on startup 2024-10-10 17:44:41 +05:30
debugfs.c soundwire: debugfs: simplify with cleanup.h 2024-07-09 19:12:49 +05:30
dmi-quirks.c ASoC: Intel: common: DMI remap for rebranded Intel NUC M15 (LAPRC710) laptops 2024-02-08 21:23:19 +00:00
generic_bandwidth_allocation.c soundwire: generic_bandwidth_allocation: count the bandwidth of active streams only 2024-12-23 12:00:34 +05:30
intel.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
intel.h soundwire updates for 6.12 2024-09-23 14:00:46 -07:00
intel_ace2x.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
intel_ace2x_debugfs.c soundwire: Intel: clarify Copyright information 2024-06-21 15:26:02 +05:30
intel_auxdevice.c soundwire: intel_auxdevice: add kernel parameter for mclk divider 2024-10-10 17:43:55 +05:30
intel_auxdevice.h soundwire: intel: export intel_resume_child_device 2024-04-11 22:52:51 +05:30
intel_bus_common.c soundwire: cadence: add soft-reset on startup 2024-10-10 17:44:41 +05:30
intel_init.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
irq.c soundwire: bus: Move irq mapping cleanup into devres 2024-12-23 11:41:09 +05:30
irq.h soundwire: bus: Move irq mapping cleanup into devres 2024-12-23 11:41:09 +05:30
Kconfig soundwire: slave: lookup SDCA version and functions 2024-10-17 18:42:12 +01:00
Makefile soundwire: amd: refactor amd soundwire manager device node creation 2024-01-30 16:06:34 +00:00
master.c soundwire: constify the struct device_type usage 2024-03-03 19:28:06 +05:30
mipi_disco.c soundwire: mipi_disco: read lane mapping properties from ACPI 2024-12-23 12:00:33 +05:30
qcom.c soundwire: qcom: Add set_channel_map api support 2025-02-06 11:49:22 +00:00
slave.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
stream.c SoundWire: pass stream to compute_params() 2024-12-23 12:00:34 +05:30
sysfs_local.h soundwire: sysfs: remove sdw_slave_sysfs_init() 2024-03-28 23:38:47 +05:30
sysfs_slave.c soundwire: Correct some typos in comments 2024-10-03 12:46:23 +05:30
sysfs_slave_dpn.c soundwire: sysfs: remove sdw_slave_sysfs_init() 2024-03-28 23:38:47 +05:30