From: Mark Brown Date: Thu, 6 Feb 2025 20:45:03 +0000 (+0000) Subject: Add static channel mapping between soundwire master X-Git-Tag: v6.15-rc1~173^2~4^2~131 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=46ab7d80ed4f378e02cb249bd49a76026a2d683f;p=thirdparty%2Fkernel%2Flinux.git Add static channel mapping between soundwire master Merge series from Mohammad Rafi Shaik : Add static channel map support between soundwire master and slave. Currently, the channel value for each soundwire port is hardcoded in the wcd937x-sdw driver and the same channel value is configured in the soundwire master. The Qualcomm board like the QCM6490-IDP require static channel map settings for the soundwire master and slave ports. If another boards which are using enable wcd937x, the channel mapping index values between master and slave may be different depending on the board hw design and requirements. If the above properties are not used in a SoC specific device tree, the channel mapping index values are set to default. With the introduction of the following channel mapping properties, it is now possible to configure the master channel mapping directly from the device tree. Added qcom_swrm_set_channel_map api to set the master channel values which allows more flexible to configure channel values in runtime for specific active soundwire ports. Add get and set channel maps support from codec to cpu dais in common Qualcomm sdw driver. --- 46ab7d80ed4f378e02cb249bd49a76026a2d683f