Commit Graph

189 Commits

Author SHA1 Message Date
qctecmdr
934188e064 Merge "dsp: afe: add support for codec dma data alignment API" 2020-05-16 03:24:33 -07:00
qctecmdr
81b18718b9 Merge "ASoC: dsp: Speaker Protection V4" 2020-05-14 22:04:36 -07:00
qctecmdr
c3c4fd765e Merge "ASoC: update headers for upstream compliance" 2020-05-14 22:04:36 -07:00
qctecmdr
0b521bbfad Merge "asoc: add new fe for hearing aid" 2020-05-14 22:04:36 -07:00
Vangala, Amarnath
00ee526deb ASoC: dsp: Speaker Protection V4
Support for Speaker Protection V4 feature.

Change-Id: I2237836243a716d4ed3288c9c613bc8d4ec5a282
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-05-13 12:00:26 +05:30
Meng Wang
4fed159385 dsp: afe: add support for codec dma data alignment API
Add support for codec dma data alignment API.

Change-Id: Ifcca9454fee4f65dc8787dc39a36acfd4c3af392
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-05-13 12:39:45 +08: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
Ramlal Karra
34a11c755a dsp: q6adm: add ADM_AUDPROC_PERSISTENT cal type
ADM supports certain modules that can have very large calibration sizes,
in such cases the calibration is expected to be persistent in memory.
Add new cal type for this purpose.

Change-Id: I2d1fb219a3748d0ead5ca2199da2b55669f2550e
Signed-off-by: Ramlal Karra <rkarra@codeaurora.org>
2020-04-22 19:19:37 -07:00
Zhou Song
83c6033064 asoc: add new fe for hearing aid
Add a new fe dedicated for hearing aid and the support
of reading data from a new proxy port.

Change-Id: Id2e8ade6bfe5412ca6520d3cff70d6eebad7d7cc
Signed-off-by: Zhou Song <zhous@codeaurora.org>
2020-04-21 16:58:00 +08:00
qctecmdr
4ec39896a8 Merge "dsp: Add support for EOS V2" 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
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
Ramu Gottipati
f36ffb140a dsp: Add FFECNS Freeze event support
Add support to send ffecns freeze event

Change-Id: I73bc6ff8c091427ddb398ae11c95f19c36e904b6
Signed-off-by: Ramu Gottipati <ramug@codeaurora.org>
2020-04-01 13:03:54 -07:00
Satish Babu Patakokila
54d42ba9df dsp: Add support for EOS V2
Use EOS V2 to avoid time out for EOS when afe port
is closed before EOS

Change-Id: I3be0aa33384d2015354b8f9a307f3e0cb200c040
Signed-off-by: Satish Babu Patakokila <sbpata@codeaurora.org>
2020-03-31 21:25:09 +05:30
Derek Chen
b0f16ac9da ASoC: Add mixer control for DTMF module enabling
Mixer controls are added to enable and disable
DTMF ADSP modules.

Change-Id: Ic04c4696b31f77488cb2047829b823255872f7ac
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2020-03-25 22:58:07 -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
Manisha Agarwal
f6990bb349 dsp: Bit rate mode support for aac codec
Add variable bit rate mode support for aac codec.

Change-Id: Iedd9fe0df2d3a12e3d4e6c2916305399da10873f
Signed-off-by: Manisha Agarwal <maniagar@codeaurora.org>
2020-03-18 19:10:14 -07:00
Vignesh Kulothungan
923be76f78 dsp: compile avtimer based on avtimer config
Enable compilation of avtimer only if CONFIG_MSM_AVTIMER
is enabled.

Change-Id: I64cc8c65dbe22fafee527da80d3615fb5201665f
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-01-06 23:47:16 -08:00
Laxminath Kasam
688db8aa06 dsp: q6afe: Update lpass hw votes to maintain separate handles
lpass client handle variable stores latest lpass hw vote.
During PDR, core hw vote release proceed to call unvote
for stale handle since above variable is set to non-zero
as part of audio hm vote. Maintain separate handles for
respective lpass hw votes inorder to fix this.

Change-Id: I432ce38b253ce6d18a25f9845fa694912718c74f
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-05 13:15:45 +05:30
Meghana Reddy Mula
6420f70b2d dsp: Add new mixer control to reset ecns
Add support for mixer control to enable/disable
ecns module for voice call.

Change-Id: I085411c4a6394d27880f8055b3348c1eb5f2b6ff
Signed-off-by: Meghana Reddy Mula <mmula@codeaurora.org>
2019-10-29 16:04:27 +05:30
qctecmdr
51603b4bf0 Merge "dsp: Add support for META MI2S ports" 2019-09-04 03:12:28 -07:00
qctecmdr
1f4c07b7a0 Merge "ASoC: qdsp6v2: increase RTAC_MAX_ACTIVE_DEVICES to 6" 2019-08-25 03:22:19 -07:00
Ralf Herz
43c0abd0c0 dsp: 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: I0d8c2de742e04d7348e40e1026b1640c3f987479
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2019-08-23 20:12:48 +02:00
Surendar Karka
b06682d3e5 dsp: increase maximum active streams count
DSP supports maximum fifteen active streams.
Increase active stream count to fifteen.

Change-Id: I1312ece8cc8bf8040b728718edfb9b5c7ad48b33
2019-08-20 00:14:44 -07:00
qctecmdr
4a362cedcb Merge "asoc: add support for custom channel map" 2019-08-19 23:58:20 -07:00
Derek Chen
fa73f15146 ASoC: qdsp6v2: increase RTAC_MAX_ACTIVE_DEVICES to 6
To support up to 6 audio paths activated with different
devices, increase RTAC_MAX_ACTIVE_DEVICES from 4 to 6.

Change-Id: I16c1247b2b2bafdc646d412a75192494bf0e2b95
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-08-19 20:10:35 +08:00
Chaithanya Krishna Bacharaju
a442b0e3a2 dsp: update DOA param id values
Direction of Arrival  param ids are modified in ADSP Fluence Version9
as currently used params overlap with CVD range values.
Update DOA param id values to avoid mismatch.

Change-Id: I70c779c5a7fc3da3ccdf3ddcd988a20a4908ca81
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
2019-08-12 21:30:24 -07:00
qctecmdr
5467317e15 Merge "dsp: q6afe: add tws mono switch for aptx adaptive encoder" 2019-08-11 03:14:55 -07:00
Surendar Karka
597695312d asoc: add support for custom channel map
In a stream we need to add support for downmixed stereo channel
along with the left and right channels. Add custom channel map
to support downmixed stereo channels.

Change-Id: Icb7fa226a6f07ee4f7d00b8f55fe578c27719c86
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2019-08-06 04:21:08 -07:00
Zhou Song
450ee1b712 dsp: q6afe: add tws mono switch for aptx adaptive encoder
Add support to switch tws channel mode for aptx adaptive
encoder.

Change-Id: Ife4170be56b152d34758a1cfd20fa4ec203742db
Signed-off-by: Zhou Song <zhous@codeaurora.org>
2019-08-06 10:17:23 +08:00
qctecmdr
06dc54de05 Merge "audio-driver: update to support 32 channels" 2019-07-29 02:36:40 -07:00
qctecmdr
e360832ef6 Merge "dsp: Revert featurization of 32 channel support in DSP" 2019-07-24 03:01:07 -07:00
qctecmdr
a7352414c3 Merge "audio-kernel: add support to query presentation position from DSP" 2019-07-24 00:47:35 -07:00
qctecmdr
f9797396bd Merge "dsp: voice: Add support for CVD version 2.4" 2019-07-20 00:19:29 -07:00
Cong Tang
04a6cfa44e audio-driver: update to support 32 channels
update asm/adm/afe drivers to support 32 channels.

Change-Id: Ia231eb6a0fb545569f0f8e1f2442432d761866e9
Signed-off-by: Cong Tang <congt@codeaurora.org>
2019-07-19 14:28:47 -07:00
qctecmdr
fa9e9c3ac9 Merge "ASoC: enable dynamic FFECNS effect control" 2019-07-17 05:37:36 -07:00
Aditya Bavanari
dc3f7e4680 dsp: voice: Add support for CVD version 2.4
CVD version update is needed to support a new modem
feature. Add support for CVD version 2.4 in internal version
mapping table.

Change-Id: I26627e3c88b424acca8f85696dd58d7ce2e944d9
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-07-11 18:31:59 -07:00
Xiaojun Sang
dc9e8c2006 ASoC: enable dynamic FFECNS effect control
Add interface for userspace to control FFECNS effect.

Change-Id: I78010899e6c193726a79d74e86f13a1546106eff
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2019-07-09 15:43:04 +08:00
Dieter Luecking
9fb7c8c43e dsp: Revert featurization of 32 channel support in DSP
Remove the dependency on dedicated config flag for the
use of new API versions in ASM and ADM open commands.
Dependency is now on ADSP service version only.

Change-Id: I2e7bcec675bafb9ad9e2a10df4ccc1e52bb72c92
Signed-off-by: Dieter Luecking <dieterl@codeaurora.org>
2019-07-09 08:41:04 +02:00
Surendar Karka
38d66474e1 audio-kernel: add support to query presentation position from DSP
Add support to query presentation position from DSP
in system time domain.

Change-Id: I42b4d234ddc256f93c01defbe2c74872a2a2cf3e
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2019-07-05 16:03:04 +05:30
Romed Schur
b0fe92c09f asoc: Add DSD over PCM support for csra66x0 codec
Configuration added to support stereo DSD over PCM
for csra66x0 codec via I2S interface.

Change-Id: Ibed333e44961a9eb87ef69bfb1e302f5837357d9
Signed-off-by: Romed Schur <rschur@codeaurora.org>
2019-07-04 11:22:59 +02:00
qctecmdr
7cd81eea83 Merge "dsp: rtac: use accurate stream id during rtac asm apr call" 2019-06-10 05:52:43 -07:00
Weiyin Jiang
fcf3cc05fb dsp: rtac: use accurate stream id during rtac asm apr call
Hard coded stream id fails rtac call for subsequential gapless stream
which uses stream id other than default value. To get/set rtac for
gapless session successfully, we need to update the stream_id as a part
of asm apr header with correct value populated from asm session table.

Change-Id: If4afd73b4cf11bf91730a58ae6dff03efb04519d
Signed-off-by: Weiyin Jiang <wjiang@codeaurora.org>
2019-06-03 16:11:54 -07:00
Sudheer Papothi
ba445bfe2d ASoC: codecs: Add support for LPASS Audio HW vote
Add support for LPASS Audio HW vote needed for low power AMIC
VA usecase.

Change-Id: If6642d418dbf2cc9773fbd0ec0fe35c30afac140
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-05-31 10:37:27 +05:30
qctecmdr
5df0e02847 Merge "asoc: dsp: do extention to support aptx adaptive R2" 2019-05-27 20:10:02 -07:00
qctecmdr
cbadda916f Merge "dsp: add senary MI2S and TDM port IDs" 2019-05-21 20:36:44 -07:00
qctecmdr
4d046667df Merge "ASoC: Add mixer control to configure port specific channel map" 2019-05-21 20:31:27 -07:00
qctecmdr
a6b16919e9 Merge "dsp: add audio ion virtualization support" 2019-05-18 03:08:36 -07:00
Timothy Sham
49cbca051c dsp: add audio ion virtualization support
Add support for virtualized ION frontend driver for audio.
Virtualized ION driver currently is designed to extract
physical memory through hypervisor abstracted ion layer,
which can be shared between APPS and ADSP directly.

Change-Id: I3c664ec3c3a99ce092da6ee103a3b2de4073664f
Signed-off-by: Timothy Sham <tsham@codeaurora.org>
2019-05-13 23:46:55 -07:00