Commit graph

712 commits

Author SHA1 Message Date
Laxminath Kasam
f8ef43ea45 asoc: codecs: Add compile rules for RX/TX macro modules
Add compile rules for RX and TX macro drivers.

Change-Id: Icede86ab2f1e75e3b10f445cf01e204647a48471
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-30 16:13:06 +05:30
Laxminath Kasam
bee0819ac7 asoc: bolero: Add mclk switching support for rx-macro
RX macro supports both native and non-native family
sample rates. Add changes to support both family frequencies.
As soundwire is active for few seconds after teardown of a session
and say next session is of different family(native) which needs switching
the clock at soundwire before configure native MCLK frequency.

Change-Id: I7f6652f1569cfeef5075d92bfd2beadc203b7036
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-30 16:12:44 +05:30
Laxminath Kasam
a7ecc58a35 asoc: bolero: Add support for RX macro driver
Add support for RX digital portion to register
as macro to bolero codec. ASoC dapm and dai
functionality of RX macro is associated to
bolero codec itself.

Change-Id: Idb924b33cfc5d258d2f876a31603e724ad9699e9
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-30 16:12:17 +05:30
Laxminath Kasam
989fccf875 asoc: bolero: Add support for TX macro driver
Add support for TX digital portion to register
as macro to bolero codec. ASoC dapm and dai
functionality of TX macro is associated to
bolero codec itself.

Change-Id: I1e222610d1750eccd6822d9901b17ec2ea509389
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-30 15:52:23 +05:30
Linux Build Service Account
b5e037bd5e Merge "asoc: codecs: Fix recovery behavior for CSRA66X0" 2018-07-26 21:56:25 -07:00
Linux Build Service Account
aceb532f6b Merge "ASoC: audio-ext-clk: Replace clock dummy ops" 2018-07-26 21:22:01 -07:00
Linux Build Service Account
7ecd09c315 Merge "dsp: q6afe: fix payload copy issue in module event" 2018-07-26 21:21:58 -07:00
Linux Build Service Account
1fdb5b3e3f Merge "asoc: qcs405: Update gain offset and mode for wsa8810" 2018-07-24 00:22:30 -07:00
Linux Build Service Account
97f7bd8b56 Merge "dsp: Remove wait for preload command" 2018-07-24 00:22:29 -07:00
Vidyakumar Athota
968be0ae5b dsp: q6afe: fix payload copy issue in module event
Payload is copied incorrectly in AFE module event callback.
Fix this issue with proper typecast of payload pointer.

Change-Id: I58642a054667912bcc01ae19c8c73d28c28b5589
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-07-23 18:20:29 -07:00
Romed Schur
20f6c1416f asoc: codecs: Fix recovery behavior for CSRA66X0
Fix recovery behavior for CSRA66X0 codec to
recover from fault state and add debugfs interface.

CRs-Fixed: 2283380
Change-Id: I796b9e3b36db851f2bf1469e324a7c347510e232
Signed-off-by: Romed Schur <rschur@codeaurora.org>
2018-07-23 16:17:20 +02:00
Linux Build Service Account
e7abe2550c Merge "asoc: audio-ext-clk: Add support for multiple lpass clock nodes" 2018-07-23 06:53:42 -07:00
Mangesh Kunchamwar
d7c45292ba asoc: qcs405: Fix FE DAIs for hostless
Fix hostless FE DAIs for HFP and speaker protection usecases

Change-Id: If57b1d02f89923d9ce2fbefcec600e7f833a7c91
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-22 23:17:05 +05:30
Sudheer Papothi
9b51e3e0ca ASoC: audio-ext-clk: Replace clock dummy ops
Replace clock framework's clock dummy ops with audio external
clock ops to access correct structure that avoids out of bounds
memory access.

Change-Id: I51db63bba414cff0343cbf68e90b1e1bbf7929ac
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-07-21 05:20:10 +05:30
Linux Build Service Account
1f7a9de956 Merge "soc: swr-ctrl: Update master controller for WSA mute issue" 2018-07-20 08:34:01 -07:00
Linux Build Service Account
79fd4c3603 Merge "asoc: qcs405: Update wsa cpu dai names" 2018-07-20 05:28:28 -07:00
Linux Build Service Account
511613fe72 Merge "asoc: bolero: Fix wsa playback mute issue" 2018-07-19 23:19:52 -07:00
Laxminath Kasam
fbcaf32428 soc: swr-ctrl: Update master controller for WSA mute issue
Add delay in master read/write fifo for slave register update.
Handle pm runtime for clock disable to happen after usecase.

Change-Id: Ia1abc4ee3db500cbc8f42b9f08760463fb77acef
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-20 10:48:35 +05:30
Laxminath Kasam
a92bc13a24 asoc: qcs405: Update gain offset and mode for wsa8810
Update the wsa-macro gain offset and mode for
wsa8810 variant.

Change-Id: If0a0f08290ef91944f1fbbfab02d6b52d3ea6966
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-19 12:29:35 +05:30
Laxminath Kasam
03c84fa06e asoc: bolero: Add codec entry for bolero for rtac support
Add codec entry for bolero codec under proc codecs list.

Change-Id: I4155dd92b57423b9927bebc9b66fcb491f7ddc57
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-19 12:27:21 +05:30
Laxminath Kasam
2a935198bd asoc: qcs405: Update wsa cpu dai names
In qcs405 machine driver, fix cpu dai names
same as created in dai q6 driver.

Change-Id: I364864ceac8bc555d0a1c982a06629bd5bc774ef
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-19 11:51:35 +05:30
Laxminath Kasam
0c85700fdb asoc: bolero: Fix wsa playback mute issue
Update volatile registers list of bolero
VA and WSA macros. Fix sequence for wsa mute
and register access in regmap read/write.

Change-Id: I7984f7e2309933536f3855f6fd4a2e2fd1c4d13b
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-19 11:50:26 +05:30
Laxminath Kasam
d712cc7c15 asoc: audio-ext-clk: Add support for multiple lpass clock nodes
In bolero, for VA and WSA macros require multiple
lpass clock sources. Update audio clock driver
to support lpass clocks instances as required for
VA and WSA.

Change-Id: I7bb676dcbd5c0db09079dd73a30d1b47ce0f8ace
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-19 11:47:28 +05:30
Linux Build Service Account
9456ce8b53 Merge "asoc: ext-clk: dynamically configure clk parent name" 2018-07-18 15:05:58 -07:00
Linux Build Service Account
f205f9ccd7 Merge "asoc: dsp: add support for aptX adaptive" 2018-07-18 10:16:11 -07:00
Surendar Karka
0a915f8c68 asoc: ext-clk: dynamically configure clk parent name
Add support to dynamically configure clk parent name
from device tree.

Change-Id: I9ae0c34c248503625523a2d1e33d800b2138ed39
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2018-07-17 15:00:41 +05:30
Linux Build Service Account
8a3699b9ac Merge "asoc: qcs405: update tasha codec dais" 2018-07-16 11:36:29 -07:00
Linux Build Service Account
34ef847a86 Merge "audio: uapi: Add kernel symlink dependency make-style" 2018-07-15 01:56:24 -07:00
Linux Build Service Account
eeb16c7b73 Merge "asoc: Enable VAD in QCS405" 2018-07-13 01:24:29 -07:00
Sharad Sangle
82777e54d5 asoc: dsp: add support for aptX adaptive
Add support for new A2DP profile aptX adaptive.
This is just like any other A2DP profiles.

CRs-fixed: 2272343
Change-Id: I219dec038e84b7b98ebb2d5233ddf576c8bbe70a
Signed-off-by: Sharad Sangle <assangle@codeaurora.org>
2018-07-12 22:26:40 -07:00
Vikram Panduranga
50bb24444e dsp: Remove wait for preload command
Remove wait and wake up for module load/unload commands
in order to reduce audio startup and teardown latencies.

Change-Id: I6ce67656c4ec8a843b9c2dd75176155ca0ce61df
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2018-07-12 17:20:24 -07:00
Linux Build Service Account
d6750c1933 Merge "asoc: Add Hostless DAI for WSA CDC DMA Rx interface" 2018-07-12 09:59:51 -07:00
Linux Build Service Account
1ff7b2cd8e Merge "asoc: compilation fix for qcs403" 2018-07-12 09:59:47 -07:00
David Ng
5873163b9d audio: uapi: Add kernel symlink dependency make-style
Add kernel symlink creation $(KERNEL_USR) as make-style
dependency.  The LOCAL_ADDITIONAL_DEPENDENCIES flag in
place is not active for the generated-source mechanism.

Change-Id: I9b93679bf73cf28c244119ec34a440775579b18a
2018-07-11 13:56:22 -07:00
Mangesh Kunchamwar
2d84e4aedc asoc: Enable VAD in QCS405
Add AFE HW CAL dep node in config and fix the set sampling rate
for codec dma interface

Change-Id: I9165a80da00bfb5b61bbf4f0391ff794d8fba352
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-11 21:27:07 +05:30
Mangesh Kunchamwar
1603e0d72b asoc: compilation fix for qcs403
Fix compilation issue with qcs403 variant compilation

Change-Id: Iae877e1a1c3c81edd9c26c9bb143216e2d3550d6
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-11 19:19:18 +05:30
Mangesh Kunchamwar
91c2173c2f asoc: Add Hostless DAI for WSA CDC DMA Rx interface
Enable hostless DAI for WSA CDC DMA Rx interface for hands free
profile use case.

Change-Id: I3c4246414dc477cdad382b46a6dbe6770dc5b89e
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-11 15:43:02 +05:30
Mangesh Kunchamwar
2f39a329bf asoc: bolero: Bringup fixes for qcs405
Add bringup fixes for va-macro micbias property setting.

Change-Id: Ie1c35d8519f819bed227885e1c2a18e3de7fd82a
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-11 00:47:57 +05:30
Linux Build Service Account
ab8586d542 Merge "asoc: bolero: Bringup fixes in Vipertooth" 2018-07-09 20:42:38 -07:00
Linux Build Service Account
8e4d9058d3 Merge "ASoC: wcd934x: skip mutex lock for WDSP boot timeout debug dump" 2018-07-09 11:56:34 -07:00
Linux Build Service Account
d36e5ef530 Merge "dsp: Avoid excessive list iterations" 2018-07-09 11:56:34 -07:00
Linux Build Service Account
b09db5c08c Merge "asoc: msm-pcm-routing: add support for a2dp echo ref" 2018-07-09 11:56:33 -07:00
Mangesh Kunchamwar
a9c69199a7 asoc: bolero: Bringup fixes in Vipertooth
Add bringup fixes for bolero regmap and va-macro
micbias property setting.

Change-Id: I536b7bf6ff625da1f2f639a93cf1f9174cfd6447
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-09 09:16:20 -07:00
Linux Build Service Account
b73517def0 Merge "asoc: fix lsm_event_handler function type" 2018-07-09 08:32:03 -07:00
Surendar Karka
c31faba93b asoc: qcs405: update tasha codec dais
Updating tasha codec backend dai links.

Change-Id: I293685c44455ec3b8ed61af24ec6be06201bd2f6
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-09 16:52:21 +05:30
Zhou Song
b167db1aee asoc: msm-pcm-routing: add support for a2dp echo ref
Add support for a2dp echo reference for SVA. This is
used to cancel a2dp playback echo from voice activation
input samples.
When phone connects to A2DP speaker like car kit,
selecting A2DP as echo reference can have better VA
performance.

Change-Id: I287ded27421cbda9621f2b2846c3ec8350f080dc
Signed-off-by: Zhou Song <zhous@codeaurora.org>
2018-07-09 13:53:29 +08:00
Linux Build Service Account
25963c0e7c Merge "asoc: Fix compilation errors" 2018-07-07 16:10:24 -07:00
Linux Build Service Account
88691a4c53 Merge "asoc: qcs405: Add support for CSRA66X0 device" 2018-07-07 13:54:33 -07:00
Linux Build Service Account
029bb3d3aa Merge "asoc: codecs: codec driver support for CSRA66X0" 2018-07-07 13:54:32 -07:00
Linux Build Service Account
2781db307a Merge "lsm: miscellaneous fixes for multi-stage adsp VA" 2018-07-07 13:19:47 -07:00