提交線圖

1854 次程式碼提交

作者 SHA1 備註 日期
Sudheer Papothi
384addde09 soc: soundwire: request lpass core and audio votes
Soundwire requires lpass core and lpass audio core to be enabled
to receive interrupts and soundwire register read/writes. Change
enables lpass core and lpass audio core in interrrupt service
routine and during register read/writes.

Change-Id: I56da2fc6efe7dfb1a7d59937b123b3972f633448
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-06-21 15:24:16 -07:00
qctecmdr
45d02bcf0b Merge "soc: soundwire: reduce the auto suspend delay to one second" 2019-06-21 03:39:03 -07:00
qctecmdr
a74c6e2c7c Merge "ASoC: wcd938x: Update DMIC enable sequence on WCD938x" 2019-06-21 03:37:08 -07:00
qctecmdr
2a6a98ff50 Merge "soc: soundwire: Add support to dump bulk register writes" 2019-06-21 03:35:01 -07:00
qctecmdr
644ead80f7 Merge "ASoC: bolero: Remove unused audio map routings in bolero" 2019-06-21 03:33:04 -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
Sudheer Papothi
0016db19a7 soc: soundwire: Add support to dump bulk register writes
Add support to dump soundwire bulk register writes to
analyze port configuration on both soundwire master and
soundwire slave devices.

Change-Id: Ie02b2a0ba40aa5a0b4243022e439e1b545688143
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-06-18 00:44:30 -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
9ad54a5373 Merge "dsp: Define channel map for 14channels" 2019-06-17 21:01:33 -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
bb8a875619 Merge "dsp: Add asm channel map support for 10channels" 2019-06-17 20:39:57 -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
e7afbdeeb6 Merge "soundwire: exit from pm function for LPASS HW Core fails" 2019-06-17 20:30:33 -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
189f783aa9 Merge "soc: soundwire: check for valid pointer before dereference" 2019-06-17 20:14:10 -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
Chaithanya Krishna Bacharaju
3dd8fdf8a5 dsp: Define channel map for 14channels
Define channel map for channel count 14 for adm and asm to
support capture usecases for this configuration.

Change-Id: Ieb43dafd05f88bf34fa512fd7268258163e9ac92
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
2019-06-16 17:30:32 -07:00
Karthikeyan Mani
1a0f998031 soc: soundwire: check for valid pointer before dereference
Check if the swr pointer obtained is not NULL before
dereferencing it.

Change-Id: I119141e5fd0b365789f8295d7b43867ede29dd8c
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-06-12 08:40:31 -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