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>
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>
Call pm runtime functions from wakeup interrupt
only if soundwire master is not in SSR and if dev up is
true.
Change-Id: Ic394be964437bdc009f1b4c5dd6e46673875b0df
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
The sound core driver used old pm_qos APIs which does not have CPU afinity mask.
As a result, ULL playback runs on all cpu cores.
This change uses new API call with affinity to core-1/2.
Change-Id: If59b6f32a421038c0f89611d160e4031e03a10ce
Signed-off-by: George Gao <georgao@codeaurora.org>
Allow regcache sync during clock enable to make sure the registers
are in proper state before the usecase.
Change-Id: I8a9214e460c7f77759d1956e0e7e2d6b2f5b3d3a
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Add support to query module parameters from ADSP.
Change-Id: Ie63dd95cf27277f9c836becc98952d48971a3ec3
Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
WCD937x codec requires clear registers to be written '1' and
'0' for clearing interrupts. Enable clear_ack flag in regmap
irq chip structure for wcd937x.
Change-Id: I0a2e4fc85fe6dca75885b5300840669afeabc80c
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
Add SWR MIC registers BOLERO_CDC_TX_TOP_CSR_SWR_MIC0_CTL
and BOLERO_CDC_TX_TOP_CSR_SWR_MIC1_CTL as volatile to
resolve SWR TX1 port mute issue.
Change-Id: I66e0d8e63ebabaca6f4aa562f18d7b58592a1d74
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Add more FE-DAI to support concurrent audio for
lxc host and containers.
Change-Id: I8988a9e15675b23a99621db12ee9a4b500c4a12b
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
When headset is inserted and reboot device sometimes
headset is not detected after reboot as host_irq from
swr slave gets masked. This is because of cmd error seen
after clearing all irq which results in fifo flush.
Read swrslave irq before clearing so as to resolve cmd error.
Also enable host irq after clearing enum interrupt at master.
This ensures irq is properly enabled.
Change-Id: Id66029c65c4d813391bfeb8c0c619560f298eeab
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Add missed frontend for QUIN_TDM_RX_1 and MultiMedia30
to reduce error log during bootup.
Change-Id: Ibe675df1b719dda3fd940cf0fd392018f9a99e63
Signed-off-by: Meng Wang <mengw@codeaurora.org>