Commit Graph

1236 Commits

Author SHA1 Message Date
qctecmdr
ac2cc5456a Merge "asoc: routing: Add controls to set custom matrix channel mapping" 2019-06-17 21:06:45 -07:00
qctecmdr
1dffa77438 Merge "asoc: bolero: reset all clks after SSR/PDR" 2019-06-17 21:04:15 -07:00
qctecmdr
647c7e4d00 Merge "ASoC: Add mixer control path for AFE loopback for Voice Call" 2019-06-17 20:58:12 -07:00
qctecmdr
870d24e0e5 Merge "asoc: udpate qcs405 compress playback dai ops" 2019-06-17 20:55:31 -07:00
qctecmdr
9e87a22bd7 Merge "asoc: Enable digital_mute to support excursion logging" 2019-06-17 20:53:12 -07:00
qctecmdr
e3c45885f5 Merge "asoc: sm6150: Fix MCLK enable/disable sequence in MI2S slave mode" 2019-06-17 20:50:24 -07:00
qctecmdr
b3fb4d1162 Merge "asoc: msm-lsm-client: Initialize started flag in open" 2019-06-17 20:48:21 -07:00
qctecmdr
34e19c301a Merge "ASoC: Kona: Avoid static route between cpu and codec dai" 2019-06-17 20:46:29 -07:00
qctecmdr
d0a1937cbb Merge "asoc: kona: Fix to apply wsa8810 gain settings" 2019-06-17 20:44:52 -07:00
qctecmdr
3c4721396e Merge "asoc: Update max channels for TDM ports" 2019-06-17 20:42:24 -07:00
qctecmdr
4298c94f33 Merge "asoc: qcs405: Extend cdc dma tx channel count enum to 16" 2019-06-17 20:37:26 -07:00
qctecmdr
fc0e7339fa Merge "asoc: add support to set ADM channels for SLIM_9_TX port" 2019-06-17 20:35:35 -07:00
qctecmdr
2214928d9f Merge "asoc: bolero: remove extra semi-colon to avoid compile error" 2019-06-17 20:33:06 -07:00
qctecmdr
48671babab Merge "asoc: wcd938x: Enable watchdog interrupt" 2019-06-17 20:27:58 -07:00
qctecmdr
45b4733d63 Merge "asoc: codecs: defer probe if soundwire pin is not ready" 2019-06-17 20:25:32 -07:00
qctecmdr
6f4c0d9e6d Merge "ASoC: codecs: update for AUX, ear and HPH paths" 2019-06-17 20:22:42 -07:00
qctecmdr
e97d41b653 Merge "asoc: codecs: wcd938x: Fix volatile register function" 2019-06-17 20:18:18 -07:00
qctecmdr
2251014fc6 Merge "asoc: codecs: Add support for class ab low power modes" 2019-06-17 20:16:35 -07:00
qctecmdr
57c8619aed Merge "asoc: codecs: add support to disable soundwire devices" 2019-06-17 20:11:54 -07:00
qctecmdr
eb3ef92f6b Merge "asoc: wcd938x: initialize micb lock mutex" 2019-06-17 20:09:11 -07:00
Aditya Bavanari
d92c7df9d0 asoc: sm6150: Fix MCLK enable/disable sequence in MI2S slave mode
Set enable/disable flag properly before sending the clk request
to ADSP in MI2S slave mode.

Change-Id: I4a145b1765b19b2eb708a52a35b51032f540fb2d
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-06-16 17:50:42 -07:00
Dhanalakshmi Siddani
48b8811c2f asoc: Update max channels for TDM ports
Update max channels supported for TDM ports from 8 to 16.

Change-Id: I3d3b42983fff22e0102b9eb2aaca1a5698820605
Signed-off-by: Dhanalakshmi Siddani <dsiddani@codeaurora.org>
2019-06-16 17:49:56 -07:00
Faiz Nabi Kuchay
0e2cda8fab asoc: Enable digital_mute to support excursion logging
Enable digital_mute for SLIMBUS_0_RX to support
excursion logging feature.

Change-Id: Icc64f5fdf245c4239683872ff65a1f2fa6dc88e2
Signed-off-by: Faiz Nabi Kuchay <fkuchay@codeaurora.org>
2019-06-16 17:48:43 -07:00
Erin Yan
2f81be27d8 asoc: adapt channel mixer usage to tinymix
Tinymix set the array value of the mixer control one by one. The
channel number validation check here will cause failure in tinymix.
Allow 0 value here is fine because the parameters will be checked
before they are set at runtime.

Change-Id: I49c23f84aa081550434696dde96d2800e90390fb
Signed-off-by: Erin Yan <xinyey@codeaurora.org>
2019-06-16 17:47:03 -07:00
Chaithanya Krishna Bacharaju
e48fb2b1d9 asoc: routing: Add controls to set custom matrix channel mapping
Add controls to set custom matrix output channel mapping to override
default channel mapping.

Change-Id: If50c839c7828528cdb2b1ab18a36204c9406b3e9
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
2019-06-16 17:45:50 -07:00
Surendar Karka
25e77dd111 asoc: add support to set ADM channels for SLIM_9_TX port
In split A2DP sink ADM channels is set to mono based
on BE config. Add support to set ADM channels based
on decoder config received from BT IPC library.

Change-Id: I3925b805593871d420f4cfd3ce4b87adb0e03272
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2019-06-16 17:44:14 -07:00
Dhananjay Kumar
de1ce572ce asoc: udpate qcs405 compress playback dai ops
Currently only Compress2 stream is using hw params as async ops
and hence the startup latency and setup sequence varies for this
usecase as compared to other compress playback streams.
Update qcs405 compress playback dai ops to mark hw params as async
for all compress playback FE dai entries, so that all compressed
playback streams have uniform latency and setup sequence.

Change-Id: Iac965b0ca1c059c49b9b0a985f70df7d382f7446
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
2019-06-16 17:42:43 -07:00
Chaithanya Krishna Bacharaju
a840a230aa asoc: qcs405: Extend cdc dma tx channel count enum to 16
Extend cdc dma rx channel count enum values to 16 from 8 to support
16channel capture usecases.

Change-Id: If5498dded543f72c4fafceee3ddbe3217b08d258
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
2019-06-16 17:39:40 -07:00
Suprith Malligere Shankaregowda
467f2c9c7b ASoC: Add mixer control path for AFE loopback for Voice Call
Add mixer control for AFE loopback for
External Modem based Voice call support.

Change-Id: I379187b9b013a9c97cce3eab6a5a254e102d5ef2
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
2019-06-16 17:33:32 -07:00
Karthikeyan Mani
326536d1d6 asoc: codecs: defer probe if soundwire pin is not ready
Defer codec macro probes if soundwire pins are not
ready to be accessed yet during boot up.

Change-Id: I20173e49043a076d73cdbb811863afbff87d4a3b
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-06-11 17:48:35 -07:00
Karthikeyan Mani
3dd19d0b73 asoc: wcd938x: initialize micb lock mutex
Micb lock which is used to synchronize micbias
control api is not initialized causing spin lock
errors. Initialize the mutex to avoid the issue.

Change-Id: I98c50fec8e8531333de643a85433d3e5973bfd14
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-06-11 17:48:14 -07:00
Karthikeyan Mani
9e013b2d5a asoc: codecs: wcd938x: Fix volatile register function
Fix the volatile register function to return false
if the registers are not volatile so that the reads
will happen from cache and this improves read timing.

Change-Id: I73149be3855be09a71ad61a6f3143038a7ba029b
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-06-11 17:48:04 -07:00
Karthikeyan Mani
17bea6ec6f asoc: wcd938x: Enable watchdog interrupt
Handle PDM watchdog interrupt. Enable watchdog
before analog PA is enabled and disable it
after analog PA is disabled so as to prevent false alarms.

Change-Id: Id45dee1a150c471d1bb29b9bfed9f416b8454a5f
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-06-11 17:47:42 -07:00
Karthikeyan Mani
31231c306d ASoC: codecs: update for AUX, ear and HPH paths
Add updates to AUX control registers and headphone
and ear path power mode registers.

Change-Id: I7a6b0f23a28a6ab9189c946a78a2f376937d7509
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-06-11 17:47:27 -07:00
Karthikeyan Mani
7f609a3ca0 asoc: codecs: Add support for class ab low power modes
Add codec enable and disable sequences for class ab
low power modes.

Change-Id: If5b54075985c2d4d1a24423c03e78bee119862bc
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-06-11 17:47:21 -07:00
Meng Wang
8db822a261 asoc: bolero: remove extra semi-colon to avoid compile error
Remove extra semi-colon from wsa_macro_set_spkr_gain_offset to
avoid compile error when wsa-macro is disabled.

Change-Id: Ic94e78822639d70a365c714ad7dd0b2091de8179
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-06-11 10:46:48 +08:00
Karthikeyan Mani
3bd80a59b2 asoc: codecs: add support to disable soundwire devices
Add changes to support disabling of soundwire devices
so that soundwire pins can be freed for other purposes
if needed.

Change-Id: Iae14d43c2c3d5380347be4c3b443c209b2612a97
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-06-10 17:14:36 -07:00
Zhou Song
c63ec8cd8f asoc: dsp: add missing mixer for 'TWS Channel Mode'
'TWS Channel Mode' is missed due to afe_enc_config_controls
size changed.

Change-Id: Id6a08a7b360364bc94a6786f967ccc191666cefe
Signed-off-by: Zhou Song <zhous@codeaurora.org>
2019-06-10 06:33:21 -07:00
qctecmdr
7ce7820fac Merge "asoc: bolero: restore all codec registers after SSR" 2019-06-10 06:08:09 -07:00
qctecmdr
a5dfac0270 Merge "asoc: wcd938x: reinit registers after SSR" 2019-06-10 05:56:48 -07:00
Meng Wang
8ef0cc2ed4 asoc: bolero: reset all clks after SSR/PDR
After SSR/PDR, the lpass clocks will be in off state. Force restart
clocks after SSR/PDR, if enabled before SSR/PDR, to reenable the clocks.

Change-Id: I3d850d92bdc6324aa7a64a83a9066f388a85c7f7
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-06-06 08:45:19 +08:00
Meng Wang
bb5e0e9d93 asoc: kona: Fix to apply wsa8810 gain settings
Update wsa aux codec matching logic in machine driver
to apply proper gain settings for wsa8810 variant.
Add null check for aux component name to avoid dereference.

Change-Id: Ie332f8e37a2d6b7a250fe299df91fa9cf9d7636b
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-06-05 15:24:39 +08:00
qctecmdr
988afa4fca Merge "asoc: adding machine driver for sa6155" 2019-06-04 18:09:53 -07:00
qctecmdr
05c72dcca4 Merge "asoc: codecs: bolero: do not limit boost levels" 2019-06-04 18:02:06 -07:00
qctecmdr
a3e3e26667 Merge "ASoC: codecs: Add support for LPASS Audio HW vote" 2019-06-04 17:59:13 -07:00
Rahul Sharma
02bee73b77 asoc: adding machine driver for sa6155
add separate machine driver for sa6155 and necessary
interface changes.

Change-Id: Ie9e498c3e3ccb99af01458f7604f822a11c54e67
Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
2019-06-02 18:46:46 -07:00
qctecmdr
da4b9b30ca Merge "asoc: bolero: do not disable tx macro clk during SSR/PDR" 2019-05-31 08:55:12 -07:00
qctecmdr
c2cab39530 Merge "ASoC: bolero: Fix issue in clock sequence during VA concurrency" 2019-05-31 08:51:17 -07:00
qctecmdr
424eebc320 Merge "asoc: fix silence data during concurrent capture" 2019-05-31 08:46:49 -07:00
qctecmdr
2fc4f93e2f Merge "ASoC: msm: add lpi support for tdm/mi2s" 2019-05-31 08:44:49 -07:00