Commit Graph

1252 Commits

Author SHA1 Message Date
Timothy Sham
4a6979f60e audio-driver: Update build files for auto LA-GVM
enable conditional build for audio driver modules for
automotive LA GVM.

Change-Id: I058f3e6ca557f8ca6d02e33e80f6c190b1a2a29e
Signed-off-by: Timothy Sham <tsham@codeaurora.org>
2019-06-25 13:11:38 -07:00
qctecmdr
5a2bcfb472 Merge "audio-driver: Update build files for LA automotive" 2019-06-25 07:38:18 -07:00
qctecmdr
3ca4cb7d68 Merge "ASoC: msm: add slot offset for QUAT and QUIN TDM" 2019-06-25 07:36:48 -07:00
qctecmdr
8ee9beda4d Merge "ASoC: msm: enable tdm pinctrl config on 8155 machine" 2019-06-25 07:34:19 -07:00
qctecmdr
9d2c763b36 Merge "asoc: wcd938x: wakeup device during headset detection" 2019-06-22 11:15:10 -07:00
qctecmdr
c8c7d94214 Merge "ASoC: bolero: tx-macro: Update VA macro clock sequence" 2019-06-22 11:15:10 -07:00
Sudheer Papothi
6a9cb8b6bd asoc: wcd938x: wakeup device during headset detection
Use soundwire device wakeup API to wakeup soundwire master
during headset plug detection.

Change-Id: Icddd558df382146bb2989926d2e92e627b5a844f
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-06-21 21:29:49 -07:00
qctecmdr
a74c6e2c7c Merge "ASoC: wcd938x: Update DMIC enable sequence on WCD938x" 2019-06-21 03:37:08 -07:00
qctecmdr
644ead80f7 Merge "ASoC: bolero: Remove unused audio map routings in bolero" 2019-06-21 03:33:04 -07:00
Sudheer Papothi
296867b416 ASoC: bolero: tx-macro: Update VA macro clock sequence
Update VA macro clock sequence for headset detection during
voice activation usecase to avoid soundwire bus clash interrupts.

Change-Id: Ic004d43aef9c8a9003b3028c122e6fb6a06fa58d
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-06-21 08:25:29 +05:30
Cong Tang
1fa4e0449c audio-driver: Update build files for LA automotive
enable conditional build for audio driver modules for LA
automotive.

Change-Id: Ifb18ea6f8af531a99e29904c2245424657b42df7
Signed-off-by: Cong Tang <congt@codeaurora.org>
2019-06-20 13:50:31 -07:00
Rahul Sharma
51181d078e ASoC: msm: add slot offset for QUAT and QUIN TDM
add channel slot offset for QUAT and QUIN TDM
and add backend dai links for QUIN TDMs.

Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
Change-Id: I3f67e33d0b7ea69a000f74363b7b0dc54c50d94c
2019-06-20 13:23:00 -07:00
Derek Chen
6208d04bd4 ASoC: msm: enable tdm pinctrl config on 8155 machine
Enable dynamic TDM pinctrl configuration based
on CPU DAI activity on auto 8155 machine drv.

Change-Id: I31ada624f043653018624cdae0542c76dcc1a9a1
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-06-19 14:26:55 -07:00
Xiaoyu Ye
6d8bda3545 asoc: msm-lsm-client: reset app type configs at msm_lsm_close
Currently lsm client driver doesn't reset app type configs at
the end of a session, which causes the previous lsm session's
acdb_dev_id to be cached and reused in the new lsm sessions.
Fix this by resetting app type configs at msm_lsm_close to set
acdb_dev_id to 0.

Change-Id: I2c51201291beb1d4baa4d57c0d5c1ef9777a85ed
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2019-06-18 13:06:32 -07:00
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