Граф коммитов

2712 Коммитов

Автор SHA1 Сообщение Дата
Meng Wang
b4677c85de asoc: add new frontend Multimedia31 and Multimedia32 for haptics
Add new frontend Multimedia31 and Multimedia32 for haptics.

Change-Id: Ibf36090f2aef8ec76bbc554587a8acf2ff8051de
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-04-14 12:53:24 +08:00
qctecmdr
d5de97eac9 Merge "ASoC: codecs: remove swr dmic driver ops" 2020-04-08 21:02:10 -07:00
qctecmdr
4ec39896a8 Merge "dsp: Add support for EOS V2" 2020-04-08 21:02:09 -07:00
qctecmdr
4753bad23a Merge "asoc: fix kernel panic due to Non-NULL ac" 2020-04-08 21:02:09 -07:00
qctecmdr
32b258e75c Merge "asoc: codecs: Add support for rouleur codec" 2020-04-08 21:02:09 -07:00
qctecmdr
e1757aef95 Merge "ASoC: msm-routing: Add lock in lsm_app_type_cfg_control callbacks" 2020-04-08 21:02:09 -07:00
qctecmdr
747b3bd81b Merge "asoc: wcd937x: Fix compile error in wcd937x codec driver" 2020-04-08 21:02:09 -07:00
qctecmdr
e076f26b13 Merge "asoc: bolero: Update dmic clk_div for bolero 2.x" 2020-04-08 21:02:09 -07:00
qctecmdr
e09440edd9 Merge "asoc: wsa881x-analog: Disable MCLK if clk enabled state" 2020-04-08 21:02:09 -07:00
qctecmdr
79a655928a Merge "ASoC: Remove glitch during amic record" 2020-04-08 21:02:08 -07:00
qctecmdr
ee9e37d20a Merge "asoc: Set and get lsm port indices on a per session basis" 2020-04-08 21:02:08 -07:00
qctecmdr
595a926d4f Merge "ASoC: wcd938x: Update hardware sequence for LDOL voltage" 2020-04-08 21:02:08 -07:00
qctecmdr
457a39d314 Merge "dsp: Avoid configuring PSPD channel mixer if PSPD is already configured" 2020-04-08 21:02:08 -07:00
qctecmdr
0dff7642d5 Merge "ASoC: add echo ref support for SENARY MI2S TX" 2020-04-08 21:02:08 -07:00
qctecmdr
cf288a8764 Merge "ASoC: Add doa tracking params only for LE platforms" 2020-04-08 21:02:07 -07:00
qctecmdr
26cced1678 Merge "ASoC: bolero: Fix higher btn press noise issue" 2020-04-08 21:02:07 -07:00
qctecmdr
001e75d77d Merge "ASoC: wcd-mbhc: Disable micbias internal pull-up after headphone detected" 2020-04-08 21:02:07 -07:00
qctecmdr
d8e4021c58 Merge "ASoC: Add flag to enable doa tracking params for LE" 2020-04-08 21:02:07 -07:00
qctecmdr
621a087b4e Merge "ASoC: bolero: check clock source before clock switch" 2020-04-08 21:02:07 -07:00
qctecmdr
14f4f909da Merge "dsp: Add FFECNS Freeze event support" 2020-04-08 21:02:07 -07:00
qctecmdr
253aecaacb Merge "ASoC: Add FFECNS Freeze event support" 2020-04-08 21:02:07 -07:00
qctecmdr
dfdd0d31d2 Merge "dsp: adm: increase the length of timeout in adm_open to 2 seconds" 2020-04-08 21:02:07 -07:00
qctecmdr
ada8071b43 Merge "ASoC: bolero: Resolve handset record not resuming after PDR" 2020-04-08 21:02:07 -07:00
qctecmdr
bd70c6e360 Merge "dsp: voice: Remove common lock before sending unmap command" 2020-04-08 21:02:07 -07:00
qctecmdr
db7ff12b0c Merge "ASoC: wcd938x: Fix headset detection during SSR/PDR" 2020-04-08 21:02:07 -07:00
qctecmdr
347e39ed9c Merge "asoc: bengal: Avoid island config to afe for sva disable variant" 2020-04-08 21:02:07 -07:00
Laxminath Kasam
43fd112a6b asoc: wsa883x: Fix SSR mute on speaker
During SSR/PDR, bring down wsa at down
event and restore after SSR up event.

Change-Id: I9a8d3c109144cb0a911cd7597bffc220b0ce95b7
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-06 19:39:09 -07:00
Ajit Pandey
a4804c7337 ASoC: msm-routing: Add lock in lsm_app_type_cfg_control callbacks
Add routing_lock mutex to protect global variables in _get() & _put()
callback of Listen App Type Config mixer control.

Change-Id: I6857a6e72dcb7f21633919b716910577af4906d2
Signed-off-by: Ajit Pandey <ajitp@codeaurora.org>
2020-04-04 10:36:00 -07:00
Laxminath Kasam
cc2aada378 asoc: wsa881x-analog: Disable MCLK if clk enabled state
In WSA analog driver, disable MCLK only if clock enabled.

Change-Id: I3a6aa42dc258e3c6ad1ceccdf74f0136338d79b2
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-04 10:31:31 -07:00
Laxminath Kasam
b9478f5c55 asoc: bolero: Update dmic clk_div for bolero 2.x
For bolero 2.x, update dmic clk_div to use 1.2M
instead of 600k if non-island usecase.

Change-Id: Ia057283c164de576cfd05f4c64f6db24db589ead
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-03 07:27:53 -07:00
Ramu Gottipati
f2438f0d93 dsp: Avoid configuring PSPD channel mixer if PSPD is already configured
Observing audio glitch issue while trying to apply PSPD
channel mixer coefficients for already applied COPP port.
To fix this, added check condition to retun 0 without
applying PSPD.

Change-Id: I3825cacfd888f153144cc5d73eb274f4fbf5d8bc
Signed-off-by: Ramu Gottipati <ramug@codeaurora.org>
2020-04-02 23:51:34 -07:00
Sudheer Papothi
49f16768f6 ASoC: wcd938x: Update hardware sequence for LDOL voltage
Update wcd938x codec hardware sequence for LDOL voltage.

Change-Id: I863c0832277d3d0533cdd97f15d1576c47cc4d1e
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-04-02 23:50:57 -07:00
Vatsal Bucha
271dbe101b ASoC: Remove glitch during amic record
Glitch is coming sometimes during amic record.
Correct sequence to resolve the glitch.

Change-Id: I3c062632229826f6fe32e2f1ea9e07381c21d902
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-02 22:28:39 -07:00
Aditya Bavanari
33b2108fd6 asoc: Set and get lsm port indices on a per session basis
When multiple LSM sessions are running, lsm port index might
be overwritten with index of different sessions during
concurrent LPI and Non LPI session switches. Maintain
lsm port index on a per session basis to avoid this issue.

Change-Id: I943ea7899b977e06f467a140a9d1c9feb31c58bd
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-04-02 22:27:53 -07:00
Vignesh Kulothungan
3b2c9ef792 ASoC: codecs: remove swr dmic driver ops
Remove soundwire driver ops to avoid deadlock during audio 
sub system restart. 
Handle SWR DMICs enable/disable during usecase.

CRs-Fixed: 2648763
Change-Id: I73cc95ae389da9dee742544f29ceca9d9b7ac9c6
2020-04-02 17:38:04 -07:00
Vignesh Kulothungan
57fb56c8d3 ASoC: add echo ref support for SENARY MI2S TX
Add SENARY_MI2S_TX to ec_ref_rx and ext_ec_ref_rx so
it can be used for Audio EC reference and Voice
external EC reference.

CRs-Fixed: 2576685
Change-Id: I08253e705f26293255eea41140fd3461ee300b6b
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-04-02 16:57:12 -07:00
Vatsal Bucha
7ceafae61e ASoC: Add doa tracking params only for LE platforms
Doa tracking params are applicable only for LE platforms.
Add respective check for the same. Also add config to
enable doa params for LE.

Change-Id: Ia8c2fd095deb44a3dd0b958da0b73c94dbc7d819
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-01 17:16:18 -07:00
Vatsal Bucha
1111e93af1 ASoC: bolero: Fix higher btn press noise issue
There is higher noise during headset btn press on some
headsets. Change hold time after button release to 600ms
to resolve the noise.

Change-Id: I87e5e13ce39849090da3d3e50ec53e7fd5fdc0e7
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-01 17:13:02 -07:00
Vatsal Bucha
70f9ed72bb ASoC: Add flag to enable doa tracking params for LE
Add DOA_PARAMS_ENABLED flag to enable tracking params for LE.

Change-Id: I54f40a72338ab09e43d002d19c74f845c5afcd49
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-01 13:05:28 -07:00
Ramu Gottipati
f36ffb140a dsp: Add FFECNS Freeze event support
Add support to send ffecns freeze event

Change-Id: I73bc6ff8c091427ddb398ae11c95f19c36e904b6
Signed-off-by: Ramu Gottipati <ramug@codeaurora.org>
2020-04-01 13:03:54 -07:00
Ramu Gottipati
85be556200 ASoC: Add FFECNS Freeze event support
Add mixer control support to send ffecns freeze
event.

Change-Id: I86bfd27aac312f85ebbde1f35ff4f65f589c6fec
Signed-off-by: Ramu Gottipati <ramug@codeaurora.org>
2020-04-01 13:03:08 -07:00
Meng Wang
d114234b61 dsp: adm: increase the length of timeout in adm_open to 2 seconds
Currently, the length of timeout in adm_open for waiting response
from ADSP is 1 second. To prevent unnecessary timeout that results
adm_open failure, increase the length of timeout to 2 seconds.

Change-Id: I670f44964538c3176130c4bb5f8b7a3b3eaf8d8b
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2020-04-01 13:02:15 -07:00
Vatsal Bucha
ca165320f0 ASoC: bolero: Resolve handset record not resuming after PDR
Handset record does not resume if pdr is performed
during record. Make VA DMIC_CTL registers as volatile
to write proper value of register to hw.

Change-Id: I2cc10d2eab18e3e8126c56caffa126195c02b4e3
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-01 13:01:04 -07:00
Aditya Bavanari
7c7ad13625 dsp: voice: Remove common lock before sending unmap command
Remove common mutex lock before invoking unmap physical
memory command to avoid deadlock issue between voice lock
and common lock in concurrency use cases.

Change-Id: Iaca089f4ff1b6da16e0e59939088fb59516362aa
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-04-01 13:00:05 -07:00
Laxminath Kasam
7e443c1cd6 asoc: bengal: Avoid island config to afe for sva disable variant
Check SVA disable variant and skip send afe island config.

Change-Id: Ida6c32ec042f545291aaeb8e616478b991d923bd
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-01 12:54:32 -07:00
Sudheer Papothi
fd25834b84 soc: soundwire: Check for clock source before clock switch
Check for soundwire clock source before clock switch to avoid
redundant clock switch for the same clock source.

Change-Id: I8a7a116cc956f427af677b413928dace5a39a23d
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-04-01 12:53:10 -07:00
Vatsal Bucha
2ccb20dc4c ASoC: wcd-mbhc: Disable micbias internal pull-up after headphone detected
Micbias2 internal pull-up remains enabled even after headphone is detected.
This results in power issues. Disable pull up after insertion detection.

Change-Id: I335dbb498192738fc282421d92510400a661cf0c
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-01 11:50:10 -07:00
Sudheer Papothi
93bc6299f3 ASoC: bolero: check clock source before clock switch
Check soundwire clock source before clock switch to avoid
redundant soundwire device suspend for the same clock source.

Change-Id: I613789b23c171959a60c9a059a30b3f1494f3dfa
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-04-01 11:49:25 -07:00
Vatsal Bucha
71e95c67ea ASoC: wcd938x: Fix headset detection during SSR/PDR
Headset is corrected as lineout during SSR/PDR. This is
because adc voltage is not measured correctly due to SSR state.
Enable flag deinit_in_progress during SSR down to check if
device is not reported and disable it after device up.

Change-Id: I6fc4fff4149c36ba16aa668a960505504a5d811f
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-01 09:54:12 -07:00
qctecmdr
f34687bd3a Merge "ASoC: wsa-macro: Update smart boost sequence for wsa883x" 2020-04-01 00:19:36 -07:00