Commit Graph

270 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Linux Build Service Account
9ebd03032c Merge "ASoC: rmmod fixes for audio drivers" 2018-03-02 23:16:37 -08:00
Linux Build Service Account
fac3091df1 Merge "asoc: sdm660: fix tasha lite detection issue" 2018-03-02 23:16:35 -08:00
Linux Build Service Account
3968f84b45 Merge "ASoC: wcd934x: Update OCP before HPH PA enable/disable" 2018-03-02 23:16:33 -08:00
Linux Build Service Account
3162dd4812 Merge "asoc: codecs: add a null pointer check in mbhc driver" 2018-03-02 23:16:32 -08:00
Linux Build Service Account
ff7151c4fc Merge "asoc: codecs: Add mutex lock for CPE session" 2018-03-02 23:16:30 -08:00
Linux Build Service Account
d72f26167d Merge "ASoC: wcd-spi: ignore failure from clearing the CLK_REQUEST" 2018-03-02 23:16:28 -08:00
Linux Build Service Account
43667ec287 Merge "asoc: codecs: update IIR cofficient values before IIR band enable" 2018-03-02 23:16:27 -08:00
Linux Build Service Account
c637a41394 Merge "asoc: wcd-dsp-utils: add size check for WDSP ELF files" 2018-03-02 23:16:26 -08:00
Linux Build Service Account
1c4fdf20c6 Merge "asoc: wcd_cpe_core: add size check for WDSP ELF files" 2018-03-02 23:16:25 -08:00
Linux Build Service Account
29653431ab Merge "asoc: codecs: Fix tavil i2s max rate and cleanup" 2018-03-02 23:16:23 -08:00
Linux Build Service Account
e0a249812a Merge "asoc: codecs: Add i2c interface support for tavil" 2018-03-02 23:16:22 -08:00
Linux Build Service Account
30b55459e3 Merge "asoc: codecs: wcd9360: add delay after LDO_RXTX enable" 2018-03-02 23:16:21 -08:00
Linux Build Service Account
143c9d511c Merge "ASoC: AQT1000: Disable AQT1000 codec driver on msmnile target" 2018-03-02 23:16:19 -08:00
Linux Build Service Account
88427fb5bc Merge "asoc: codecs: add wcd9360_regmap to the core" 2018-03-02 23:16:19 -08:00
Sudheer Papothi
cc0a22d9d1 ASoC: wcd934x: Add support for WCD934x on msmnile target
Add support for WCD934x codec on msmnile target for audio
playback and capture usecases.

Change-Id: Ia91fd532fcb3a127941f8dc7ba42aecea17a5ec2
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-03-02 11:38:29 -08:00
Linux Build Service Account
2ee562b5ee Merge "asoc: codecs: change mic bias enum names" 2018-03-02 00:51:03 -08:00