Grafico dei commit

3234 Commit

Autore SHA1 Messaggio Data
Vangala, Amarnath
cad43d67ca asoc: holi: add wcd937x mbhc detection at probe
Add support for wcd937x mbhc detetion at probe.

Change-Id: Ibcd04d2670ff1d9c8535d098e11f58448cf3c15e
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-08-19 02:39:22 +05:30
qctecmdr
2711643ba7 Merge "soc: soundwire: add slave frame config for receiver mic" 2020-08-17 02:47:31 -07:00
qctecmdr
9b9eaec119 Merge "asoc: lahaina: add wcd_disabled check in late_probe" 2020-08-17 01:44:20 -07:00
qctecmdr
d9f2992429 Merge "soc: soundwire: support multi soundwire devices configuration" 2020-08-17 01:44:20 -07:00
qctecmdr
3a424302d9 Merge "ASoC: wcd938x: Update the soundwire clock rate based on the tx paths" 2020-08-17 01:44:20 -07:00
qctecmdr
b05b19a4d7 Merge "ASoC: rouleur-mbhc: Fix impedance detection issue on rouleur" 2020-08-17 01:44:20 -07:00
qctecmdr
694c6f67cc Merge "dsp: adm: change channel number for AUDIO_RX_MONO_VOIP module" 2020-08-17 01:44:20 -07:00
qctecmdr
4090b93397 Merge "asoc: lahaina: use new pm_qos API to let audio ULL run on core 1&2 for concurrency usecases" 2020-08-17 01:44:19 -07:00
qctecmdr
f407fb795d Merge "AsoC: lahaina: support right speaker as mono device" 2020-08-17 01:44:19 -07:00
qctecmdr
b22340a058 Merge "ASoC: tx-macro: Allow regcache sync during clock enablement" 2020-08-17 01:44:19 -07:00
qctecmdr
f5c694ecab Merge "ASoC: lahaina: add support for CPS speaker protection" 2020-08-17 01:44:19 -07:00
qctecmdr
825b7bc047 Merge "soc: update wake interrupt check condition" 2020-08-17 01:44:19 -07:00
qctecmdr
86cd0592ca Merge "ASoC: lahaina: Update soundwire frame configuration" 2020-08-17 01:44:19 -07:00
qctecmdr
bf2ed67124 Merge "ASoC: msm: PP event handling support for loopback driver" 2020-08-17 01:44:19 -07:00
qctecmdr
c8504bf1f2 Merge "asoc: Register widgets and intercons only when supported" 2020-08-17 01:44:19 -07:00
qctecmdr
afeef6357c Merge "asoc: bolero: add SWR MIC registers as volatile" 2020-08-17 01:44:19 -07:00
Vignesh Kulothungan
6840c7f5d7 soc: soundwire: add slave frame config for receiver mic
Add soundwire port parameters for receiver mic
using 4.8MHZ bus clock.

Change-Id: I207f07c99a79e1061dd5902cbba07cae6ca597f3
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-08-13 17:34:17 -07:00
Sudheer Papothi
9654ef28aa soc: soundwire: support multi soundwire devices configuration
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>
2020-08-13 15:50:53 -07:00
Sudheer Papothi
e2abf6fc7a ASoC: wcd938x: Update the soundwire clock rate based on the tx paths
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>
2020-08-13 12:06:52 +05:30
Derek Chen
b7bf0563f0 ASoC: msm: PP event handling support for loopback driver
Adding mixer controls for supporting PP evnets in
loopback driver.

Change-Id: Iea9de0f8a7b5661c62953d23879f798af9819487
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2020-08-11 13:17:17 -07:00
Vignesh Kulothungan
7902b497b5 ASoC: lahaina: add support for CPS speaker protection
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>
2020-08-11 10:02:39 -07:00
Harshal Ahire
55f6312086 asoc: Register widgets and intercons only when supported
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>
2020-08-11 08:59:22 -07:00
qctecmdr
4e3e8f9ffd Merge "asoc: add dai-link media31/32/33/34 for auto targets" 2020-08-11 05:57:23 -07:00
qctecmdr
98e5a40f8c Merge "asoc: Fix dailink init function in holi machine driver" 2020-08-11 05:57:23 -07:00
qctecmdr
2bfeb59e51 Merge "asoc: update the wsa entry in dai link header" 2020-08-11 05:57:23 -07:00
qctecmdr
72ca37fcba Merge "asoc: wsa881x: Fix wsa881x name prefix property read" 2020-08-11 05:57:23 -07:00
qctecmdr
4adf93dd63 Merge "ASoC: swr-dmic: Update sequence for voice activation usecase" 2020-08-11 05:57:23 -07:00
qctecmdr
bdda8db410 Merge "dsp: Add support for GET_PARAMS" 2020-08-11 05:57:23 -07:00
George Gao
0be9048845 asoc: lahaina: use new pm_qos API to let audio ULL run on core 1&2 for concurrency usecases
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>
2020-08-10 22:18:20 -07:00
Laxminath Kasam
214f88cc12 asoc: wcd938x: Update SWR clock rate based on modes
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>
2020-08-11 08:54:31 +08:00
Sudheer Papothi
54b9ee2e2e ASoC: lahaina: Update soundwire frame configuration
Update soundwire frame configuration to support audio capture
and voice activation concurrencies.

Change-Id: I0c20bc0514ed08c04fdccb888311ba74743117f4
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-08-11 05:00:37 +05:30
Vignesh Kulothungan
3fa8c9411f dsp: add afe function to send cps configuration
Define cps hw interface configuration structures.
Add AFE_PARAM_ID_CPS_LPASS_HW_INTF_CFG parameter id.
Add a function to send afe cps speaker protection
configuration.

Change-Id: I865e9981b6dd1da4b9ef1a3e18be82cea2996309
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-08-10 16:12:04 -07:00
Vatsal Bucha
560fe2bc62 ASoC: rouleur-mbhc: Fix impedance detection issue on rouleur
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>
2020-08-10 18:50:58 +05:30
Kunlei Zhang
13803a3ca6 dsp: adm: change channel number for AUDIO_RX_MONO_VOIP module
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>
2020-08-10 18:12:36 +08:00
Xiaojun Sang
67e19082df AsoC: lahaina: support right speaker as mono device
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>
2020-08-10 15:50:00 +08:00
Vignesh Kulothungan
912fd67d6c ASoC: wsa883x: add function to get swr device number
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>
2020-08-07 11:37:27 -07:00
qctecmdr
d135c72b0b Merge "asoc: lahaina: use new pm_qos API to let audio ULL run on core 1 and 2" 2020-08-07 03:46:12 -07:00
qctecmdr
53ad10c501 Merge "asoc: lahaina: update log type to reduce log" 2020-08-07 03:46:12 -07:00
qctecmdr
a1cb6b5d86 Merge "asoc: routing: add missed widget connection" 2020-08-07 03:46:12 -07:00
qctecmdr
e97057aed1 Merge "asoc: add missed name for codec dma dais" 2020-08-07 03:46:12 -07:00
qctecmdr
07f045f49b Merge "asoc: add fe-dai multimedia31/32/33/34 and routing rules" 2020-08-07 03:46:12 -07:00
qctecmdr
de3c9d719e Merge "soc: swr-mstr: Fix random headset detection issue on scuba" 2020-08-07 03:46:12 -07:00
qctecmdr
70b35a5320 Merge "asoc: wcd937x: Add support to clear ack registers" 2020-08-07 03:46:12 -07:00
qctecmdr
cc39746bbd Merge "asoc: use the correct APR header structure for PSPD set params" 2020-08-07 03:46:12 -07:00
Sudheer Papothi
379cb0cfb5 ASoC: swr-dmic: Update sequence for voice activation usecase
Update soundwire dmic sequence for voice activation usecase.

Change-Id: I1a170fe3be17b1d44abb707b550aa2972d01047b
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-08-06 22:05:09 -07:00
Guodong Hu
261aa8e7d3 asoc: add dai-link media31/32/33/34 for auto targets
Add more DAI-LINK to support concurrent audio for
lxc host and containers.

Change-Id: I4acf44e19cafb081653e9f93e0fc184700b05831
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2020-08-07 11:14:25 +08:00
Vangala, Amarnath
36b5278d54 asoc: Fix dailink init function in holi machine driver
Remove unwanted code from a dailink init function.

Change-Id: Ieeb244f2319fc6f2f1cf202748fe6826dba229a8
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-08-07 00:23:40 +05:30
Vangala, Amarnath
7e364887e9 asoc: wsa881x: Fix wsa881x name prefix property read
Fix for reading wsa881x name prefix from dtsi
and update in proper structure.

Change-Id: If80e9c26192e7918204c36849ca5cc19875e7084
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-08-06 16:27:25 +05:30
Vangala, Amarnath
7f911b43b8 asoc: update the wsa entry in dai link header
Update the wsa881x analog codec entry in dailink header for holi.

Change-Id: I58ca525b528fe949921ed9e21af3a61779c67d65
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-08-06 15:08:34 +05:30
Meng Wang
36b9a31a37 asoc: lahaina: add wcd_disabled check in late_probe
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>
2020-08-06 14:52:42 +08:00