Commit Graph

2404 Commits

Author SHA1 Message Date
qctecmdr
bd8ab50864 Merge "asoc: bengal: Update comments with proper PCM ID info" 2019-11-26 07:01:39 -08:00
Linux Build Service Account
1e4e99502b Merge "ASoC: rx-macro: Update rx droop based on sampling rate" into audio-drivers.lnx.4.0 2019-11-24 23:58:23 -08:00
Linux Build Service Account
16963513ea Merge "asoc: wcd938x: Fix swr get logical addr fail during SSR" into audio-drivers.lnx.4.0 2019-11-24 23:58:14 -08:00
Linux Build Service Account
e96eb4e5b2 Merge "soc: soundwire: Update check link status for master init" into audio-drivers.lnx.4.0 2019-11-24 23:57:22 -08:00
Linux Build Service Account
4c9e23db08 Merge "soc: soundwire: Set slave host_irq interrupt mask for all slaves" into audio-drivers.lnx.4.0 2019-11-24 23:57:13 -08:00
Laxminath Kasam
c6974d0dad asoc: bengal: Update comments with proper PCM ID info
Update PCM ID with correct values in comments.

Change-Id: Ie456481aa57f0adebb20921d8d0f0d25c7b714e0
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-22 15:21:08 +05:30
qctecmdr
32ece77c6f Merge "ASoC: wsa883x: Add support for interrupt handling and variant" 2019-11-21 21:59:26 -08:00
qctecmdr
4faacac8ab Merge "soc: soundwire: Avoid bus clash during clock stop" 2019-11-21 08:43:06 -08:00
qctecmdr
458e1f1e14 Merge "soc: swr-mstr: Fix unbalanced enable for wakeup irq" 2019-11-21 08:39:07 -08:00
qctecmdr
e5c87b6e4f Merge "asoc: codecs: avoid crash after diconnecting DP cable" 2019-11-21 08:37:08 -08:00
Laxminath Kasam
cafe073cf1 soc: soundwire: Update check link status for master init
After master init sets COMP_CFG, wait for soundwire link
status to be connected for SWR version 1.6. Update wait
for soundwire link disconnect for all masters.

Change-Id: I0c0b34f225f88f1b3838b0aa653b57b2c7c0cc40
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-21 12:09:17 +05:30
qctecmdr
edc7d1364c Merge "asoc: codecs: register notifier for all bolero codec variants" 2019-11-20 07:07:21 -08:00
qctecmdr
c0692e7848 Merge "asoc: codecs: bolero: Do not process ssr disable if already down" 2019-11-20 06:48:53 -08:00
qctecmdr
75d847e3da Merge "soc: soundwire: Update soundwire register access sequence" 2019-11-20 06:47:29 -08:00
qctecmdr
c41eaf06bb Merge "soc: soundwire: Update comp status check for SWR version 1.6" 2019-11-20 06:46:27 -08:00
qctecmdr
ce47979cec Merge "asoc: codecs: Add NULL check before calling bcs_enable callback function" 2019-11-20 06:45:37 -08:00
Laxminath Kasam
9a37b81cd4 asoc: wcd938x: Fix swr get logical addr fail during SSR
During SSR, sometimes swr get logical addr fails.
Add sufficient delay after reset and retry logic
for get logical addr.

Change-Id: I2a932e99896e0055f3b35f9b251008612f43b79f
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-20 19:18:50 +05:30
Laxminath Kasam
44cedb8f7d soc: soundwire: Set slave host_irq interrupt mask for all slaves
On receive of change enum slave status interrupt, update
slave host_irq bit for all attached slave dev_nums.

Change-Id: Idaad7a73a7ba9ab271f3fb6974f8d09df3f957b8
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-20 17:37:23 +05:30
Sudheer Papothi
edbc522254 ASoC: wsa883x: Add support for interrupt handling and variant
Add support to handle wsa883x codec interrupts and runtime
detection of wsa883x variant.

Change-Id: I06fc113a390c04e890062761cff8ae7436acb662
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-11-19 03:58:54 +05:30
Harshal Ahire
42adadc24f asoc: codecs: avoid crash after diconnecting DP cable
Fix the null pointer access of DP callback
functions.

Change-Id: If4cc48a2471c2cbd1c46ea49cffaa01315673bde
Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
2019-11-18 17:05:44 +05:30
Sudheer Papothi
55fa597e30 soc: soundwire: Avoid bus clash during clock stop
Mask bus clash interrupt before clock stop mode to avoid
misfire of the interrupt. Clear and enable the interrupt
after clock is enabled.

Change-Id: I494073a668d298eef466c0f10ab202c3c69f9968
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-11-18 15:21:16 +05:30
Vatsal Bucha
8bcaeab611 soc: swr-mstr: Fix unbalanced enable for wakeup irq
Enable IRQ for wakeup is called multiple times resulting in
throttling. This is because irq is not disabled after enablement.
Disable wakeup irq in runtime resume to fix the issue. Also
add check so that irq is not disabled more than once.

Change-Id: Ib5b7493298beb3ca4bcf78b2adbd7d4ac9ce6111
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-11-18 15:16:03 +05:30
Laxminath Kasam
09819e980c soc: soundwire: Update comp status check for SWR version 1.6
Check comp status based on active and inactive request
and return once status met.

Change-Id: I75669558875d8ab6fc23a02c888e6083e15aee08
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-18 14:40:44 +05:30
Sudheer Papothi
921b8657ca soc: soundwire: Update soundwire register access sequence
Update soundwire register access sequence based on the
hardware version.

Change-Id: I6dbdd884f87b62fce4e9f7074c6ccdcdac8456b8
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-11-18 12:11:11 +05:30
Sudheer Papothi
cef55160eb ASoC: rx-macro: Update rx droop based on sampling rate
Update rx droop based on sampling rate to avoid change in
gains between different sampling rates.

Change-Id: Icb2b0bc51a61395c2ee96f63c29555614fe9e505
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-11-15 23:23:49 +05:30
Faiz Nabi Kuchay
54fe9be449 asoc: codecs: Add NULL check before calling bcs_enable callback function
Add NULL check before calling bcs_enable callback function.

Change-Id: Ic2d65534710d71c074c55d67da3e8a9793bab637
Signed-off-by: Faiz Nabi Kuchay <fkuchay@codeaurora.org>
2019-11-15 15:13:19 +05:30
qctecmdr
7ae9fa55cd Merge "ASoC: wsa883x: Update dapm path sequence" 2019-11-14 20:10:27 -08:00
qctecmdr
3013385a97 Merge "asoc: add new path for in call recording" 2019-11-14 20:10:27 -08:00
qctecmdr
344bca82e3 Merge "asoc: bolero: Add va/tx macro registers for bolero 2.1" 2019-11-14 20:10:27 -08:00
qctecmdr
d503d9e4ac Merge "ASoC: add echo ref support for SEN MI2S" 2019-11-14 20:10:26 -08:00
qctecmdr
a9e3d81833 Merge "soc: soundwire: Handle command response sequence" 2019-11-13 21:40:17 -08:00
qctecmdr
f25ff5d47d Merge "asoc: bolero: Update tx swr clk widget for bolero 2.0" 2019-11-13 20:47:57 -08:00
qctecmdr
d423463ea2 Merge "asoc: wsa881x: Update break after post_fs event" 2019-11-13 20:46:23 -08:00
qctecmdr
5efd011637 Merge "asoc: bengal: Use dtsi property for VA, RX-TX macros dailinks" 2019-11-13 20:43:30 -08:00
qctecmdr
4318463096 Merge "asoc: codecs: CSR access requires AHB clock from bolero 1.1" 2019-11-13 19:31:29 -08:00
qctecmdr
b9e8273021 Merge "asoc: codecs: Update default value for chip wakeup regs" 2019-11-12 03:44:41 -08:00
qctecmdr
1afbf65af5 Merge "asoc: codecs: wcd937x: Update micbias pull up widgets" 2019-11-12 03:43:10 -08:00
qctecmdr
9baaac8d15 Merge "asoc: update number of channel only for default channel map" 2019-11-12 03:13:54 -08:00
qctecmdr
115d436a76 Merge "dsp: q6afe: Update lpass hw votes to maintain separate handles" 2019-11-12 03:12:55 -08:00
qctecmdr
fd4cc74d9f Merge "asoc: codecs: fix compile error for bengal_32" 2019-11-12 03:10:23 -08:00
Laxminath Kasam
fbd95edd79 asoc: bolero: Add va/tx macro registers for bolero 2.1
Update VA/TX macro registers for bolero 2.1

Change-Id: I6be9632407c85a36bc746c65b34a52812548ad2a
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-12 12:32:37 +05:30
Zhou Song
8e7a8d481b asoc: add new path for in call recording
Add path for routing in call uplink and downlink to
MultiMedia9.

Change-Id: Id43519ca3cd31aafc0f88a1c2428b3ddc7cc1f93
Signed-off-by: Zhou Song <zhous@codeaurora.org>
2019-11-11 18:15:07 +08:00
Laxminath Kasam
e229197566 soc: soundwire: Handle command response sequence
In soundwire version 1.6 as AHB HCLK and MCLK
are decoupled, need to wait for clock stop
entry and exit scenarios to execute before
any further transactions. Keep monitor on
COMP status accordingly.

Change-Id: I03204526d7dd634a79193b55c6744edca8664d93
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-11-08 14:53:28 +05:30
Aditya Bavanari
f5ec84824d dsp: fix MFC config param payload alignment issue
MFC set param failed in DSP due to payload mismatch
and stereo echo reference doesn't work.
Channel type parameter in MFC config payload is an
array of uint16_t, but it is assumed as an array
of uint8_t while copying from device structure.
Fix this by copying the channel type one by one
instead of using memcpy.

CRs-Fixed: 2197468
Change-Id: I4b6959e8db56743ac98da75ddc3aa8f56964b4ca
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-11-07 23:18:53 -08:00
qctecmdr
8ae27622e7 Merge "ASoC: wcd937x: Fix audio distortion issue during headset record" 2019-11-07 01:08:59 -08:00
qctecmdr
4436361d36 Merge "asoc: routing: Add route controls for RX_CDC_DMA_RX_1" 2019-11-07 01:06:59 -08:00
Laxminath Kasam
e1dc0d7901 asoc: bengal: Use dtsi property for VA, RX-TX macros dailinks
Append dailinks for VA and RX-TX macros based on dtsi property.

Change-Id: Ib1f4520cd569546e5954d9295b8455f89a3212ca
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-06 17:55:07 +05:30
Laxminath Kasam
0f73819a4d asoc: codecs: Update default value for chip wakeup regs
For chip wakeup registers used as interrupt mask, set
default value provided via dtsi.

Change-Id: Ie080006cb7a92e8745636c97a67b8e09ab977832
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-06 13:00:46 +05:30
Surendar Karka
c9431f1111 asoc: codecs: register notifier for all bolero codec variants
Playback on speaker is getting mute due to notifier not getting
registered. Register notifier for all  bolero codecs
variants to enable WSA PA.

Change-Id: Id13a533af7096f50de2e1a654393c579a81af953
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2019-11-06 12:55:12 +05:30
Laxminath Kasam
5b1458d315 asoc: codecs: fix compile error for bengal_32
For bengal_32 local compile fails. Update
the condition check in make to avoid compile
of wsa and hdmi modules for bengal, bengal_32.

Change-Id: I90db0a36b4c435874137d312545e3757f335fa78
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-05 05:06:39 -08:00