커밋 그래프

2646 커밋

작성자 SHA1 메시지 날짜
Sudheer Papothi
04d31da985 ASoC: bolero: Use TX MCLK for non-island mode usecase
Use TX MCLK for non-island mode usecase.

Change-Id: Iff8f8efd3e83b09e5323abe19aabddb8c4de1964
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-03-30 05:24:58 -07:00
qctecmdr
b8e5bd2fc8 Merge "ASoC: msm: update QUAT/QUIN TDM slot mappings for A2B" 2020-03-30 01:20:37 -07:00
qctecmdr
d658726339 Merge "ASoC: codecs: Add swr dmic as multi codec" 2020-03-30 00:52:48 -07:00
qctecmdr
df0bbed4ca Merge "asoc: codec: Add initial driver for swr-haptics" 2020-03-28 01:33:26 -07:00
qctecmdr
ed55a74ea8 Merge "ASoC: Add mixer control for DTMF module enabling" 2020-03-28 00:53:37 -07:00
qctecmdr
fd7bbcb569 Merge "ASoC: msm: Add QUIN TDM TX interface to echo reference" 2020-03-28 00:53:37 -07:00
Derek Chen
7fcb671a3d ASoC: msm: update QUAT/QUIN TDM slot mappings for A2B
Update QUAT and QUIN TDM slot mappings for extended
usecases over A2B codec.

  QUAT TDM RX 0 -> DAC1 (8 CH)
  QUAT TDM RX 1 -> DAC2 (8 CH)
  QUAT TDM TX 0 -> ADC1 and ADC2 (16 CH)

  QUIN TDM RX 0 -> DAC1 and DAC2 (16 CH)
  QUIN TDM TX 0 -> ADC1 and ADC2 (16 CH)

Change-Id: I0d13ab3d44a05716a043189e6eb6c809dfff6d9d
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2020-03-26 22:50:49 -07:00
Vignesh Kulothungan
4fd97a1e75 ASoC: codecs: Add swr dmic as multi codec
Add codec backend dai for soundwire dmic's.
Add swr dmic as multi codec

CRs-Fixed: 2600577
Change-Id: I6d6f812d702c1422752e2841bfcad6495e388aad
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-03-26 22:39:19 -07:00
Vignesh Kulothungan
9e2e4fd511 ASoC: lahaina: add multi codec support for wcd and wsa
Add wcd and wsa dai's as additional codec dai's to existing dai links
which uses wcd and wsa respectively.
WCD938x and WSA883x will now be initialized via init ops from one of
these dai links.
WCD and WSA are now initialized as codecs instead of aux devices.

Change-Id: I1da4a6fba764cba82e51db91ad517750db9e647f
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-03-26 21:34:24 -07:00
Sudheer Papothi
0e19126c1f ASoC: bolero: Add concurrency support on audio capture path
During voice activation and audio capture concurrency usecase,
there is no common reference count for DMIC clock enablement,
results into mute when one usecase tears down. Change enables
a common reference count in bolero codec driver between voice
activation usecase and audio capture usecase to avoid mute
during VA and audio capture concurrency.

Change-Id: I424c941178d7e9ff91288a50ba27605b2b9d3abe
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Akhil Karuturi <akarutur@codeaurora.org>
2020-03-26 18:45:23 -07:00
Sudheer Papothi
342e86e169 ASoC: lahaina: Update soundwire frame shape for audio capture
Update the sample interval of soundwire frame shape to avoid noise
during headset audio capture usecase.

Change-Id: I8289044bde0d629dc706d57faee64b18239849ce
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-03-27 01:20:50 +05:30
qctecmdr
68c0eb8da2 Merge "ASoC: wcd938x: Add support for ADC modes" 2020-03-26 07:59:56 -07:00
Derek Chen
b0f16ac9da ASoC: Add mixer control for DTMF module enabling
Mixer controls are added to enable and disable
DTMF ADSP modules.

Change-Id: Ic04c4696b31f77488cb2047829b823255872f7ac
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2020-03-25 22:58:07 -07:00
Vignesh Kulothungan
9ffe8f6f21 ASoC: codecs: wsa883x: add codec dai for each wsa883x
Add new codec dai for each wsa883x, since each WSA is
initialized as a codec and not as aux device.

Change-Id: I023c14faffcd1c1149531040ceae9ed1fe161385
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-03-25 17:18:53 -07:00
Vignesh Kulothungan
6cdec19289 ASoC: codecs: wcd938x: add codec dai for wcd938x
Add new codec dai for wcd938x, since WCD is
no longer initialized as an aux device but as a codec.

Change-Id: I1cb60ef3ef71692970011ef6c3b50cf9cd64b7ca
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-03-25 17:18:39 -07:00
qctecmdr
5a85f242a9 Merge "asoc: Add separate array for TDM BE dai links" 2020-03-25 09:38:23 -07:00
qctecmdr
3efc2c5808 Merge "dsp: Make error as debug log when CPU buffer not available" 2020-03-25 09:38:23 -07:00
qctecmdr
53e8920027 Merge "asoc: codecs: Add system sleep ops for macro drivers" 2020-03-25 09:38:23 -07:00
qctecmdr
282ca14b8a Merge "config: lito: Disable MI2S, TDM and AUXPCM interfaces" 2020-03-25 09:38:23 -07:00
qctecmdr
269096892f Merge "config: add wcd937x support for lagoon" 2020-03-25 09:38:23 -07:00
qctecmdr
ffdc1a1bd9 Merge "asoc: codecs: Avoid MBHC OverCurrentProtection." 2020-03-25 09:38:23 -07:00
qctecmdr
2d2ae53b05 Merge "soc: swr-mstr: Fix headset not detetcted issue on devnum 0 detached" 2020-03-25 09:38:23 -07:00
qctecmdr
c62bfc5f33 Merge "dsp: Correct the instance ID assignment in IIR sidetone" 2020-03-25 09:38:23 -07:00
qctecmdr
2e48e6f40a Merge "asoc: kona: call wsa set channel map for wsa883x" 2020-03-25 09:38:23 -07:00
qctecmdr
58563a41f2 Merge "dsp: codecs: Add synchronization between SSR and native encoder decoder" 2020-03-25 09:38:23 -07:00
qctecmdr
c4322eb5b7 Merge "asoc: bolero: Avoid reg access if audio hw vote fails" 2020-03-25 09:38:23 -07:00
qctecmdr
9164299ac9 Merge "asoc: wsa881x-analog: Update boost preset based on 8810/15" 2020-03-25 09:38:22 -07:00
qctecmdr
1487993fd0 Merge "asoc: codecs: Support for TX HPF cut off frequency snd ctrl" 2020-03-25 09:38:22 -07:00
qctecmdr
6b3d5a6111 Merge "asoc: kona: set wakeup to false when GPIOs are used as MI2S" 2020-03-25 09:38:22 -07:00
qctecmdr
f921bbe412 Merge "ASoC: use swr macro definitions for channel rate" 2020-03-25 09:38:22 -07:00
qctecmdr
7b0c66d071 Merge "ASoC: msm: unmap and free dma memory if smmu map failed" 2020-03-25 09:38:22 -07:00
qctecmdr
0ddcc23e3b Merge "ASoC: bolero: Update regmap to configure tx path" 2020-03-25 09:38:22 -07:00
qctecmdr
7aba75ecb9 Merge "dsp: use dma handle as default input in hab export" 2020-03-25 09:38:22 -07:00
qctecmdr
9fd5ec3cb5 Merge "ASoC: lahaina: Update soundwire configuration for audio capture" 2020-03-25 09:38:22 -07:00
qctecmdr
b56fbda271 Merge "ASoC: wsa883x: Fix size for register access" 2020-03-25 09:38:22 -07:00
qctecmdr
1969f3907e Merge "asoc: Add asm loopback MultiMedia24 and MultiMedia25" 2020-03-25 09:38:22 -07:00
Jia Jin
369503a9ff asoc: Add asm loopback MultiMedia24 and MultiMedia25
Add asm loopback channel to support dual hfp

Change-Id: I43265fd0da04a1481784e5ed3ed7b3a5bad9ac2c
Signed-off-by: Jia Jin <jinjia@codeaurora.org>
Signed-off-by: Han Lu <hanlu@codeaurora.org>
2020-03-24 18:05:56 -07:00
Derek Chen
68e68cfa27 ASoC: msm: Add QUIN TDM TX interface to echo reference
* Add QUIN_TDM_TX_0 text to echo reference mux text array
* Add QUIN_TDM_TX_0 intercon to AUDIO_REF_EC_UL1 MUX

Change-Id: Ic633e8709ecd1d90ee2bbf95202d28bad60118f1
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2020-03-24 17:30:25 -07:00
Sudheer Papothi
e45a49d0cb ASoC: wcd938x: Add support for ADC modes
Different ADC modes need different clock rate. Update clock rate
based on the ADC mode.

Change-Id: Idaeda95a15e99038927de115727ece897bba7c29
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-03-25 05:50:00 +05:30
Hui Li
037acea398 dsp: use dma handle as default input in hab export
currently in hab driver, it want to hold all bufs as dmabuf for fulture implement, 
and it's hard to get dmabuf fd/handle from a kva, so hab need to generate a new
dmabuf for itself, and this will intruduce audio crash issue
in conclusion, for now hab just accept dma fd/handl as input in KHAB export path.

Change-Id: I11715ba966036f7c02b67d0bdae97eb6d7118d5c
Signed-off-by: Hui Li <hul@codeaurora.org>
2020-03-24 17:08:05 -07:00
Sudheer Papothi
b9e111aab5 ASoC: bolero: Update regmap to configure tx path
Update regmap table with proper read write registers to
enable tx paths in a three mic usecase.

Change-Id: Iab53e3a92f02ddc282e621b8063f3c051fe658f6
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-03-24 09:30:34 -07:00
Laxminath Kasam
5f5eef75e1 asoc: kona: call wsa set channel map for wsa883x
Update speaker amp call for wsa883x.

Change-Id: I3ab9be48e169f15ef6fdda7ee61f34b35d333e05
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-03-24 00:55:21 -07:00
Shalini Manjunatha
2191529cac asoc: codecs: Support for TX HPF cut off frequency snd ctrl
Adding changes for Bolero codec snd controls structure
to support TX HPF cut off frequency setting

Change-Id: Ia601d7b4bc6d80ff584b5bf6df47663080b2aa6f
Signed-off-by: Shalini Manjunatha <shalma@codeaurora.org>
2020-03-24 00:46:41 -07:00
Laxminath Kasam
6ac07f666d asoc: bolero: Avoid reg access if audio hw vote fails
Check audio hw vote before register access.

Change-Id: I2753f6abd912910285f586bf95c71e3c99dfe60a
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-03-24 00:41:45 -07:00
Vatsal Bucha
7da41c372b soc: swr-mstr: Fix headset not detetcted issue on devnum 0 detached
Headset is not detected if devnum 0 gets detached at bootup.
This is because on detach being called hw will mask interrupt
at slave side but will not unmask it afterwards.
Also device 0 is used only for discovery purpose and
interrupt shouldnt be masked if it detaches.

Change-Id: I78d47243ef67ea5ee1fe3badaec94e596bc8faf3
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-03-24 00:39:07 -07:00
Ramlal Karra
6abe95fd0b asoc: codecs: Avoid MBHC OverCurrentProtection.
In the existing code, Over Current Protection interrupt is enabled
 as part of MBHC insertion event handling.
This is causing audio mute on Stereo Headset randomly.
This OCP through MBHC is no more required as the
 Over Current/surge is handled in HW.
Removing the OCP enabling code to fix the issue.

CRs-Fixed: 2622368

Change-Id: Iae8994aa365eb294793190f665407af111b23c82
Signed-off-by: Ramlal Karra <rkarra@codeaurora.org>
2020-03-24 00:36:46 -07:00
Meng Wang
3555cdd01f asoc: kona: set wakeup to false when GPIOs are used as MI2S
set wakeup to false when GPIOs are used as MI2S.

Change-Id: I6c620270f073bcbdf87d0121af4afaa1a8ede0dc
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-03-24 00:33:57 -07:00
Saurav Kumar
d8a0703a77 dsp: codecs: Add synchronization between SSR and native encoder decoder
Add change to use global lock to make synchronization
between SSR and native encoder decoder.

Change-Id: I6c1f48c32d4c8290de8bf3dfa86e022abe2b34bc
Signed-off-by: Saurav Kumar <sauravk@codeaurora.org>
2020-03-24 00:29:26 -07:00
Laxminath Kasam
4e53fb69af asoc: wsa881x-analog: Update boost preset based on 8810/15
Update boost level setting of value 5.5v and 6v
for 8815 and 8810 variants.

Change-Id: I6e71c58bddb4958f1eda4ab4d4630bcb6073dcdb
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-03-24 00:28:22 -07:00
Aditya Bavanari
e2f52ea5c0 asoc: codecs: Add system sleep ops for macro drivers
Add system sleep ops and invoke force runtime suspend for all
the macro drivers in bolero in order to synchronize
system suspend and runtime suspend callbacks.
Use freezable delayed work queues instead of normal
delayed workqueues in order to avoid contention with
pm suspend callflow.

Change-Id: Ibb0d35ad80c09e7f2a7032b4daef53c359056dfd
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-03-23 20:44:38 -07:00