Commit graph

1,965 commits

Author SHA1 Message Date
qctecmdr
8410ebe24c Merge "config: Revert featurization of 32 channel support in DSP" 2019-07-24 03:10:41 -07:00
qctecmdr
e360832ef6 Merge "dsp: Revert featurization of 32 channel support in DSP" 2019-07-24 03:01:07 -07:00
qctecmdr
5b4faffbce Merge "asoc: codecs: Increase size of proc_name" 2019-07-24 02:57:56 -07:00
qctecmdr
144d5ec5c0 Merge "asoc: csra66x0: Disable volume ramping in codec" 2019-07-24 00:53:27 -07:00
qctecmdr
a7352414c3 Merge "audio-kernel: add support to query presentation position from DSP" 2019-07-24 00:47:35 -07:00
qctecmdr
8ee45b38bd Merge "dsp: Reset ec ref port id after use" 2019-07-24 00:42:29 -07:00
qctecmdr
2bb74b807e Merge "asoc: codecs: wcd938x: Remove hifi modes for wcd9380" 2019-07-24 00:38:14 -07:00
qctecmdr
ae0029f4ae Merge "dsp: ion_vm: adapt to new interfaces" 2019-07-24 00:35:15 -07:00
qctecmdr
990a32994e Merge "audiodlkm: modify audiodlkm to parse amixer command correctly" 2019-07-24 00:33:01 -07:00
qctecmdr
f4e4c55412 Merge "asoc: codecs: bolero: Keep track of lpass core votes" 2019-07-24 00:28:26 -07:00
Guodong Hu
2479acceb0 audiodlkm: modify audiodlkm to parse amixer command correctly
0xFFFFFFFF will be parsed as -1.
But as the fourth parameter of SOC_SINGLE_MULTI_EXT(), it denotes 'xmax'
and should be larger than the sixth parameter.
0x7FFFFFFF works fine in this function.

Change-Id: Ie20437f5e1993dac337f52026343383a98db7f5e
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2019-07-20 18:23:43 -07:00
King Tam
4f4ebc9228 dsp: ion_vm: adapt to new interfaces
Add new interfaces stub functions for Dolby security change,
since ion_vm share the same header file with ion.

Change-Id: Iaac5931a9c97eafe1a8cc5980ac70b9a62288faa
Signed-off-by: King Tam <kingt@codeaurora.org>
2019-07-20 13:04:01 -07:00
qctecmdr
0965ec588f Merge "dsp: sleep before sending q6core ready query" 2019-07-20 00:27:03 -07:00
qctecmdr
e2c5fe33f5 Merge "ASoC: wcd938x: Disable hph OCP on traverso" 2019-07-20 00:25:05 -07:00
qctecmdr
25a4898db1 Merge "asoc: Add support for soft volume for mmap playback" 2019-07-20 00:23:34 -07:00
qctecmdr
c0029da107 Merge "ASoC: wcd937x: Disable hph OCP on talos" 2019-07-20 00:21:45 -07:00
qctecmdr
f9797396bd Merge "dsp: voice: Add support for CVD version 2.4" 2019-07-20 00:19:29 -07:00
qctecmdr
134891c906 Merge "asoc: qcs405: Add new dailink for compress capture" 2019-07-20 00:17:31 -07:00
qctecmdr
01292a95ba Merge "asoc: routing: Add support to use compress path for ec ref loopback" 2019-07-20 00:15:35 -07:00
qctecmdr
fa9e9c3ac9 Merge "ASoC: enable dynamic FFECNS effect control" 2019-07-17 05:37:36 -07:00
qctecmdr
68cb5dad61 Merge "Makefile: Fix Extraneous text after `ifeq' directive" 2019-07-17 05:35:35 -07:00
qctecmdr
804e6f28cd Merge "asoc: qcs405: Add DSD over PCM support for csra66x0 codec" 2019-07-17 05:33:05 -07:00
qctecmdr
f93e772992 Merge "asoc: Add DSD over PCM support for csra66x0 codec" 2019-07-17 05:31:12 -07:00
qctecmdr
f51997600c Merge "asoc: codecs: wcd937x: Read and store mic bias value" 2019-07-17 05:29:51 -07:00
qctecmdr
ee224a0ef4 Merge "asoc: codecs: Add variant entry support for wcd937x and wcd938x" 2019-07-17 05:28:03 -07:00
qctecmdr
f9edb75340 Merge "asoc: wcd938x: Reset mbhc detection type after ssr" 2019-07-17 05:25:50 -07:00
qctecmdr
f54169cb34 Merge "ASoC: Kona: Add support for moisture detection" 2019-07-17 05:23:36 -07:00
Dieter Luecking
278e543a32 asoc: csra66x0: Disable volume ramping in codec
CSRA66x0 codec enables internal volume ramping on
power up. This leads to missing audio at beginning
of playback. Disable feature on codec init.

Change-Id: Ib3085cd06eeb2797bee4e74d8e34e5d0b0fa535f
Signed-off-by: Dieter Luecking <dieterl@codeaurora.org>
2019-07-17 09:01:13 +08:00
Faiz Nabi Kuchay
bd1e4dfdbe asoc: codecs: Increase size of proc_name
Increase size of proc_name to prevent buffer overflow in snprintf
function.

Change-Id: I183d2762d2d60c4b40969b1ddce9b4d5588e7051
Signed-off-by: Faiz Nabi Kuchay <fkuchay@codeaurora.org>
2019-07-16 15:55:47 +05:30
Karthikeyan Mani
ac555db98e asoc: codecs: bolero: Keep track of lpass core votes
Unvote lpass audio and hw votes from bolero suspend
only if the voting was done from the corresponding
resume function.

Change-Id: I299b8e5639efe2883980abc5d0904733fbdc5a77
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-07-15 18:01:19 -07:00
Chaithanya Krishna Bacharaju
61b2de686e asoc: routing: Add support to use compress path for ec ref loopback
Add support to use compress path for mic and ec reference data
capture in single stream. Extend PSPD controls for compress
frontend ids. Update compress driver to use latest ADSP APIs
if available.

Change-Id: Icbf9def07cb0a01542fb3b5cd77e74ab53aec683
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
2019-07-15 00:35:57 -07:00
Arun Mirpuri
eafed6ac4b asoc: Add support for soft volume for mmap playback
Send command for soft volume config during pcm prepare of mmap
no irq stream

Change-Id: Iacd4c95633d53ccfe78e8abb11baeedd8b854f26
Signed-off-by: Arun Mirpuri <amirpuri@codeaurora.org>
2019-07-12 10:46:08 -07:00
qctecmdr
89924096d7 Merge "asoc: codecs: wcd938x: add support for micbias pull up mode" 2019-07-12 02:34:44 -07:00
Aditya Bavanari
dc3f7e4680 dsp: voice: Add support for CVD version 2.4
CVD version update is needed to support a new modem
feature. Add support for CVD version 2.4 in internal version
mapping table.

Change-Id: I26627e3c88b424acca8f85696dd58d7ce2e944d9
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-07-11 18:31:59 -07:00
Sudheer Papothi
b2bfcfc756 ASoC: Kona: Add support for moisture detection
Add support for moisture detection with duty cycle on WCD938x codec.

Change-Id: I1e5ceb39f031ea7f7efdd38706845b71b093a479
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-07-10 22:02:11 +05:30
qctecmdr
5a08ced93b Merge "dsp: Remove param_size from pkt_size of apr header" 2019-07-10 04:45:19 -07:00
qctecmdr
dbe7c21a3f Merge "asoc: routing: Extend MultiMedia1 channel controls to support 14channels" 2019-07-10 04:43:25 -07:00
qctecmdr
1c7c420c8e Merge "asoc: Use dma_buf_get along with dma_buf_fd" 2019-07-10 04:40:49 -07:00
Vatsal Bucha
aecce31ce8 ASoC: wcd938x: Disable hph OCP on traverso
OCP is resulting in mute issues during audio playback.
Traverso has surge protection enabled in hw. Thus
OCP can be disabled for traverso.

Change-Id: I5af745e9c1fb41640317a406adff59bcde81c37e
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-07-10 15:36:09 +05:30
Vatsal Bucha
cf5a58f117 ASoC: wcd937x: Disable hph OCP on talos
OCP is resulting in mute issues during audio playback.
Talos has surge protection enabled in hw. Thus
OCP can be disabled for talos.

Change-Id: I5a7fe54ae9e77af65dd9e017b4001f2fac3cfdd4
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-07-10 13:06:44 +05:30
Chaithanya Krishna Bacharaju
757f0d29a2 dsp: Reset ec ref port id after use
Reset ec ref port id to invalid port after use to ensure
it is not picked for other adm sessions.

Change-Id: I802326122ad6dc63c7f2df16169da3f50559202f
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
2019-07-09 21:44:29 -07:00
Chaithanya Krishna Bacharaju
b06327374c asoc: qcs405: Add new dailink for compress capture
Add new dailink for compress capture to support additional
record usecase.

Change-Id: I7244d2e749c398140205d82d88958ce97d4c8764
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
2019-07-09 21:43:58 -07:00
Vatsal Bucha
1d965295d4 asoc: wcd938x: Reset mbhc detection type after ssr
During headset playback if we trigger SSR, headset removal
is not detected. This is because after recovery mbhc
driver expects a new detection event as the driver is reinitialized.
Reset detection type to insertion to retrigger a hw interrupt
for mbhc driver.

Change-Id: Ibf6663f46e7485f5ff5c5968a71c88e59a4728e7
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-07-09 16:40:18 +05:30
Laxminath Kasam
5478daae29 dsp: sleep before sending q6core ready query
After PDR, audio avs services still are initializing state.
Avoid sending q6core command after PD up event immediately,
wait for sometime before sending the q6core ready command.

Change-Id: Ibee38db9ee1a30b7852da3d08cac7b0d06371733
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-07-09 03:58:11 -07:00
Xiaojun Sang
dc9e8c2006 ASoC: enable dynamic FFECNS effect control
Add interface for userspace to control FFECNS effect.

Change-Id: I78010899e6c193726a79d74e86f13a1546106eff
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2019-07-09 15:43:04 +08:00
Dieter Luecking
7911af7024 config: Revert featurization of 32 channel support in DSP
Remove the dependency on dedicated config flag for the
use of new API versions in ASM and ADM open commands.
Dependency is now on ADSP service version only.

Change-Id: I884e04fb6a3c8808e7874aa04967db0c3ca083c1
Signed-off-by: Dieter Luecking <dieterl@codeaurora.org>
2019-07-09 08:41:31 +02:00
Dieter Luecking
9fb7c8c43e dsp: Revert featurization of 32 channel support in DSP
Remove the dependency on dedicated config flag for the
use of new API versions in ASM and ADM open commands.
Dependency is now on ADSP service version only.

Change-Id: I2e7bcec675bafb9ad9e2a10df4ccc1e52bb72c92
Signed-off-by: Dieter Luecking <dieterl@codeaurora.org>
2019-07-09 08:41:04 +02:00
Aditya Bavanari
d37e02049c asoc: codecs: Add variant entry support for wcd937x and wcd938x
Add variant entry support for wcd937x and wcd938x codecs to
differentiate between wcd9370/80 and wcd9375/85 variants.

Change-Id: Ife20d14462a0b0968e0458471af3823872592e10
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-07-08 18:34:57 +05:30
qctecmdr
f57dd4262b Merge "ASoC: Kona: Make addition of aux codec as optional" 2019-07-08 01:31:16 -07:00
Vatsal Bucha
75fbc2d27d asoc: codecs: wcd937x: Read and store mic bias value
Mic bias value is needed in case of special headset
detection logic and the same needs to be read and stored
from device tree to be used by mbhc driver.

Change-Id: I0b120b8bb130a4d101c97e118395a11e74c921af
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-07-08 11:59:50 +05:30