Commit graph

1,949 commits

Author SHA1 Message Date
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
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
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
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
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
qctecmdr
4f42ed04c4 Merge "soc: lpi: check if vote clk is enabled before accessing LPI GPIO" 2019-07-06 08:53:36 -07:00
qctecmdr
e5994a8348 Merge "soc: soundwire: update log type for soundwire" 2019-07-06 08:51:42 -07:00
qctecmdr
42ebbffad4 Merge "asoc: bolero: check if clock is enabled before accessing register" 2019-07-06 08:49:47 -07:00
qctecmdr
330f03de80 Merge "asoc: bolero: force bolero runtime suspend during adsp ssr" 2019-07-06 08:48:33 -07:00
qctecmdr
af5bd75cc6 Merge "dsp: Fix open params for read_compr in IEC61937 mode" 2019-07-06 08:46:51 -07:00
Xiaoyu Ye
d974cf93b1 asoc: codecs: wcd938x: add support for micbias pull up mode
Add support to use micbias pull up mode for SVA DMIC use
cases to lower power consumption.

Change-Id: I5d87b604bb3e588ffec0ae321a55d340c89274fc
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2019-07-05 14:17:27 -07:00
qctecmdr
ae8957e9b4 Merge "audio-driver: configs: Add HDMI Codec for GVM" 2019-07-04 06:00:45 -07:00
qctecmdr
1534fa3eea Merge "dsp: ion: unmap DMA buffer after kernel ion map failure" 2019-07-04 05:58:39 -07:00
qctecmdr
95514749d7 Merge "audio-driver: Update build files for auto LA-GVM" 2019-07-04 05:56:46 -07:00
qctecmdr
5257151bb6 Merge "asoc: codecs: Change TX tuning and reduce RX click and pop" 2019-07-04 05:54:56 -07:00
qctecmdr
76413b65ee Merge "soc: lpi: force lpi runtime suspend during adsp ssr" 2019-07-04 05:52:24 -07:00
qctecmdr
4de5775619 Merge "dsp: Add size check for afe set and get functions" 2019-07-04 05:49:21 -07:00
qctecmdr
9de103a363 Merge "asoc: codecs: bolero: add compander soft reset event" 2019-07-04 04:49:36 -07:00
Romed Schur
b0fe92c09f asoc: Add DSD over PCM support for csra66x0 codec
Configuration added to support stereo DSD over PCM
for csra66x0 codec via I2S interface.

Change-Id: Ibed333e44961a9eb87ef69bfb1e302f5837357d9
Signed-off-by: Romed Schur <rschur@codeaurora.org>
2019-07-04 11:22:59 +02:00