Commit grafiek

3262 Commits

Auteur SHA1 Bericht Datum
Vangala, Amarnath
2441e3cd0a ASOC: update soundwire master port config for holi
Update soundwire master port config to support wcd937x slave for holi.

Change-Id: I87afe6942a52d576591bf8f6f27cc47441a356c1
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-08-29 07:29:28 +05:30
qctecmdr
2e4a1a6396 Merge "asoc: Register widgets and intercons only when supported" 2020-08-25 11:21:18 -07:00
qctecmdr
9c206a0ce5 Merge "soc: update sample offset's for 4.8MHZ usecases" 2020-08-25 11:21:18 -07:00
qctecmdr
4761f68bd2 Merge "asoc: wcd937x: Update slvdevpath after connect_port in powerup" 2020-08-25 11:21:18 -07:00
qctecmdr
4b151cba32 Merge "soc: qcom: qdsp6v2: promote priority of apr_vm_cb_thread" 2020-08-25 11:21:17 -07:00
qctecmdr
f195f7057b Merge "soc: qcom: audio: remove unnecessary ack" 2020-08-25 11:21:17 -07:00
qctecmdr
911447121d Merge "asoc: swr-dmic: select correct port type for swr-dmic" 2020-08-25 11:21:17 -07:00
qctecmdr
e2e4119e33 Merge "asoc: holi: add wcd937x mbhc detection at probe" 2020-08-25 11:21:17 -07:00
qctecmdr
4156bf6e97 Merge "ASoC: msm: Add 44.1Khz and 96 Khz sample rate support for tdm group device" 2020-08-25 11:21:17 -07:00
qctecmdr
94c552c1c8 Merge "soc: swr-mstr: Fix headset detect issue due to master.num_dev not updated" 2020-08-25 11:21:17 -07:00
qctecmdr
5caa78db45 Merge "dsp: add support for SVA to use afe topology deregister" 2020-08-25 11:21:17 -07:00
qctecmdr
be8dfac3bf Merge "ASoC: wsa883x: enable vbat adc filter" 2020-08-24 20:25:19 -07:00
qctecmdr
48a6f44ed8 Merge "ASoC: mbhc: Call impedance detection routine before get impedance" 2020-08-24 20:25:19 -07:00
qctecmdr
db001f9b98 Merge "asoc: wsa883x: remove default value setting for WSA883X_OVERRIDE2" 2020-08-24 20:25:19 -07:00
Vignesh Kulothungan
dab0a7d24c soc: update sample offset's for 4.8MHZ usecases
Update sample offset's of sound wire digital mics when running
at 4.8 MHZ. This affects single and dual mic usecases.

Change-Id: Id33635debd0444fa93d183dacd8d6419b23394fd
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-08-20 22:27:54 -07:00
Laxminath Kasam
070b18585e asoc: wcd937x: Update slvdevpath after connect_port in powerup
As ADC and MIXER dapm widgets powerup sequence in soc-dapm
got re-ordered, need update same in codec driver to handle
calls to soundwire.

Change-Id: Ibc99d21e29f9e9d7195b4ba8d4c995c46d6aef6f
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-08-20 20:25:41 +05:30
Vatsal Bucha
892efe8d09 ASoC: mbhc: Call impedance detection routine before get impedance
Call impedance detection routine as part of callback to get impedance
before printing value of impedance.

Change-Id: I8b7174e4f7fd9c7715a2c12a0628c8f7849a93e6
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-08-20 19:33:33 +05:30
Harshal Ahire
5c1b4af595 asoc: Register widgets and intercons only when supported
Add pri_i2s_rx_mixer_controls and sec_i2s_rx_mixer_controls
to mi2s widgets array.

Change-Id: I653c15d4991de6307ab94eef284b5256b42fbdb7
2020-08-20 19:11:55 +05:30
Vatsal Bucha
1bd0eed253 soc: swr-mstr: Fix headset detect issue due to master.num_dev not updated
Headset is not detected sometimes due to master.num_dev not being
updated when we call GET_ENUM_SLAVE_STATUS as get_logical address
may not have been called. Also enable slave irq only when
swr wokeup from clk stop and not when master is already up.
This will prevent valid irq to be discarded as spurious irq.

Change-Id: I00284e9340668c853d0bd604fe66801118982780
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-08-20 18:53:13 +05:30
Meng Wang
23ee77a6d7 asoc: swr-dmic: select correct port type for swr-dmic
When same swr dmic is first enabled as HIFI, secondly as LP
and closed HIFI, it would disable LP port by mistake. Update
the logic to select correct port for swr-dmic.

Change-Id: I5d4d1461d8cd7db7bc7f37fc91ee1c9324413980
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-08-20 14:11:24 +08:00
Han Lu
6d78e2c24d soc: qcom: qdsp6v2: promote priority of apr_vm_cb_thread
The promoting is necessary to prevent audio tick noise under
heavy cpu loading.

Change-Id: I3fccb3b758b5fb5571031902344e542886b89209
Signed-off-by: Han Lu <hanlu@codeaurora.org>
2020-08-19 19:33:12 -07:00
Han Lu
8ab5ee64d9 soc: qcom: audio: remove unnecessary ack
Remove send/check ACK in HAB communication, it consumes HAB bandwidth
without necessity. Remove it to improve audio performance.

Change-Id: Idee1d0276f40d463186e3caea6c4b28ef16ab67c
Signed-off-by: Han Lu <hanlu@codeaurora.org>
2020-08-19 19:32:20 -07:00
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
Vignesh Kulothungan
4b36a5da7b ASoC: wsa883x: enable vbat adc filter
Enable vbat adc filter inorder to read vbat and
temperature values for cps speaker protection.

Change-Id: I31c50bdd6ed0becae355600ba3cf48e761406d87
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-08-17 11:23:21 -07:00
Alexy Joseph
aaf6fa8396 ASoC: msm: Add 44.1Khz and 96 Khz sample rate support for tdm group device
Update tdm sample rate text and sample rate value/index mapping
functions to support 44.1Khz and 96 Khz rates

Change-Id: I72106dd342c7da84ad9c21674cacbfca680a7ba8
Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>
2020-08-17 09:44:02 -07:00
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
Meng Wang
9ebe2c724a asoc: wsa883x: remove default value setting for WSA883X_OVERRIDE2
Updating WSA883X_OVERRIDE2 default value to 0x02 breaks
speaker protection. Revert the default value update.

Change-Id: I064157a718d87b2903c10dc78e0ce99ce400b6d8
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-08-17 09:21:45 +08:00
Sanjana B
afcc911b4e dsp: add support for SVA to use afe topology deregister
To handle erroneous scenario when audio afe driver registers
a FFNS topology in non-island mode instead of island mode,
add capability for audio afe driver to deregister previously
created topology before registering a new topology for SVA.

Change-Id: Iff871da998847ea5d3bcee417c780b8acaf70ca3
Signed-off-by: Sanjana B <sanjb@codeaurora.org>
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2020-08-13 18:24:08 -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