Commit Graph

3980 Commits

Author SHA1 Message Date
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
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
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
Shuai Zhang
4ec279c7cb makefile: add config support for audio techpack for QCS610
Add required changes to makefile and enable the config
keys for QCS610 target cpmpilation.

Change-Id: I8ef55e9b237f10ae0d240d83c685f5580a939be3
Signed-off-by: Shuai Zhang <quic_shuzhan@quicinc.com>
2022-03-07 13:17:54 +05:30
Shuai Zhang
10e5816d4a ASoC: codecs: wsa881x: add codec dai for each wsa881x
Add new codec dai for each wsa881x, since each WSA is
initialized as a codec and not as aux device.

Change-Id: Ifee063cea54a65600d9040390666d58de49a0689
Signed-off-by: Shuai Zhang <quic_shuzhan@quicinc.com>
2022-03-07 13:06:57 +05:30
Shuai Zhang
31b7445e17 soc: swr-mstr-ctrl: Fix SWR cmd FIFO overflow error
Fix SWR cmd FIFO overflow error.
In 5.4 kernel there are few additional register writes added in soundwire driver,
one of the register(SWRS_DP_SAMPLE_CONTROL_2_BANK) write is causing overflow error.

Change-Id: I31f4855af52b24ceac53f55010ce1935c3bc1ea6
Signed-off-by: Shuai Zhang <quic_shuzhan@quicinc.com>
2022-03-07 12:50:23 +05:30
Shuai Zhang
7696eb78b6 ASOC: ext-clk: Fix hw init issue caused by CLK upgrade
CLK driver upgrade causes hw->init to be NULL.
Unable to get hw->init from CLK core.
Modify to obtain hw->init from local static data.

Change-Id: I2ffc3e7dfd356cfcb2735336dd67ff70a35328c4
Signed-off-by: Shuai Zhang <quic_shuzhan@quicinc.com>
2022-03-04 14:11:09 +05:30
qctecmdr
389f9c7901 Merge "msm-audio: adding mixer control for soft step volume params" 2022-03-03 19:42:33 -08:00
qctecmdr
d68211869e Merge "asoc: Set clock index correctly in mi2s slave mode" 2022-03-03 19:42:33 -08:00
qctecmdr
c77b8aacef Merge "asoc:msm-lsm-client: potential deadlock fix" 2022-03-03 19:42:33 -08:00
Aditya Bavanari
1e417536ee asoc: Set clock index correctly in mi2s slave mode
When msm acts as slave mode in mi2s, clock ID for a
clock index is not properly updated for first time.
Fix the sequence issue to update clock ID accordingly
for slave mode.

Change-Id: Ie601547e8a5677ee778ff707f55e2d861a35f459
Signed-off-by: Aditya Bavanari <quic_abavanar@quicinc.com>
2022-03-02 17:48:39 +05:30