Commit graph

3,988 commits

Author SHA1 Message Date
qctecmdr
3fc201fdf1 Merge "ASoC: wcd937x: Add check for ULP irrespective of the Class" 2022-04-11 04:35:52 -07:00
qctecmdr
61d08bd00a Merge "asoc: msm-pcm-routing: Assign default topology when app_type is zero" 2022-04-11 04:35:52 -07:00
qctecmdr
97b079fc9d Merge "asoc: wsa881x: Fix panic on stress reboot" 2022-04-11 04:35:52 -07:00
qctecmdr
3c2469c9c4 Merge "asoc: sm6150: change msm_wcn_be_dai_links name" 2022-04-11 04:35:51 -07:00
E V Ravi
4ea134d031 asoc: get and put for SEC_TDM_RX_0/TX_0 ADM channels
Enables get/put for SEC_TDM_RX_0/TX_0 ADM channels.

Change-Id: Idb38903e5e7cc1af64735e2cd62a2b6cda8cb22e
Signed-off-by: E V Ravi <quic_evenka@quicinc.com>
2022-04-07 14:17:16 +05:30
Arungopal Kondaveeti
1bda71f4ff asoc: msm-pcm-routing: Assign default topology when app_type is zero
In normal cases audio hal will sent  proper ACDB and APP type values
but in some cases if app type becomes zero.Assign default topology
when app_type is zero.

Change-Id: Id588308650f823f7d94ffb1fd2d7656d4bcf9cb2
Signed-off-by: Arungopal Kondaveeti <quic_kondavee@quicinc.com>
2022-04-06 10:39:56 +05:30
Faiz Nabi Kuchay
2812ff7a96 ASoC: wcd937x: Add check for ULP irrespective of the Class
Add check for ULP mode irrespective of the Class to update
QCRG sequence.

Change-Id: Ie314aec147083df2b7db3e2769e3ff652d13c7de
2022-04-05 15:02:55 +05:30
qctecmdr
9c2238e1ab Merge "ASoC: optimize automotive routing drivers" 2022-04-01 03:51:38 -07:00
qctecmdr
061e05e781 Merge "asoc: reduce HS TDM widget connection when it's disabled" 2022-03-31 22:14:05 -07:00
qctecmdr
eb9e398b56 Merge "ASOC: update sm6150 machine driver" 2022-03-31 22:14:05 -07:00
qctecmdr
0cab313bf2 Merge "ASOC: talos: update dai-link port-config for talos" 2022-03-31 22:14:05 -07:00
qctecmdr
43c1ed7e71 Merge "asoc: codec: Fix error makefile: Fix error and add version information" 2022-03-31 22:14:04 -07:00
qctecmdr
42c2b29a19 Merge "asoc: add afe limiter disable kcontrol and fix ULLPP index mismatch" 2022-03-31 22:14:04 -07:00
qctecmdr
5aab579259 Merge "Revert "ASOC: Disable Temperature sensor of WSA881x for bengal"" 2022-03-31 22:14:04 -07:00
Abhinav Gaur
3831a37a08 ASoC: optimize automotive routing drivers
remove non-automotive dapm widgets, kcontrols and dapm
routes for boot KPI optimization.

Change-Id: Id494508c2cfb4c4bca58a7fbe0ed4c63c2e8cd38

Signed-off-by: Abhinav Gaur <quic_abhigaur@quicinc.com>
2022-03-31 01:13:38 -07:00
Abhinav Gaur
4dad88ac99 ASOC: automotive routing drivers base version
Branch out from mainline and create separate routing driver
for automotive platform for boot KPI optimization.

Parent commit id for the base routing driver version for
tracking purpose : commit dd9977f073

Change-Id: I64b89bafb304d403efd08850a72830100939c3ba
Signed-off-by: Abhinav Gaur <quic_abhigaur@quicinc.com>
2022-03-31 00:06:00 -07:00
Xu,Baochu
34b8f2e9bd asoc: wsa881x: Fix panic on stress reboot
Fix panic issue on stress reboot test.
1. Change waiting flag to indicate analog client device init completely.
The new waiting flag can guarantee the analog client pointer is initilized.
2. Exit with EPROBE_DEFER while timeout on waiting flag.
There is low frequency that sound card and analog client device go
into same deffer probe worker. In this case, analog client device will not be
probed till sound card devie probed. Then, sound card probe function
call analog client device to get temparatue, this caused null pointer
panic.

Change-Id: Ib0e078e5591e14e5cdb69875213b8e7d403e559b
2022-03-30 16:17:33 +08:00
qctecmdr
940fa8c34b Merge "dsp: lower the log lever of ADSP_EALREADY" 2022-03-29 10:47:13 -07:00
qctecmdr
459e1f46fb Merge "dsp: Remove error log when there is no AFE cal data" 2022-03-29 10:47:12 -07:00
qctecmdr
1180359f37 Merge "soc: remove tdm slot mask invalid err log in multi lane case" 2022-03-29 10:47:12 -07:00
qctecmdr
7670c02c96 Merge "dsp: support ADM output map for less then 2 channels" 2022-03-29 10:47:12 -07:00
qctecmdr
4019a3da22 Merge "ASoC: msm: support multi group matrix mixer configure for SSMD mode" 2022-03-29 10:47:12 -07:00
qctecmdr
8dabe1d941 Merge "asoc: Add VI feedback dai_link for bengal" 2022-03-29 10:47:10 -07:00
Dechen Chai
268b2ba14e Revert "ASOC: Disable Temperature sensor of WSA881x for bengal"
This reverts commit d1644ff55d.

Change-Id: Iac9a0d8128bbce516ea147a70f0266d256a0f3c3
Signed-off-by: Dechen Chai <quic_dchai@quicinc.com>
2022-03-29 17:25:05 +05:30
fei tong
31c3028f79 asoc: add afe limiter disable kcontrol and fix ULLPP index mismatch
add afe limiter control to enable/disable afe limiter module and fix
ULLPP index not match issue.

Change-Id: I1820a2a270b4a8aaff3e0043b26d993224c0d33f
2022-03-28 13:23:11 +08:00
Shuai Zhang
11fae871f1 asoc: codec: Fix error makefile: Fix error and add version information
Fix error caused by include error.
Fix error caused by warning and add version information.

Change-Id: I098025ec4dee178c709a2007a2cfe43ddafc23b5
2022-03-25 13:15:54 +05:30
Shuai Zhang
0b55b86b08 ASOC: talos: update dai-link port-config for talos
Modify COMP_CODEC in wsa_dma_rx.
Add sm_port_map_wcd937x in port-config.

Change-Id: Ie8044ddc32e87970c457f627cbfced0543940091
Signed-off-by: Shuai Zhang <quic_shuzhan@quicinc.com>
2022-03-25 09:30:51 +05:30
Shuai Zhang
915b9b8135 asoc: sm6150: change msm_wcn_be_dai_links name
Change DAI-LINK name from LPASS_BE_SLIMBUS_TX_VI 
to LPASS_BE_SLIMBUS_7_RX for Bluetooth playback

Change-Id: Iac1a2c72438dde2100fbdc2733bd0bd5adec3041
Signed-off-by: Shuai Zhang <quic_shuzhan@quicinc.com>
2022-03-23 11:50:25 +05:30
Faiz Nabi Kuchay
c30a0cf98d ASoC: wcd937x: Update QCRG sequence for wcd937x
Update QCRG sequence for wcd937x.

Change-Id: I039a8b2dc74c34722b6c81bab429dee6326ec362
2022-03-21 23:43:32 -07:00
Hongtao Peng
74424d30ff dsp: lower the log lever of ADSP_EALREADY
change log lever of ADSP_EALREADY from error to debug

Change-Id: I4ecd120e38748c67b0e9c0e7b5a8717eefc3ad65
Signed-off-by: Hongtao Peng <quic_hongtaop@quicinc.com>
2022-03-22 12:02:45 +08:00
Hongtao Peng
4417be62e3 dsp: Remove error log when there is no AFE cal data
Change-Id: I51c3cf6d1143d16521f6e64010e67524d07d7850
Signed-off-by: Hongtao Peng <quic_hongtaop@quicinc.com>
2022-03-21 23:46:30 +08:00
Shuai Zhang
e72bd21ce5 asoc: reduce HS TDM widget connection when it's disabled
Add CONFIG_HSIF_DISABLE config to reduce HS TDM
widget connections when it's disabled.

Change-Id: I9b8a36a99fbfe4356311e2b9bc6e5a7fd7e2ac0c
Signed-off-by: Shuai Zhang <quic_shuzhan@quicinc.com>
2022-03-21 17:20:44 +05:30
Hongtao Peng
dd1d9f2502 soc: remove tdm slot mask invalid err log in multi lane case
slot mask use group value instead of port value, which
will return default value when multi lane is enabled

Change-Id: Iac2f6876915d14b1f5b005354a6edb9239fa41f9
Signed-off-by: Hongtao Peng <quic_hongtaop@quicinc.com>
2022-03-21 18:49:52 +08:00
Xu,Baochu
92e2db816b asoc: Add VI feedback dai_link for bengal
Add VI feedback dai_link for speaker protection feature.

Change-Id: Ic4db44a548d7e2c472785a2c76ad055e507072a5
2022-03-16 17:45:12 +08:00
Xu,Baochu
51d36d5c68 asoc: msm: Add VI feedback mixer
Add VI feedback mixer controls for speaker protection on bengal.

Change-Id: I8bc4127d2f599186d80890cbf9b4527c6716723e
2022-03-16 16:52:31 +08:00
Xu,Baochu
501c74bfd4 asoc: wsa881x: Add mixer for speaker protection
Add mixer for speaker protection.

Change-Id: Ieea53dd1a3c9601373b2a8400d48abb88bb0cd60
2022-03-16 16:51:02 +08:00
Shuai Zhang
c0ccfd3bed ASOC: update sm6150 machine driver
Update machine driver for wcd937x.
Add msm_wcd937x_wsa881x_init for wcd937x.
Add msm_snd_card_late_probe for wcd937x.

Change-Id: Ic4c32e2f4c894c0bd250d1ae1c44ac1d8a28f6d1
Signed-off-by: Shuai Zhang <quic_shuzhan@quicinc.com>
2022-03-15 09:32:49 +05:30
qctecmdr
f374586dc0 Merge "soc: swr-mstr-ctrl: Fix SWR cmd FIFO overflow error" 2022-03-12 09:42:03 -08:00
qctecmdr
4927bf3073 Merge "ASOC: talos: update dai-link port-config for talos" 2022-03-12 09:42:03 -08:00
qctecmdr
01a805eb78 Merge "asoc: codec: Fix CFI error caused by missing members" 2022-03-12 09:42:03 -08:00
qctecmdr
d8d15d342c Merge "makefile: add config support for audio techpack for QCS610" 2022-03-12 09:42:03 -08:00
qctecmdr
dc60802e3e Merge "ASOC: ext-clk: Fix hw init issue caused by CLK upgrade" 2022-03-12 09:42:03 -08:00
qctecmdr
ef77b7d3f1 Merge "ASoC: wcd-spi: Fix dma alloc compilation errors" 2022-03-12 09:42:02 -08:00
qctecmdr
443a89f7e6 Merge "asoc: wcd937x: update mic bias registers for new fab" 2022-03-12 09:42:02 -08:00
Vangala, Amarnath
71239c6f0e asoc: wcd937x: update mic bias registers for new fab
Update micbias register fields for new fab id of tanggu.

Change-Id: I4974acebcb08de6b78f6ff5a90ed401e276c59f7
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2022-03-09 08:15:38 +05:30
Shuai Zhang
4b7b52fb97 ASOC: talos: update dai-link port-config for talos
Add a new dai-link definition for talos.
Add a new soundwire port config for talos.

Change-Id: I4a96db4ec14d263372d154d7bc3203b0e3d95db8
Signed-off-by: Shuai Zhang <quic_shuzhan@quicinc.com>
2022-03-08 18:11:18 -08:00
Shuai Zhang
a977db965d asoc: codec: Fix CFI error caused by missing members
Fix CFI error caused by missing member of wcd_swr_ctrl_platform_data.

Change-Id: I6991d2b15867a1a7cff7a4495b41745f261eba4c
Signed-off-by: Shuai Zhang <quic_shuzhan@quicinc.com>
2022-03-07 17:44:29 -08:00
Shuai Zhang
374b84c9b5 ASOC: update wcd934x codec driver
Compile wcd934x driver for sm6150.

Change-Id: Ia0f41d6f1de03ec41cddb0bc1cef5d62ac815cdf
2022-03-07 15:47:31 +05:30
Shuai Zhang
0ac76a1d7a ASOC: update sm6150 machine driver
Update machine driver for sm6150.
Compile wsa881x digital driver for sm6150.

Change-Id: I46e0ef5ffa773e2c8e4b9fe3cf8819ac32f303d5
Signed-off-by: Shuai Zhang <quic_shuzhan@quicinc.com>
2022-03-07 15:43:41 +05:30
Shuai Zhang
21474dc6d7 ASoC: wcd-spi: Fix dma alloc compilation errors
Fix dma_alloc_coherent compilation errors, using the new API

Change-Id: I2188c9ab34e5c02cebc0f86a53e3f810aefc6caf
Signed-off-by: Shuai Zhang <quic_shuzhan@quicinc.com>
2022-03-07 13:24:51 +05:30