Commit Graph

52 Commits

Author SHA1 Message Date
Surendar Karka
1ebf9cc506 asoc: qcs405: add ignore_suspend for lineout booster
Apps is not able to enter into power suspend mode.
Adding lineout booster widget to ignore suspend

Change-Id: I220ff46465e0ad3d2b6852933e00331c055a26d6
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2019-09-17 11:03:38 +05:30
Ralf Herz
afaec2af14 asoc: qcs405: Add support for META MI2S ports
QCS405 can group data lines of several MI2S interfaces.
This feature is used with new META MI2S ports.

Change-Id: Iffc72a5aae1da8a0620ad988fdc570e5ed493956
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2019-08-29 08:31:39 +02:00
qctecmdr
134891c906 Merge "asoc: qcs405: Add new dailink for compress capture" 2019-07-20 00:17:31 -07:00
Chaithanya Krishna Bacharaju
b06327374c asoc: qcs405: Add new dailink for compress capture
Add new dailink for compress capture to support additional
record usecase.

Change-Id: I7244d2e749c398140205d82d88958ce97d4c8764
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
2019-07-09 21:43:58 -07:00
Romed Schur
3e11dbd71e asoc: qcs405: Add DSD over PCM support for csra66x0 codec
Enable DSD over PCM stereo support of QCS405 and csra66x0 codec.

Change-Id: Iedc8231d6e19f4959f525395e8b0ebc69746d879
Signed-off-by: Romed Schur <rschur@codeaurora.org>
2019-07-04 10:03:57 +02:00
qctecmdr
870d24e0e5 Merge "asoc: udpate qcs405 compress playback dai ops" 2019-06-17 20:55:31 -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
qctecmdr
34b7d3b2fd Merge "ASoC: hide bind/unbind in sysfs" 2019-05-21 20:33:23 -07:00
Xiaojun Sang
53cd13a1ab ASoC: hide bind/unbind in sysfs
Exposure of driver bind/unbind to userspace via sysfs may
lead to unexpected behavior.
Hide bind and unbind by driver attribute.

Change-Id: I20d6ee653bcc16af15d6368664aaf240c6645cd0
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2019-05-17 15:00:33 +08:00
Chaithanya Krishna Bacharaju
5074a712ab asoc: qcs405: Add AFE Tx loopback controls
AFE Tx loopback is used to capture playback data from Rx port
and use it for echo reference. Add controls to configure
capture backend channels, sample rate and format.

Change-Id: I68bd89461f3f37870a6d946fb03fe4124ee2fa6f
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
2019-05-14 01:49:42 -07:00
Mangesh Kunchamwar
27baab0fb9 asoc: send VAD enable or disable
Updates to send VAD enable or disable to AFE port.
Send VAD and island configuration based on the ports
on which these features are supported in Vipertooth
machine.

Change-Id: Ib3e6d46fed3bf9e822f350c9ec0dc629cd82547e
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2019-04-15 02:51:36 -07:00
Ralf Herz
88aefa8368 asoc: qcs405: Add devices for concurrent audio record
Add dai links to allow for several concurrent audio recordings
from SPDIF and HDMI interfaces on qcs405.

Change-Id: I5f4a2fcf16538f71ad14b3389732366e8d8e718f
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2019-03-04 21:19:47 -08:00
Mangesh Kunchamwar
35e7ec72bb asoc: qcs405: enable lineout booster GPIO
Activate lineout booster GPIO during starting lineout usecase
and disable during shuttingdown the lineout usecase in qcs405.

Change-Id: I83877e6a531efc4b571d9868f1b019af5d9b1b82
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2019-02-26 15:06:40 +08:00
Meng Wang
11a25cf657 asoc: update relative header files
Move all relative header files to include folder.

Change-Id: Ic61a61a88823b4749dbe8c1f680d08201a3b4a48
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-18 10:50:27 +08:00
Surendar Karka
ab44f1b566 asoc: qcs405: add afe loopback support in machine driver
Add machine driver changes for AFE Rx to
Tx loopback.

Change-Id: I033d0b769126c229a7734f50d48601e4bf9810bb
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-11 21:17:23 +08:00
Linux Build Service Account
0044694430 Merge "asoc: Update file header to GPL-2.0-only" 2018-12-10 03:08:52 -08:00
Meng Wang
43bbb87652 asoc: Update file header to GPL-2.0-only
Update file header to GPL-2.0-only.

Change-Id: Ic1542a3209a5fe73c937a5b36491ede4a451936d
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-10 14:49:34 +08:00
Meng Wang
56a0f8f748 ASoC: update machine driver for kernel-4.19
snd_soc_codec is removed from kernel-4.19.
Update machine driver to fix compile error.

Change-Id: I1bdfda07c0d150d008c434c361142b655de1e9db
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-10 12:38:10 +08:00
Meng Wang
61af6849e9 ASoC: switch audio drivers to SPDX identifier
Switch audio drivers to SPDX identifier on msm-4.19.

Change-Id: Ic3f0230a516db251b8d81e8a7e73dbc04d66fe1b
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-07 15:47:32 +08:00
Surendar Karka
05392ab0da asoc: qcs405: add machine driver support for SLIMBUS_9_TX
Add machine driver code to support SLIMBUS_9_TX port.
SLIMBUS_9_TX BE port is used for split A2DP sink usecase.

Change-Id: I9628a46c4b2b2fe0f5fb8c9861975fd4630bdcdb
2018-10-31 23:16:24 -07:00
Florian Pfister
cc99c35118 asoc: qcs405: add A2DP sink support in machine driver
Add support to configure sample rate for SLIM_9_TX.

Change-Id: Icea2b7c707840be60a23707947c9811e83e4789d
Signed-off-by: Florian Pfister <fpfister@codeaurora.org>
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2018-10-31 23:15:46 -07:00
Ralf Herz
3cd7e58eca asoc: qcs405: Use changed clock for SPDIF interfaces
ADSP only supports 163.84MHz for SPDIF input interface clock.

Change-Id: Ib228dea0508a77d8194b348b50801624b678022f
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-10-04 07:38:09 -07:00
Dieter Luecking
1bf7c9038e asoc: qcs405: Upgrade for 16ch and senary AIFs
AFE MI2S interfaces now support up to 8 data lines
(16 channels). Add support for the same.
Make senary PCM and MI2S ports available.

Change-Id: I810dbe1c12ff091b3b4604d9e59f7015e3a55c98
Signed-off-by: Dieter Luecking <dieterl@codeaurora.org>
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-10-04 07:14:53 -07:00
Surendar Karka
b412979a8c asoc: qcs405: add machine driver support for compress loopback
Add new dailnks in machine driver to support
compress loopback usecase for HDMI and BT sink.

Change-Id: Ie9658b3c06fd8d9a68b9b2317fe2689fa34a96f5
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-10-03 03:46:44 -07:00
Mangesh Kunchamwar
eada51564e asoc: qcs405: add TDM Mics support
Add Quinary TDM support in QCS405 machine driver.

Change-Id: I36dcc27422124f55efb2c19bf0c73963c16c695c
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-10-03 13:37:20 +05:30
Mangesh Kunchamwar
b2438de066 asoc: qcs405: add missing dai links
Add WCN dai links for enabling BT use cases.

Change-Id: I1de1de0d9de0115d89e6a10f79a2cbf0a54d0e44
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-08-23 12:28:39 +05:30
Linux Build Service Account
9ad057284b Merge "asoc: qcs405: Fix end to end playback on WSA" 2018-08-08 23:32:16 -07:00
Aditya Bavanari
b2b9d42ce1 asoc: enable MDF initialization in qcs405 target
Enable MultiDSP framework (MDF) initialization during
qcs405 machine driver registration. Add MDF config
to enable compilation of MDF platform driver.

Change-Id: I227a0a7b3dd284dcf750c7b424b240f8c3cd1202
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-08-06 07:16:29 -07:00
Mangesh Kunchamwar
9c8f0f495f asoc: qcs405: Fix end to end playback on WSA
Fix set sampling rate for RX codec dma interface.

Change-Id: Id0e7719a3f6a6a815228f2327d4e11dd93722c07
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-08-03 15:46:04 +05:30
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
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
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
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
Linux Build Service Account
1fdb5b3e3f Merge "asoc: qcs405: Update gain offset and mode for wsa8810" 2018-07-24 00:22:30 -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
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
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
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
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
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
Mangesh Kunchamwar
ca8ac8a57a asoc: qcs405: Add support for CSRA66X0 device
Add support for CSRA66X0 amplifier to glue as
aux codec in asoc qcs405 machine driver

Change-Id: I3413a0df52149da84c05d703226a3845119ab8b2
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
Signed-off-by: Srikanth Katta <skatta@codeaurora.org>
2018-07-07 19:14:08 +05:30
Mangesh Kunchamwar
daf02b01f2 asoc: fix compilation issues
Fix compilation issues for qcs405.

CRs-Fixed: 2248380
Change-Id: I1a4929dbcd888cb6be30a155d2f492cbf314a25a
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-06-28 19:59:16 +05:30
Mangesh Kunchamwar
811fbfda8b asoc: qcs405: fix codec dma dai ids
Fix codec dma dai ids in machine driver same
as ids present in DT files.

CRs-Fixed: 2248380
Change-Id: I48d121e7343a695d67fc82da0a5c335970ccb819
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-06-25 15:33:48 +05:30
Mangesh Kunchamwar
9c6c107239 asoc: qcs405: fix compilation issue
fix compilation issue due to missing forward declartion.

Change-Id: I64feb9e1baf25ad725f4333931726feceee2979a
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-06-21 17:18:22 +05:30
Ramprasad Katkam
a1f21ebf06 asoc: qcs405: Add machine driver changes for new swr master
Send additional port types information from machine driver
to wsa required for new soundwire driver.

Change-Id: Ia3188cfe6e33dd5b219a12900cb0d04ca03fd02c
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-06-13 02:38:34 -07:00