İşleme Grafiği

2637 İşleme

Yazar SHA1 Mesaj Tarih
Deru Wang
b96c33c66f asoc: Add asm loopback MultiMedia24 & 25
Add asm loopback channel to support dual hfp

Change-Id: I7b6e1ec773a9a0bbf3f9e3f8e47610b9096b7f37
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
2020-03-29 10:52:12 -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
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
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
Kunlei Zhang
ee8a4d5d97 config: add wcd937x support for lagoon
Add wcd937x DLKM files support for lagoon.

Change-Id: I9fa80df4fd25ee476e59bb1bf6a7b25c0cf56a57
2020-03-23 20:41:01 -07:00
Prasad Kumpatla
e1bb075244 dsp: check ac before access the service id
Check the audio client and apr before retrieving the
service_id and avoid the race condition b/w q6asm_session_free
and get_service_id calls with mutex lock.

Change-Id: I05c5fb872f866c79c909123b595df345da828967
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-03-23 20:39:36 -07:00
Derek Chen
256b05b2b0 ASoC: msm: unmap and free dma memory if smmu map failed
Unmap and free DMA memory in case of ION SMMU
mapping failure from PVM backend or MMHAB.

Change-Id: I2d2780941ba6922534654afa463a011f27ef7c66
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2020-03-23 20:26:54 -07:00
Aditya Bavanari
8c3f79680a dsp: Correct the instance ID assignment in IIR sidetone
In set param for IIR sidetone in AFE, instance ID
assignment is done to param ID. Correct the assigment
to fix this.

Change-Id: I3fc6011631a6b581facddc9c417e219ed25cc3a4
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-03-23 20:13:47 -07:00
Aditya Bavanari
6d5ce1ff4e config: lito: Disable MI2S, TDM and AUXPCM interfaces
Disable MI2S, TDM and AUXPCM interfaces to avoid
unnecessary registration of mixer controls and
improve performance in loading mixer paths.

Change-Id: I093aa1cee9bf6b6e5f17c45e3327deb6fc11018c
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-03-23 20:01:52 -07:00
Aditya Bavanari
3ac8fc2bff dsp: Make error as debug log when CPU buffer not available
When CPU buffer is not available, continuous error
log prints leads to excessive logging. Make the error
as debug log to avoid this.

Change-Id: Ic26006b4975fbe3d5467203d145a517c0067c296
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-03-23 19:52:59 -07:00
Harshal Ahire
b5de847666 asoc: Add separate array for TDM BE dai links
-Register for the widgets and interconnections in routing
 driver only when the respective interfaces are supported.

-Create a separate array for TDM BE dai links.

Change-Id: Ic1570ef432c76556aff8c592e12c879aed50e4ef
Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
2020-03-23 19:42:38 -07:00
Sudheer Papothi
a999a7c1b0 ASoC: lahaina: Update soundwire configuration for audio capture
Update the sample interval of soundwire frame shape for quad mic
audio capture usecase.

Change-Id: Id45bc442eac982137d0a4e039925834e6bf42b61
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-03-24 05:04:16 +05:30