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>
Update machine driver to include support for dsd input.
Change-Id: I37aa46484aa617f3ea543391b0edec4f5193d5bf
Signed-off-by: Sanjana B <sanjb@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>
Add mixer control and callback for selecting external mclk at start of
next playback for a particular BE.
Change-Id: Ifc25eda2f14da564c6b066eb8f76049697bbd44e
Signed-off-by: Nirav Khatri <khatri@codeaurora.org>
Add support for external mclk configuration based on input sample clock.
Change-Id: I90b40636e6c3877c5ab9d2c2a60c4d61a83b149e
Signed-off-by: Nirav Khatri <khatri@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>
Update log type to reduce error log during bootup.
Change-Id: I9e95ea8d121f7dbf15d5c02268d7f8dc67d840e0
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Add missed name for codec dma dais to reduce warning
log during bootup.
Change-Id: Ie95100a359fa992d323e68b98e3f76b202846337
Signed-off-by: Meng Wang <mengw@codeaurora.org>
On some lahaina devices, wcd codec is disabled and it would cause
issue when trying to use wcd widgets. Add flag to indicate if wcd
is disabled
Change-Id: Id19d0bd83728b10b457767f7d43cba8dac916772
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Fucntion msm_qti_pp_send_chmix_cfg_cmd() uses the param_hdr_v3
as the APR header structure for PSPD MtMx set params command.
This structure is the incorrect one which causes ADSP to parse
the PSDP set params payload wrongly and results failure for
non-LPI headset SVA. Use param_hdr_v1 instead to match the
one that ADSP uses to parse the PSPD set params payload.
Change-Id: Icc1d0b50193ab28e33007ca474eeebcb61e4d634
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
Update register sequence of WSA883x codec to reduce CnP
during bringup and teardown of speaker path.
Change-Id: I348a55e1324b5c26a36b8d7c78edf52a66e40381
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>