Commit Graph

385 Commits

Author SHA1 Message Date
Linux Build Service Account
4ccd0ee676 Merge "dsp: update dma_buf cache ops" 2018-03-14 17:14:31 -07:00
Linux Build Service Account
5d5790373e Merge "ASoC: Change PRODUCT_OUT to OUT in Kbuild" 2018-03-12 12:13:54 -07:00
Linux Build Service Account
175101e705 Merge "asoc: msmnile: add usbc analog handle parsing" 2018-03-09 22:40:01 -08:00
Linux Build Service Account
c33373ce6a Merge "asoc: wcd-mbhc: add support for usbc analog audio on msmnile" 2018-03-09 07:37:55 -08:00
Linux Build Service Account
cc4844484e Merge "ASoC: Add Euro usb-c analog support for sdm670 internal codec" 2018-03-09 07:37:54 -08:00
Linux Build Service Account
841136de69 Merge "asoc: sdm660: Add new dais for multiple record session" 2018-03-09 03:24:45 -08:00
Linux Build Service Account
15751124fa Merge "asoc: Add new dais to support compress record" 2018-03-09 03:24:44 -08:00
Karthikeyan Mani
a29178a08e asoc: msmnile: add usbc analog handle parsing
Add change to parse fsa handle in machine driver
to use it to call gnd/mic swap api of fsa driver.

Change-Id: Ie9c2aede45138b0d4e3bf94f11feccab47874223
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-03-08 12:06:27 -08:00
Phani Kumar Uppalapati
8fe02478b7 asoc: wcd-mbhc: add support for usbc analog audio on msmnile
Add support for usbc analog audio for msmnile platform
by adding fsa driver calls in mbhc driver to make
any switching orientation changes of gnd/mic.

Change-Id: Iab7511907325a24345734402c10a4cf5f8ebfa23
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2018-03-08 12:02:18 -08:00
Linux Build Service Account
d6a2b8187f Merge "ASoC: Update config of SND_HWDEP" 2018-03-08 04:02:54 -08:00
Linux Build Service Account
f1ed0f04bf Merge "ASoC: Fix WSA enumeration failure" 2018-03-08 04:02:53 -08:00
Linux Build Service Account
c074832bff Merge "asoc: wcd934x: optimize ANC enablement logic for Tavil codec" 2018-03-08 04:02:52 -08:00
Linux Build Service Account
16b93f5551 Merge "dsp: Change default topology for voice Tx path" 2018-03-08 04:02:51 -08:00
Xiaoyu Ye
3bda9b1de1 asoc: wcd934x: optimize ANC enablement logic for Tavil codec
In Tavil driver, both ANC0 and ANC1 channel registers are written when
each ANC channel is enabled. This logic results in high latency during
ANC enablement on Tavil codec. Optimize this logic by only writing the
corresponding channel registers when enabling ANC0 or ANC1.

Change-Id: I62e8572967e6ca6c851cbaaad5f1b8c19e5b1a5f
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2018-03-07 17:25:34 -08:00
Meng Wang
e61ddb01f8 ASoC: Change PRODUCT_OUT to OUT in Kbuild
Update module symbol folder from PRODUCT_OUT to OUT.

Change-Id: I4542c3d2b5e9e39b69f15954ef425c1915a58456
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2018-03-07 11:18:35 +08:00
Vignesh Kulothungan
87f926a612 ASoC: dsp: Fix LPASS clock timeout issue
LPASS set clock time command times out because afe callback
was waking up the incorrect wait queue. Use the appropriate
index instead of the global index for wake up.

CRs-Fixed: 2151551
Change-Id: I2d4f4c477913a9513ffae2992ecf777f7a3ed60d
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-03-06 10:40:03 -08:00
Linux Build Service Account
8e490a16e1 Merge "ASOC: wcd934x: Fix finding of correct AMIC" 2018-03-06 09:03:15 -08:00
Linux Build Service Account
1ade31441a Merge "asoc: msm-cpe-lsm: use kmalloc for slim_port_xfer buffers" 2018-03-06 00:11:21 -08:00
Linux Build Service Account
25f8bfc04a Merge "ASoC: AQT1000: Fix hardware sequence for AQT1000" 2018-03-06 00:11:20 -08:00
Linux Build Service Account
d4e99f4fc9 Merge "ASoC: msmnile: Add support for WCD934x codec on msmnile target" 2018-03-05 19:47:24 -08:00
Vatsal Bucha
a74bac9050 ASoC: Add Euro usb-c analog support for sdm670 internal codec
Euro usb-c analog support is not present in machine driver
for sdm670. Add support for corresponding gpio
so that usb-c analog headset is reported correctly.

CRs-Fixed: 2164436
Change-Id: I4bf73a9f13b7b8193289706ac21f96c557503fd8
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-03-06 11:10:30 +08:00
Linux Build Service Account
65a1efdc28 Merge "ASoC: wcd9360: Fix re-definition errors due to dynamic detection" 2018-03-05 14:10:13 -08:00
Linux Build Service Account
ca201420ca Merge "ASoC: dsp: Update audio effects driver to support Instance ID" 2018-03-05 14:10:08 -08:00
Linux Build Service Account
7f1bb371ec Merge "ASoC: dsp: Update ADM driver to support Instance ID" 2018-03-05 14:10:08 -08:00
Linux Build Service Account
ec5e473d7e Merge "ASoC: dsp: Update AFE driver to support Instance ID" 2018-03-05 14:10:07 -08:00
Sudheer Papothi
ca7ca2c804 ASOC: wcd934x: Fix finding of correct AMIC
During Tx path enablement, amic information is needed for proper
power level settings and for better performance. Existing API returns
incorrect amic information. Changes provide the correct amic information.

Change-Id: I18f3f35212cae47e5d944c2e075f03889147722b
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-03-05 13:24:15 -08:00
Sudheer Papothi
8bb6f40917 ASoC: AQT1000: Fix hardware sequence for AQT1000
Fix hardware sequence for AQT1000 as per hardware
requirements to bring codec out of reset for playback
and capture usecases on headset.

Change-Id: I7419aec36aefc2887583308a60d1ea246d000469
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-03-05 18:24:25 +05:30
Sudheer Papothi
15a617e254 ASoC: msmnile: Add support for WCD934x codec on msmnile target
Add frontend and backend dailinks for playback and capture paths
of WCD934x codec and runtime detection support of WCD934x codec
and WCD9360 codec on msmnile target.

Change-Id: Iff189a89c6515a6196714a00d21a0fb4de939e3f
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-03-05 18:07:49 +05:30
Linux Build Service Account
e542fb699a Merge "ASoC: config: Enable configuration for WCD934x codec" 2018-03-05 00:58:01 -08:00
Vignesh Kulothungan
fa497d2051 ASoC: dsp: Update audio effects driver to support Instance ID
Add support to set and get audio effects module params with
Instance ID support. Maintain support for non
Instance ID set and get param structures as well.
Use common pack and set param functions to set and
get parameters to DSP instead of handling them at an
individual module level.

CRs-Fixed: 2151551
Change-Id: I0fdba2560950c931a2ec6f152499fd4bb9f59086
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-03-04 23:22:34 -08:00
Vignesh Kulothungan
f20d5b7ea5 ASoC: dsp: Update ASM driver to support Instance ID
Add support to set and get ASM module params with
Instance ID support. Maintain support for non
Instance ID set and get param structures as well.
Use common pack and set param functions to set and
get parameters to DSP instead of handling them at an
individual module level.

CRs-Fixed: 2151551
Change-Id: I633ce10a83d9033d42fadb7bad0b26842459df84
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-03-04 23:22:19 -08:00
Vignesh Kulothungan
916967ba22 ASoC: dsp: Update dap driver to support Instance ID
Add support to set and get dap modules params with
Instance ID support for both Dolby and DS2.
Maintain support for non Instance ID set and get param
structures as well. Use common pack and set param
functions to set and get parameters to DSP instead of
handling them at an individual module level.

CRs-Fixed: 2151551
Change-Id: I1633b63a1a598c0e4ea874d00655b09a240a47e3
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-03-04 23:21:47 -08:00
Vignesh Kulothungan
60cc03517f ASoC: dsp: Update ADM driver to support Instance ID
Add support to set and get ADM module params with
Instance ID support. Maintain support for non
Instance ID set and get param structures as well.
Use common pack and set param functions to set and
get parameters to DSP instead of handling them at an
individual module level.

CRs-Fixed: 2151551
Change-Id: I5ef920448dd827d8a315e248087997f703061263
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-03-04 23:21:10 -08:00
Vignesh Kulothungan
1ccc875287 ASoC: dsp: Update rtac driver to support Instance ID
Add support to set and get rtac params with
Instance ID support. Maintain support for non
Instance ID set and get param structures as well.
Use common pack and set param functions to set and
get parameters to DSP instead of handling them at an
individual module level.

CRs-Fixed: 2151551
Change-Id: Ic96e83477e72dc5ffa4d87a1e98c34814bbd0b8d
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-03-04 23:07:03 -08:00
Vignesh Kulothungan
85073c0432 ASoC: dsp: Update AFE driver to support Instance ID
Add support to set and get AFE module params with
Instance ID support. Maintain support for non
Instance ID set and get param structures as well.
Use common pack and set param functions to set and
get parameters to DSP instead of handling them at an
individual module level.

CRs-Fixed: 2151551
Change-Id: I15dac800bdf7f860d0fbeeff86f986c42a9eae34
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-03-04 23:06:32 -08:00
Sudheer Papothi
e882fea9cd ASoC: wcd9360: Fix re-definition errors due to dynamic detection
Enablement of WCD934x and WCD9360 codecs for dynamic detection
results in redefinition errors due to same enums and API definition
in WCD934x and WCD9360 codec drivers. Resolve the same.

Change-Id: Ifed50dc1df0562ba62b14187597cad2bed6c1115
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-03-05 10:54:23 +05:30
Sachin Mohan Gadag
b52a3775e2 asoc: sdm660: Add new dais for multiple record session
Add new dais to support multiple record session in
compress path.

CRs-Fixed: 2167556
Change-Id: I2020adc2fd2e56e7ad76529e53a772963a64cdd9
Signed-off-by: Sachin Mohan Gadag <sgadag@codeaurora.org>
2018-03-04 18:55:16 -08:00
Sachin Mohan Gadag
7c944235ae asoc: Add new dais to support compress record
Add new dais to support compress record usecase.
Update media_encoder_format api to v4 version in
compress driver.

CRs-Fixed: 2167556
Change-Id: I8a2f8a4cdcec4bb31ad94730eb4f1259e800c70c
Signed-off-by: Sachin Mohan Gadag <sgadag@codeaurora.org>
2018-03-04 18:54:41 -08:00
Laxminath Kasam
9a8caf4aaf ASoC: Update config of SND_HWDEP
As CONFIG_SND_HWDEP is defined by default
in kernel tree, msm-pcm-routing-devdep.c file
in audio drivers gets compiled always.
Use CONFIG_SND_HWDEP_ROUTING config instead of
CONFIG_SND_HWDEP to compile msm-pcm-routing-devdep.c
file.

Change-Id: I19c4b0a56dbe6c4890ece645fcf100687f762f5d
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2018-03-05 10:49:38 +08:00
Vikram Panduranga
d5a6778200 dsp: Change default topology for voice Tx path
Assign default topology to NULL topology instead of ECNS topology
for voice Tx path.

Change-Id: Ie39711b43b5d94ee93debc3054c26445e7583d70
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2018-03-03 23:26:26 -08:00
Vignesh Kulothungan
cc3ff17850 ASoC: dsp: Update voice driver to support Instance ID
Add support to set and get voice module params with
Instance ID support. Maintain support for non
Instance ID set and get param structures as well.
Use common pack and set param functions to set and
get parameters to DSP instead of handling them at an
individual module level.

CRs-Fixed: 2151551
Change-Id: I045e27710d69304f234ace1ff6c80afdd4a4041c
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-03-03 15:16:04 -08:00
Vignesh Kulothungan
a65e3010a2 ASoC: dsp: Update LSM driver to support Instance ID
Add support to set and get LSM module params with
Instance ID support. Maintain support for non
Instance ID set and get param structures as well.

CRs-Fixed: 2151551
Change-Id: Id9aa5ee89bab1a4e15ff1f7868bceb42d6c25d19
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-03-03 15:14:56 -08:00
Vignesh Kulothungan
13d0d3561f ASoC: dsp: Add utility function needed for Instance ID
Add common structures and definitions used to support
instance ID.
Add helper function to populate header based on instance ID
support and pack it with payload data.

CRs-Fixed: 2151551
Change-Id: If9b7e497d0e8fdfed7d62a1ee34c415baabdda07
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-03-03 15:14:32 -08:00
Vignesh Kulothungan
5c10992ad9 ASoC: Expose APIs to get and set Instance ID support
Expose APIs to get and set instance ID support by exposing a
mixer control for userspace to set the support status as well
as APIs for kernel components to querry for instance ID support.

CRs-Fixed: 2151551
Change-Id: I3b462a4c0f31152a2865af8f4e9664a6c4d324c3
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-03-03 15:14:11 -08:00
Linux Build Service Account
a2060b3fa2 Merge "ASoC: msmnile: enable MBHC support for msmnile target" 2018-03-03 07:19:53 -08:00
Linux Build Service Account
19bbaa8699 Merge "asoc: msm: Update routing and FE DAI drivers" 2018-03-03 04:24:02 -08:00
Banajit Goswami
d188b9586c dsp: update dma_buf cache ops
Update the API call sequence for cache operation for dma_buf.

Change-Id: I79ee36d083460b47c792120a857e92f26d9e3fe2
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
2018-03-03 01:24:56 -08:00
Linux Build Service Account
9ebd03032c Merge "ASoC: rmmod fixes for audio drivers" 2018-03-02 23:16:37 -08:00
Linux Build Service Account
b791b138c6 Merge "swr-wcd-ctrl: update soundwire slave logical device number" 2018-03-02 23:16:36 -08:00
Linux Build Service Account
fac3091df1 Merge "asoc: sdm660: fix tasha lite detection issue" 2018-03-02 23:16:35 -08:00