Commit graph

497 commits

Author SHA1 Message Date
Linux Build Service Account
2e628184b9 Merge "asoc: bolero: Fix compile errors on rx/tx macro" 2018-08-02 23:45:43 -07:00
Linux Build Service Account
340b1f9238 Merge "asoc: codecs: delay codec irq handler during ssr" 2018-08-02 08:23:20 -07:00
Linux Build Service Account
6baee220f0 Merge "asoc: Update mixer control for island mode setting" 2018-08-02 08:23:15 -07:00
Linux Build Service Account
c026f4c520 Merge "ASoC: codecs: Add IRQ utils support based on regmap" 2018-08-02 04:53:15 -07:00
Laxminath Kasam
b7f823c4d1 asoc: bolero: Fix compile errors on rx/tx macro
Fix compilation issue on bolero rx/tx macros.

Change-Id: I1bb9da552d4719ed3417a56fe77f147cab92dc1d
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-08-02 13:23:11 +05:30
Linux Build Service Account
6891816204 Merge "asoc: codecs: Add compile rules for RX/TX macro modules" 2018-08-01 04:54:23 -07:00
Linux Build Service Account
9264698ee1 Merge "asoc: audio-ext-clk: Add support for multiple lpass clock sources" 2018-08-01 04:54:13 -07:00
Linux Build Service Account
057e0e85de Merge "asoc: qcs405: Add support for ep92 HDMI bridge chip" 2018-07-31 17:56:23 -07:00
Linux Build Service Account
2cb347bab2 Merge "asoc: qcs405: Add support for AFE SPDIF interfaces" 2018-07-31 09:34:20 -07:00
Vatsal Bucha
485ec2c851 ASoC: codecs: Add IRQ utils support based on regmap
Add irq utils support for tanggu codec. It is
based on regmap-irq framework.

Change-Id: I93ad71f41a8bf62313bee5b6c374809c93219f5c
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-07-31 03:44:52 -07:00
Linux Build Service Account
1213456337 Merge "asoc: qcs405: Fix cpu dai node of VI sense dailink" 2018-07-30 23:59:54 -07:00
Aditya Bavanari
7259ca6cfe asoc: audio-ext-clk: Add support for multiple lpass clock sources
In bolero, Rx and Tx macros require multiple
lpass clock sources. Update audio clock driver
to support multiple lpass clock instances as required for
Rx and Tx macros.

Change-Id: Ia7d766c52c8edb65f3ceb0585c6fd5a2fee6c5a6
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-07-31 11:23:59 +05:30
Laxminath Kasam
144eabc3ee audio: Add support for audio on msmsteppe
Update config file and make rules for msmsteppe
compilation.

Change-Id: I374a0725a7dd36edc9e04652fb07dc719310565c
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-31 11:23:46 +05:30
Aditya Bavanari
44eb89512e asoc: sm6150: Add machine driver support for SM6150
Add DAI(Digital Audio Interface) links, WSA, VA, Rx,
Tx macros and external codec (tavil) configuration
to support audio functionality on SM6150.

Change-Id: Ic4be86b3e675c80bd02a029fe92f3141824d5073
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-07-31 11:23:30 +05:30
Aditya Bavanari
e90adf0fe7 asoc: Add support for Rx and Tx codec dma interface
New codec dma interfaces have been introduced to
connect LPASS and Codec macros. Add playback
and capture DAIs for Rx and Tx codec.

CRs-Fixed: 2281591
Change-Id: I26ba49660d62accb96ea7b063e00b35917dfbdca
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-07-31 11:23:21 +05:30
Aditya Bavanari
1e84a93ac4 asoc: msm: routing: Add support for Rx and Tx codec dma interfaces
New codec dma interfaces have been introduced to connect LPASS and
Codec macros. This change is to add support routing for RX and TX
codec dma interface backends and their corresponding front ends.

CRs-Fixed: 2281591
Change-Id: I625c66352c61176cd82b801e97e9d565919e2715
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-07-31 11:19:10 +05:30
Mangesh Kunchamwar
07b8dc90a9 asoc: Update mixer control for island mode setting
Fix overwriting of port ID in island mode mixer control.

Change-Id: Ibf650e94519ffde7655e14a88ccc9042b3a3544b
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-30 23:17:12 +05:30
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
Ralf Herz
6d96dd41d3 asoc: qcs405: Add support for ep92 HDMI bridge chip
Add support for ep92 HDMI bridge chip for QCS405 platform

Change-Id: Ifa8a6e60cee69c88276b50d5f61b3e13fac82b60
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2018-07-27 19:16:45 +05:30
Ralf Herz
5f30251f7e asoc: codecs: codec driver support for ep92 HDMI bridge
Codec driver to support Explore EP92A6 HDMI bridge chip.

Change-Id: I18132ee465180703a018a4e3c1f3d6418253410c
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2018-07-27 19:16:38 +05:30
Laxminath Kasam
706e66e16e asoc: qcs405: Fix cpu dai node of VI sense dailink
In qcs405 machine driver, update cpu dai node name
to use same name as defined in dai q6 driver.

Change-Id: I21baf5445bb35c0cc8e030436cfd310c91168ea1
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-27 18:32:21 +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
Karthikeyan Mani
9bc7b45fc9 asoc: codecs: delay codec irq handler during ssr
Put the irq handler of codec device to sleep if device is
not up, to allow other threads to execute meanwhile the device
will be up.

Change-Id: Ic7421bdf236be52070b6d5fcd774b0641368bf2b
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-07-26 14:53:29 -07:00
Ralf Herz
bdc080d18f asoc: qcs405: Add support for AFE SPDIF interfaces
Add support for AFE SPDIF input and output interfaces for QCS405 platform

Change-Id: Ieacd0524046376f237b325d6dcab071c80a4b657
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2018-07-25 21:35:45 +05:30
Ralf Herz
2257355fe4 asoc: Support compressed capture from AFE interfaces
Support compressed IEC61937 audio capture from AFE interfaces
with variable data packet lengths.

Change-Id: Iffd5a06ed5fe1a96f34e225d54fab660b21d2a48
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2018-07-25 21:35:45 +05:30
Ralf Herz
c8701f776a asoc: Add support to handle SPDIF input and output interfaces
Support two SPDIF input and two SPDIF output interfaces in AFE.

Change-Id: Ie2eb97e85c3b21cb112282dbdf0049a271e7cc93
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2018-07-25 21:35:45 +05:30
Linux Build Service Account
1fdb5b3e3f Merge "asoc: qcs405: Update gain offset and mode for wsa8810" 2018-07-24 00:22:30 -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
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
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
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
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