When same swr dmic is first enabled as HIFI, secondly as LP
and closed HIFI, it would disable LP port by mistake. Update
the logic to select correct port for swr-dmic.
Change-Id: I5d4d1461d8cd7db7bc7f37fc91ee1c9324413980
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Add soundwire port parameters for receiver mic
using 4.8MHZ bus clock.
Change-Id: I207f07c99a79e1061dd5902cbba07cae6ca597f3
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Update frame shape configuration to support multi soundwire devices
attaching to a single controller.
Change-Id: I7c59b1b09aa0c2417f888b382f8de943f7b62bbd
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Update the soundwire clock rate based on the number of TX paths enable
to avoid noise issue.
Change-Id: I8c73bfd73751d4b79de30f3347081929501a877e
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Add support to parse static cps configuration from dt.
Add support to send cps configuration for speaker protection
usecases.
Change-Id: I0166a378f24cedef07393bdbb8618df944c62984
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Register for the widgets and interconnections in routing
driver only when the respective interfaces are supported.
Add config based approach for TDM, AUXPCM and MI2S interfaces.
Change-Id: I2b76e295d7cafde6062a3e0afbe7f25721fa9cca
Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
This change ensure all concurrent low latency/ultra low latency use cases run on core 1 and 2.
Change-Id: I83456a992d1de748854308f3efc7555b3ca9aaad
Signed-off-by: George Gao <georgao@codeaurora.org>
Update SWR clock rate based on active ADC modes
for concurrency during powerup and teardown.
Change-Id: I610aa205a857a5fac2163a248de4800f3c8042f7
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Impedance values are not correct sometimes due to ramp
being controlled by hw. Run detection routine for sometime
and take final value as impedance value to resolve issue.
Change-Id: I3a34813657751aa304e150cfa294a42f556d06c4
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
AUDIO_RX_MONO_VOIP module in COPreP topology doesn't support
stereo input. Update channel number to mono for
AUDIO_RX_MONO_VOIP_COPP_TOPOLOGY.
Change-Id: I23632808cfcf82496f0e8f9618e28915974fc584
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
Current design assumes mono device uses left speaker.
Modify the logic to remove the limitation.
Change-Id: I6a7cd2b14ed5a4c10106593fe707a449d05efe48
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
Add a function in wsa883x which returns the sound wire
device number for a given wsa883x codec slave instance.
Change-Id: Ie3d0e309870f488b1643a853bcddcf93314d94b5
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Add more DAI-LINK to support concurrent audio for
lxc host and containers.
Change-Id: I4acf44e19cafb081653e9f93e0fc184700b05831
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
Fix for reading wsa881x name prefix from dtsi
and update in proper structure.
Change-Id: If80e9c26192e7918204c36849ca5cc19875e7084
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
Update the wsa881x analog codec entry in dailink header for holi.
Change-Id: I58ca525b528fe949921ed9e21af3a61779c67d65
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
Add wcd_disabled check in late_probe to avoid checking
wcd component when WCD is disabled.
Change-Id: I9fe4fa993b94b09d7ffef0f59505b102165b87ac
Signed-off-by: Meng Wang <mengw@codeaurora.org>