Commit Graph

339 Commits

Author SHA1 Message Date
Vidyakumar Athota
4e6f1e37db asoc: msmnile: update audio mic widgets
Remove unused mic widgets and add new mic widgets
required for msmnile target.

Change-Id: I5e5ed56a80324b48599a00a196d99ed4ab386412
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-03-21 18:28:13 -07:00
Linux Build Service Account
257abe3e99 Merge "asoc: codecs: set boost state to MAX_STATE_2 for WSA8815" 2018-03-21 10:17:17 -07:00
Linux Build Service Account
6438447c30 Merge "dsp: Mark cal block after use" 2018-03-21 04:07:39 -07:00
Linux Build Service Account
ed523bc624 Merge "asoc: wcd934x: update register default values before post SSR" 2018-03-21 01:40:57 -07:00
Linux Build Service Account
3cf90f9a08 Merge "asoc: codecs: add null pointer check for swr control data" 2018-03-21 01:40:55 -07:00
Linux Build Service Account
443e3c2544 Merge "asoc: wcd-mbhc: disable button current source after removal" 2018-03-21 01:40:54 -07:00
Linux Build Service Account
c0f79e7211 Merge "ASoC: wcd9360-dsp-cntl: Limit array size of val" 2018-03-21 01:40:51 -07:00
Linux Build Service Account
d4ba1285d1 Merge "asoc: codecs: update wcd9360 interrupt table size" 2018-03-21 01:40:50 -07:00
Xiaojun Sang
09cd2ac5e9 asoc: codecs: set boost state to MAX_STATE_2 for WSA8815
WSA8815 requires default boost state of MAX_STATE_2, when
speaker protection feature is disabled. Set boost state to
MAX_STATE_2 in all cases for WSA8815.

Change-Id: Ic700d9a206e94a4cdd1d99f8547bed9df1e759e8
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2018-03-21 10:36:31 +08:00
Vidyakumar Athota
b41e711b68 asoc: codecs: update wcd9360 interrupt table size
WCD9360 interrupt table size is invalid. Update it to
correct size.

Change-Id: Ie2ec848d8a75b6889957954c9444d261a70f4c4e
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-03-19 18:17:54 -07:00
Linux Build Service Account
c002ec2d3b Merge "asoc: codecs: remove devm clean up functions" 2018-03-17 06:06:26 -07:00
Vikram Panduranga
770b8383d2 dsp: Mark cal block after use
After applying calibration on DSP, cal block
is marked stale to ensure same calibration is not
reused for future usecase.

Change-Id: I9f446c0602f4ab34ca71b9d2611319624fb19cd2
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2018-03-16 17:54:53 -07:00
Karthikeyan Mani
6bcd94a7ce asoc: wcd-mbhc: disable button current source after removal
After headset removal disable button current source
to not have any voltages output in micbias after
headset removal from extension cable.

Change-Id: I2a751c16c704176381bb26f375aebf351686e911
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-03-16 14:48:59 -07:00
Karthikeyan Mani
24afb6e390 asoc: codecs: add null pointer check for swr control data
Null check is needed before accessing swr control data
to ensure proper error handling in case speaker path
is issued when swr is not enabled.

Change-Id: I5037a912652189b3ae58f1119d0534777a9c264a
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-03-16 14:46:33 -07:00
Vidyakumar Athota
a347bbd7c8 asoc: codecs: remove devm clean up functions
Devm clean up functions are removed to avoid calling twice
as these are excuted during removal of device.

Change-Id: Ifddde69d189b59456ef7627f32532198654e40d3
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-03-15 19:20:14 -07:00
Vidyakumar Athota
7dcd2d585f asoc: codecs: register pahu codec with slimbus
Add pahu-slim-ngd under wcd_slim_device_id list to
register pahu codec with slimbus driver.

Change-Id: I87a9a56087fd1520fe592b39eb142297c2f176e0
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-03-14 16:55:30 -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
Meng Wang
bb4029020d asoc: wcd934x: update register default values before post SSR
Update register default values before post SSR to avoid codec nack issue.

Change-Id: Ibf1e3275d27c4b65ab179b9ddc5a51621c89eab7
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2018-03-08 20:34:24 -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
Vidyakumar Athota
a3030c162c asoc: codecs: wcd9360: add delay after LDO_RXTX enable
Add delay after LDO_RXTX supply is enabled as per
hardware register sequence.

Change-Id: I588d36c6c13ae8f545aba2b2cf6d1c73fde08d0a
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-03-01 16:28:05 -08:00
Rohit kumar
42121f7e09 asoc: msm-cpe-lsm: use kmalloc for slim_port_xfer buffers
Use kmalloc instead of dma_alloc_coherent for slim buffers
to support dma_mapping api in interrupt context.

Change-Id: Idf06832b6a3bb30f6a16c168b4e5e5f13ad0a0ab
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2018-03-01 17:01:19 +08:00
Laxminath Kasam
30ad751aac ASoC: rmmod fixes for audio drivers
For remove module(rmmod), update drivers
to cleanup resources and allow insert module
again without any issue.

Change-Id: Iddc6e5e11d986359afd3100bf3c5eab70cb1c1eb
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2018-03-01 16:02:06 +08:00
Rohit kumar
dd08b3db40 asoc: sdm660: fix tasha lite detection issue
Defer probe of soundcard registration until codec
driver registration is complete to fix detection of
codec version by machine driver.

Change-Id: Ia93404a85c98bd50e63015073284d5bf290a3f9f
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
2018-02-28 23:05:27 -08:00
Laxminath Kasam
3a4607028c ASoC: wcd934x: Update OCP before HPH PA enable/disable
Observe mute issue when PDR triggered while music playback
on HPH. As per HW recommendation, ensure OCP is turned off
before PA enable/disable. During PA enablement, turn off OCP
to avoid false OCP interrupts.

CRs-Fixed: 2167007
Change-Id: I0dc2cc6ded3416b635d14dc3b7aafa7997fe9a4d
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-02-28 21:52:12 -08:00
Ramprasad Katkam
76c5b45e7f asoc: codecs: add a null pointer check in mbhc driver
Add a missing function pointer null check condition in
mbhc driver to avoid null access during fast
insertion-removal.

Change-Id: I6aa64325cea6f7aa551115969d1e6ba184ec8d14
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-02-28 21:51:01 -08:00
Bhalchandra Gajare
b466d183fb ASoC: wcd-spi: ignore failure from clearing the CLK_REQUEST
It is possible that the spi transfer that clears the clock request
on the slave may fail. In such case, it is not safe to assume that
the clock request is still enabled as it can cause failures for
further spi transfers if the clock request is cleared. Fix such
issues by resetting the clock state in the driver even the clock
request clearing fails.

CRs-Fixed: 2169087
Change-Id: I699e72b59b4cb049dfacaa190823796a545f2dbb
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2018-02-28 21:49:38 -08:00
Vidyakumar Athota
9147e38e71 asoc: codecs: update IIR cofficient values before IIR band enable
Currently IIR coefficient values are written to HW everytime when
digital core comes out of power collapse. This increases playback
cold start latency. So update IIR coefficient values before IIR
band enable.

Change-Id: I57ad54b4674ed0a49fdfc55d77c519568f5a7893
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-02-28 21:48:57 -08:00
Vaishnavi Kommaraju
89d1a77802 asoc: codecs: Add mutex lock for CPE session
Add mutex lock to ensure atomic access to core handle
in CPE alloc and dealloc sessions.

CRs-Fixed: 2169403
Change-Id: I7e046f349cc56ee06706cf15651dac3fdfe9d9a6
Signed-off-by: Vaishnavi Kommaraju <vkommara@codeaurora.org>
2018-02-28 21:48:16 -08:00
Xiaoyu Ye
90fa02abb1 asoc: wcd-dsp-utils: add size check for WDSP ELF files
Add size check to make sure the data sizes from WDSP
ELF metadata and the split firmware ELF are the same.

Change-Id: I913087bc352850ceac2fcc07067ea8f480563ae2
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2018-02-28 19:00:28 -08:00
Xiaoyu Ye
ef9ded2e71 asoc: wcd_cpe_core: add size check for WDSP ELF files
Add size check to make sure the data sizes from WDSP
ELF metadata and the split firmware ELF are the same.

Change-Id: I7a1404cd15601d8d503e3355e6dc70e2949df72d
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2018-02-28 18:54:52 -08:00
Karthikeyan Mani
9f66f6f684 asoc: msm: Update routing and FE DAI drivers
Update routing driver with port mixer commands between
primary and secondary interfaces to enable AFE lopback
between them. Update FE DAI driver to add hostless FEs
for primary/secondary Auxpcm and secondary MI2S.

Change-Id: I792e1cf4e0600d3b4726624e29e73e67828a3935
Signed-off-by: Viraja Kommaraju <virajak@codeaurora.org>
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-02-28 18:53:00 -08:00
Karthikeyan Mani
f164580248 asoc: codecs: Fix tavil i2s max rate and cleanup
Change i2s max rate supported for tavil to 384000Hz.
Cleanup usage of intf_type to optimize differentiation
between slim and i2s.

Change-Id: If6451dae7c61e8f61be3d5a13549f98b382e5054
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-02-28 18:50:09 -08:00
Karthikeyan Mani
98d3d590bb asoc: codecs: enable i2s mode for tavil
Add support for tavil i2c access. Add audio
routings dapm widgets for data and control.

Change-Id: I96ebf7a5700b10f294f4fadfeeb21dab490a9313
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-02-28 18:49:19 -08:00
Karthikeyan Mani
57d3b66e17 asoc: codecs: Add i2c interface support for tavil
Add i2c driver node for tavil codec for
i2c communication with the codec.

Change-Id: Ie28dfeca102251265a5f50153c3ba98dae84dde2
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-02-28 18:41:59 -08:00
Vidyakumar Athota
aa0da7448d asoc: codecs: add wcd9360_regmap to the core
Add wcd9360_regmap file compilation in the wcd_core dlkm
to fix symbols mismatch.

Change-Id: I666efc51e9e0eccccc7c3e6c57a456045b37824c
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-02-28 15:19:50 -08:00
Sudheer Papothi
c50fe78896 ASoC: AQT1000: Disable AQT1000 codec driver on msmnile target
Disable AQT1000 codec driver compilation on msmnile target.

Change-Id: I55d47e7f29f26883eb045e0946e870fc67a0960a
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-03-01 04:38:30 +05:30
Phani Kumar Uppalapati
585fa1240f ASoC: msmnile: enable MBHC support for msmnile target
Add MBHC calibration parameters and enable MBHC support
for msmnile platform.

Change-Id: I09be59f806833464dd2381f248fa715ddd5663c1
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2018-02-28 11:06:49 -08:00
Linux Build Service Account
da56c67bc4 Merge "codecs: wcd9360: Add AQT based dais in WCD9360 codec driver" 2018-02-26 18:55:41 -08:00
Karthikeyan Mani
95668549c8 asoc: codecs: change mic bias enum names
Change mic bias enum names to be specific to codec
to avoid conflict with mbhc mic bias enum.

Change-Id: I7bae83aafd72753eaedebd533364ec404a54977a
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-02-26 15:38:25 -08:00
Vaishnavi Kommaraju
0754cfc272 ASoC: wcd9360-dsp-cntl: Limit array size of val
Limit size of val to WCD_MISCDEV_CMD_MAX_LEN to avoid stack overflow.

CRs-Fixed: 2177167

Change-Id: Ia0f5e3c5a786d06dbb7f0523a1d1919e93081f69
Signed-off-by: Vaishnavi Kommaraju <vkommara@codeaurora.org>
2018-02-23 11:55:08 +05:30
Vaishnavi Kommaraju
7aeddaf315 ASoC: wcd934x-dsp-cntl: Limit array size of val
Limit size of val to WCD_MISCDEV_CMD_MAX_LEN to avoid stack overflow.

CRs-Fixed: 2177167
Change-Id: I5d2b91e92305d6a485b2e8f959036504f0f55b13
Signed-off-by: Vaishnavi Kommaraju <vkommara@codeaurora.org>
2018-02-23 11:52:11 +05:30
Meng Wang
028ed8cc95 ASoC: msm: add support for quinary mi2s
Add support for quinary mi2s/auxpcm/tdm for msmnile target.

Change-Id: I0cbfa98129e6181662f7555735173eded12a0bf7
Signed-off-by: Meng Wang <mwang@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-02-22 13:29:09 -08:00
Linux Build Service Account
ac2dc56aaf Merge "ASoC: AQT1000: Fix return value and add config to include files" 2018-02-22 09:37:36 -08:00
Linux Build Service Account
f8f1924bad Merge "ASoC: msm-cdc-pinctrl: Add stub function for pinctrl get function" 2018-02-22 09:37:35 -08:00
Linux Build Service Account
505012f314 Merge "ASoC: msm: add dailinks for msmnile machine driver" 2018-02-22 09:37:34 -08:00
Sudheer Papothi
90d7b490c9 ASoC: AQT1000: Fix return value and add config to include files
Fix return value in aqt_codec_info_create_codec_entry function
to return proper value and add target config to include files

Change-Id: I063e199b1bf0e672b5afc20ed7de8447eed35dd4
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-02-22 15:48:39 +05:30
Meng Wang
e161119e92 ASoC: msm: add dailinks for msmnile machine driver
Add ALSA dailinks for supporting various audio/voice
use cases for msmnile target.

Change-Id: If300b2c94e72414a657f30691cdfcb0d0a3b9a13
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-02-22 02:01:01 -08:00
Sudheer Papothi
14a1fecf2f ASoC: msm-cdc-pinctrl: Add stub function for pinctrl get function
Add stub function for msm pinctrl get function
when msm pinctrl configuration is not defined.

Change-Id: I5229dd804025e328471f0fd35cff33a69d47b2dd
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-02-22 11:42:12 +05:30
Sudheer Papothi
085a654371 ASoC: AQT1000: DLKM support for AQT1000 driver
Add build configuration to compile AQT1000 driver for
msmnile target.

Change-Id: Ia5b43544a2247c53458fd5585d62152d0e9fd3a7
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-02-21 04:59:47 +05:30
Sudheer Papothi
e788b89d8b codecs: wcd9360: Add AQT based dais in WCD9360 codec driver
WCD9360 codec acts as an interface between AQT codec and
msmnile CPU DAI. Add AQT based playback and capture dais in
WCD9360 codec driver.

Change-Id: Ic780dd336a775dbb48a1d3ada90029763ac7a657
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-02-17 10:58:45 +05:30
Linux Build Service Account
e6cc518da8 Merge "ASoC: AQT1000: Add support for MBHC hardware in AQT1000 codec" 2018-02-16 16:05:52 -08:00
Linux Build Service Account
b7da83b2b8 Merge "ASoC: AQT1000: Add API for adjusting the micbias voltage on AQT1000" 2018-02-16 16:05:51 -08:00