Commit Graph

222 Commits

Author SHA1 Message Date
qctecmdr
c3c4fd765e Merge "ASoC: update headers for upstream compliance" 2020-05-14 22:04:36 -07:00
qctecmdr
320ef023a6 Merge "asoc: lahaina: add proxy ports for call screening in machine driver" 2020-05-10 05:35:12 -07:00
Vignesh Kulothungan
e0bdd11269 ASoC: update headers for upstream compliance
Update uapi header reference path to include
path prefix "audio/"

Change-Id: Ic7b1d22910b07be3ffe8d9f02514ed89facea974
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-05-06 11:26:15 -07:00
qctecmdr
f1e766c6b0 Merge "asoc: add new frontend Multimedia31 and Multimedia32 for haptics" 2020-04-26 23:42:49 -07:00
Aditya Bavanari
236ff485d2 codecs: Enable clock voting logs to debug AHB/NOC issues
Enable clock voting logs to debug stability issues.

Change-Id: Ie1f995ab004778a81ea42baad15ea36858407e9a
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-04-20 10:17:02 -07:00
Meng Wang
b4677c85de asoc: add new frontend Multimedia31 and Multimedia32 for haptics
Add new frontend Multimedia31 and Multimedia32 for haptics.

Change-Id: Ibf36090f2aef8ec76bbc554587a8acf2ff8051de
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-04-14 12:53:24 +08:00
qctecmdr
e1757aef95 Merge "ASoC: msm-routing: Add lock in lsm_app_type_cfg_control callbacks" 2020-04-08 21:02:09 -07:00
qctecmdr
ee9e37d20a Merge "asoc: Set and get lsm port indices on a per session basis" 2020-04-08 21:02:08 -07:00
qctecmdr
0dff7642d5 Merge "ASoC: add echo ref support for SENARY MI2S TX" 2020-04-08 21:02:08 -07:00
qctecmdr
cf288a8764 Merge "ASoC: Add doa tracking params only for LE platforms" 2020-04-08 21:02:07 -07:00
Ajit Pandey
a4804c7337 ASoC: msm-routing: Add lock in lsm_app_type_cfg_control callbacks
Add routing_lock mutex to protect global variables in _get() & _put()
callback of Listen App Type Config mixer control.

Change-Id: I6857a6e72dcb7f21633919b716910577af4906d2
Signed-off-by: Ajit Pandey <ajitp@codeaurora.org>
2020-04-04 10:36:00 -07:00
Aditya Bavanari
33b2108fd6 asoc: Set and get lsm port indices on a per session basis
When multiple LSM sessions are running, lsm port index might
be overwritten with index of different sessions during
concurrent LPI and Non LPI session switches. Maintain
lsm port index on a per session basis to avoid this issue.

Change-Id: I943ea7899b977e06f467a140a9d1c9feb31c58bd
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-04-02 22:27:53 -07:00
Vignesh Kulothungan
57fb56c8d3 ASoC: add echo ref support for SENARY MI2S TX
Add SENARY_MI2S_TX to ec_ref_rx and ext_ec_ref_rx so
it can be used for Audio EC reference and Voice
external EC reference.

CRs-Fixed: 2576685
Change-Id: I08253e705f26293255eea41140fd3461ee300b6b
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-04-02 16:57:12 -07:00
Vatsal Bucha
7ceafae61e ASoC: Add doa tracking params only for LE platforms
Doa tracking params are applicable only for LE platforms.
Add respective check for the same. Also add config to
enable doa params for LE.

Change-Id: Ia8c2fd095deb44a3dd0b958da0b73c94dbc7d819
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-01 17:16:18 -07:00
Ramu Gottipati
85be556200 ASoC: Add FFECNS Freeze event support
Add mixer control support to send ffecns freeze
event.

Change-Id: I86bfd27aac312f85ebbde1f35ff4f65f589c6fec
Signed-off-by: Ramu Gottipati <ramug@codeaurora.org>
2020-04-01 13:03:08 -07:00
Kunlei Zhang
ff7462e2ac asoc: add routing control for Multimedia17 with USB TX
Add routing control for Multimedia17 with USB TX.

Change-Id: Ia05c4fe55ea4dab2b75f4a6da6a54fabdb870f7d
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
2020-03-30 14:59:33 -07:00
qctecmdr
fd7bbcb569 Merge "ASoC: msm: Add QUIN TDM TX interface to echo reference" 2020-03-28 00:53:37 -07:00
Saurav Kumar
a2efe09c14 asoc: add change for proxy playback and capture BE DAIs
Add change to support BE DAI link based on proxy
ports.

Change-Id: Id7ca274e330f025ac015567de86403fb14781cd0
Signed-off-by: Saurav Kumar <sauravk@codeaurora.org>
2020-03-25 11:02:24 +05:30
Jia Jin
369503a9ff asoc: Add asm loopback MultiMedia24 and MultiMedia25
Add asm loopback channel to support dual hfp

Change-Id: I43265fd0da04a1481784e5ed3ed7b3a5bad9ac2c
Signed-off-by: Jia Jin <jinjia@codeaurora.org>
Signed-off-by: Han Lu <hanlu@codeaurora.org>
2020-03-24 18:05:56 -07:00
Derek Chen
68e68cfa27 ASoC: msm: Add QUIN TDM TX interface to echo reference
* Add QUIN_TDM_TX_0 text to echo reference mux text array
* Add QUIN_TDM_TX_0 intercon to AUDIO_REF_EC_UL1 MUX

Change-Id: Ic633e8709ecd1d90ee2bbf95202d28bad60118f1
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2020-03-24 17:30:25 -07:00
Ramu Gottipati
68a6bbb278 ASoC: Add driver support for multi-ch ECNS
Add Control names for newly supported channels

Change-Id: Ia830b10f681224605e68af659248beb58bd530c0
Signed-off-by: Ramu Gottipati <ramug@codeaurora.org>
2020-02-04 20:08:04 -08:00
qctecmdr
8799e88c39 Merge "asoc: routing: Fix CDC_DMA_RX_1 routing to SLIM_8_TX for loopback" 2019-12-05 06:58:04 -08:00
qctecmdr
0a84f39d93 Merge "asoc: add routing control for Multimedia17 with Slim7 TX" 2019-12-04 09:58:31 -08:00
Laxminath Kasam
e1a5f97352 asoc: routing: Fix CDC_DMA_RX_1 routing to SLIM_8_TX for loopback
For loopback of CDC_DMA_RX_1 port to slim_8_tx,
add proper switch control.

Change-Id: I58353c8cc43ac96d39a810b8e471458111f57319
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-12-03 00:58:09 +05:30
qctecmdr
3aebb5d306 Merge "ASoC: msm: add routing from MM21 to QUAT MI2S RX" 2019-11-30 23:28:18 -08:00
Harshal Ahire
1cbefc9365 asoc: add routing control for Multimedia17 with Slim7 TX
Add routing control for Multimedia17 with Slim7 TX.

Change-Id: I6d21f2a5e2a1923c64d82726e951c2c5bd40eabc
Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
2019-11-29 19:35:34 +05:30
qctecmdr
78b665025c Merge "ASoC: msm: Add support for MultiMedia23" 2019-11-27 20:26:43 -08:00
Derek Chen
0fdd8a1fde ASoC: msm: add routing from MM21 to QUAT MI2S RX
Add routing from Multimedia21 frontend to QUAT
MI2S RX backend.

Change-Id: I94484d1a0d2cdbc99174215417b0c33a5852ea8f
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-11-23 22:51:31 -08:00
Viraja Kommaraju
d3478b29f0 ASoC: msm: Add support for MultiMedia23
Add MultiMedia23 fe_dais, routing controls,
mixer controls support for early audio feature.

Change-Id: I2bb0eb6f161e11c289dc55b9d3993a8089875aa6
Signed-off-by: Viraja Kommaraju <virajak@codeaurora.org>
2019-11-15 00:51:21 -08:00
qctecmdr
3013385a97 Merge "asoc: add new path for in call recording" 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
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
qctecmdr
4436361d36 Merge "asoc: routing: Add route controls for RX_CDC_DMA_RX_1" 2019-11-07 01:06:59 -08:00
qctecmdr
6ad0cc614e Merge "asoc/dsp: add tert_tdm_tx_0 port for lsm support" 2019-11-01 21:30:24 -07:00
Laxminath Kasam
dcf2ab2380 asoc: routing: Add route controls for RX_CDC_DMA_RX_1
Add controls required for RX_CDC_DMA_RX_1 used for
AUX speaker path in bengal target.

Change-Id: Ia7ec59b19960e3c3f3a844406671303f72787bc1
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-01 15:33:47 +05:30
Vignesh Kulothungan
6f4285c583 ASoC: add echo ref support for SEN MI2S
Add SEN_MI2S_RX to echo_ref_rx so it can be used for
Audio EC reference.

CRs-Fixed: 2553377
Change-Id: Id326c6f80b0553bd1031b2c4a641d6bc716d03a7
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-10-31 20:57:40 -07:00
qctecmdr
994b108f6e Merge "asoc: Add check for valid backend index" 2019-10-30 10:32:16 -07:00
qctecmdr
17923a3092 Merge "ASoC: Add routing for quin tdm tx and voice controls" 2019-10-30 10:29:58 -07:00
Guodong Hu
395166b04b asoc/dsp: add tert_tdm_tx_0 port for lsm support
Add backend port: TERT_TDM_TX_0 to support
"LSM Mixer", "LSM Port" and "LSM Function"
mixer controls.

Change-Id: I86d83ba96ee79bbffef4aee2f31a6d16eb09d78f
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2019-10-29 10:38:18 -07:00
qctecmdr
5a11838d7b Merge "ASoC: Add DTMF support for Audio usecase" 2019-10-25 05:44:29 -07:00
Vatsal Bucha
82aee8f928 ASoC: Add routing for quin tdm tx and voice controls
Add routing for quin tdm tx 0 to 3 and voice controls.

Change-Id: I39cb30e4a8eac556059aa156675e9afddd00f890
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-10-21 23:59:31 -07:00
Anurag Chouhan
b2a024a1d1 AsoC: Add mixer controls for incall music delivery
Add mixer controls for incall music delivery.

CRs-Fixed: 2533113
Change-Id: Ie3180e16820627fbf3196281b0e8bdd91174e3b6
Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
2019-10-21 02:45:25 -07:00
qctecmdr
e5a9a64b36 Merge "asoc: add routing for RX_CDC_DMA_RX_1 to connect for hostless FE" 2019-10-15 00:26:14 -07:00
Rohit kumar
2b4cbd8cda asoc: Add check for valid backend index
Add check for valid backend index in
msm_routing_put_port_chmap_mixer.

Change-Id: I8cda2313a38aaacc5255b47321ccfd0d573e1cfb
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
2019-10-13 23:56:49 -07:00
Laxminath Kasam
e0eca370e8 asoc: add routing for RX_CDC_DMA_RX_1 to connect for hostless FE
Add routing connection for RX_CDC_DMA_RX_1 backend
to frontend CDC_DMA hostless for supporting FM on speaker over AUX.

Change-Id: I14e4344fb6cc943ced4402d323ff6e04448806c4
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-10-03 19:34:45 +05:30
Prasad Kumpatla
6db89c7dc3 asoc: Add support for Hifi resampler check with bitwidth and sample_rate
The check for bitwidht and sample rate along with hifi enable is to ensure not
to open speaker at 32bit in combo usecase of speaker and Hifi-headphone.

Change-Id: I4d1e5f357a74424c28d11d17a9fdfdd9309adec3
2019-10-01 03:50:16 -07:00
Jhansi Konathala
8cf03d44ad ASoC: Add DTMF support for Audio usecase
Add  support to route DTMF source AFE port 
to any other RX port. this support is already 
present  during voice call. This change adds t
same support during audio usecase.

Change-Id: I78fa1049e04de6d7af535929beac209f4c8bc1c6
Signed-off-by: Jhansi Konathala <cjkonat@codeaurora.org>
2019-09-24 19:16:32 +05:30
qctecmdr
050efd64a3 Merge "asoc: msm-routing: Fix array out of bounds issue." 2019-09-21 22:16:47 -07:00
Ajit Pandey
248ce5678f asoc: msm-routing: Fix array out of bounds issue.
It seems there is out of bound access chances for lsm_app_type_cfg
array within msm_routing_get_lsm_app_type_cfg_control() callback.
Added case check to return invalid value if user tries to exceed
maximum allocated size of array to avoid it.

Change-Id: Ied86e6c9a957255c55bb126a09741fbde429be32
Signed-off-by: Ajit Pandey <ajitp@codeaurora.org>
2019-09-16 12:36:44 +05:30
Karthikeyan Mani
925413eba5 asoc: msm: Add primary tdm tx line in echo reference
Add primary tdm interface in echo reference list
so that it can be used for any echo reference use
case.

Change-Id: Id1621240fc28e0e1b505f5e46c426df0b91c416e
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-09-10 16:59:31 -07:00