diff options
author | Mohammad Rafi Shaik <quic_mohs@quicinc.com> | 2025-02-06 16:52:23 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-02-06 11:49:21 +0000 |
commit | c06c4f7cbea1d8dc71485bfddef2849a1b721e67 (patch) | |
tree | 28646bc7d8572a2e637420ca1b05d765e0775193 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 72826381215e2f9d2bd2f32f63f76a80942b7fdf (diff) |
ASoC: codecs: wcd937x: Add static channel mapping support in wcd937x-sdw
Add static channel mapping between master and slave ports in wcd937x-sdw
driver.
Currently, the channel mask for each soundwire port is hardcoded in the
wcd937x-sdw driver, and the same channel mask value is configured in the
soundwire master.
The Qualcomm boards like the QCM6490-IDP require different channel mask
settings for the soundwire master and slave ports.
Implemented logic to read TX/RX channel mappings from device tree
properties (qcom,tx-channel-mapping and qcom,rx-channel-mapping).
Modified the wcd937x_connect_port to handle master channel masks during
port enable/disable operations.
Added wcd937x_get_channel_map api to retrieve the current master
channel map for TX and RX paths.
Signed-off-by: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
Link: https://patch.msgid.link/20250206112225.3270400-3-quic_mohs@quicinc.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions