İşleme Grafiği

2020 İşleme

Yazar SHA1 Mesaj Tarih
Phani Kumar Uppalapati
25f314627d asoc: Lahaina machine driver for AudioReach
Add audioreach lahaina machine driver.

Change-Id: I2699f2570f2f08cbbcd669dbe861aba3db21266a
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2020-06-25 00:38:10 -07:00
Sudheer Papothi
151b7eac0c ASoC: swr-haptics: Avoid soundwire resume during subsystem restart
Soundwire register write from haptics resumes soundwire master during
subsystem down. Avoid soundwire slave register writes when the subsystem
is already down.

Change-Id: I78304b84bfaf882df1b76dbd04a8e063185d3963
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
(cherry picked from commit a151ba4e13)
2020-06-25 00:38:04 -07:00
Sudheer Papothi
461c2a6e36 ASoC: lahaina: Add soft dependencies for BT
Audio driver expects BT to be probed first before
machine driver probe. Changes ensures BT dependency
for audio.

Change-Id: I82004f464ed9e7bb90d24bf2762c99b9817f95a3
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
(cherry picked from commit 2c4bc0683f)
2020-06-25 00:37:59 -07:00
Aditya Bavanari
42a8ba550a audio-kernel: Synchronize hw vote and unvote requests
HW vote and unvote is currently called from multiple
clients leading to synchronization issues
during SSR/PDR scenarios. Synchronize all the vote requests
by using digital codec resource manager.

Change-Id: I7e63f69ab5d761a3bb4c7ce70bbef2e8bfd76cfb
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
(cherry picked from commit 31aa875405)
2020-06-25 00:37:32 -07:00
Aditya Mohan
1859d2a24b asoc: kona: dailinks for RT PROXY
Addition of dai links so that the RT PROXY
port can be configured. All dai's are set
to snd-soc-dummy since there is no
configuration needed to be done on this
dais rather they are just used to satisfy
the stream to device connection.

Change-Id: Ie6002478d68f9ba272081be652042d6b95e03fe6
Signed-off-by: Aditya Mohan <aditmoha@codeaurora.org>
2020-06-25 00:35:55 -07:00
Rohit kumar
ca765db76b asoc: kona: Add support for channel map mixer control
Add new mixer control to get channel map associated with
codec for Slimbus and Codec DMA interface.

Change-Id: Ie38c5b05a2a371a7f3801b1ab194546b39b5a3d6
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
2020-06-25 00:35:51 -07:00
Ashish Jain
de3e09d08d asoc: Expose a sysfs node to notify device open/close.
Add support in kona machine driver to expose a sysfs node.
Userspace uses this sysfs node to notify machine driver
on which dai-link ( pcm id) is opened/closed. This information
regarding device open/close is then compared against shutdown/
startup dai_link ops. If there is a mismatch we conclude
that there has been a userspace service crash and we
issue a close all session command to dsp and also clear
all the dma buffers which were allocated by the service.

Change-Id: I4fc13adf8cc527c87b822a3b189d4ff081539a3c
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
2020-06-25 00:35:46 -07:00
Rohit kumar
f6eb3aac0f asoc: Add msm_common.c for I2S, TDM and AUXPCM interfaces
Change-Id: I675ec1f266a68c87882094d64055481305c6bdfb
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
2020-06-25 00:35:13 -07:00
Rohit kumar
d6fb96d20b asoc: kona: Add dai links for DP and USB
Change-Id: I33b46806b4fa1c8a127fd1999a1a92395db05a6d
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
2020-06-25 00:34:48 -07:00
Rohit kumar
2e2e457029 asoc: kona: Add support for BT RX/TX device
Change-Id: Ia247368fa99139ce9a7ba8a0a06213b6aea30da6
Signed-off-by: Taha Azzaoui <tazzaoui@codeaurora.org>
2020-06-25 00:34:43 -07:00
Rohit kumar
5b8aa0b33c asoc: Add msm-audio-defs.h
Add msm-audio-defs.h and update kona machine driver.

Change-Id: Ia483095bbc634cfd006b1071ec5ec0bdc6edd04f
Signed-off-by: Taha Azzaoui <tazzaoui@codeaurora.org>
2020-06-25 00:34:39 -07:00
Rohit kumar
31670c14e6 asoc: clean up audio-drivers
Remove backend cpu dai driver

Change-Id: Ibe7bdbc765970f8eab57562858c1caf3ed8ecc7b
Signed-off-by: Taha Azzaoui <tazzaoui@codeaurora.org>
2020-06-25 00:34:19 -07:00
Vignesh Kulothungan
8fc7957756 ASoC: add hw_core voting via PRM module
Change-Id: Ifa070caa6e5ff0263d0d471e5f0d7e7b09a41f0d
Signed-off-by: Taha Azzaoui <tazzaoui@codeaurora.org>
2020-06-25 00:31:10 -07:00
Vignesh Kulothungan
edc7498009 Update drivers to be CASA compliant
Change-Id: I88e0e03d839a2f9c702ef9e62e0dfb03c6c139e5
Signed-off-by: Taha Azzaoui <tazzaoui@codeaurora.org>
2020-06-25 00:28:12 -07:00
Phani Kumar Uppalapati
11b101167f audio-kernel: Remove Elite drivers
Remove Elite framework related audio drivers.

Change-Id: Ia4bd85052b6212c246a18888372a227e3416a207
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2020-06-08 11:41:46 -07:00
qctecmdr
934188e064 Merge "dsp: afe: add support for codec dma data alignment API" 2020-05-16 03:24:33 -07:00
qctecmdr
acc52d9076 Merge "asoc: lahaina: update and affine qos value" 2020-05-16 03:24:33 -07:00
qctecmdr
4bef843da5 Merge "asoc: wsa883x: Update init values of VAGC" 2020-05-14 22:04:37 -07:00
qctecmdr
a37afa76c0 Merge "ASoC: create wsa883x codec entry in proc fs" 2020-05-14 22:04:37 -07:00
qctecmdr
411fc736f9 Merge "ASoC: lahaina: Update sample rate for speaker protection" 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
072e3e291c Merge "asoc: codecs: Add default case for switch." 2020-05-14 22:04:36 -07:00
qctecmdr
763894acd7 Merge "asoc: codecs: check the spkr status before access the wsa registers" 2020-05-14 22:04:36 -07:00
qctecmdr
55e8b9735a Merge "ASOC: Remove support for ANC headphones" 2020-05-14 22:04:36 -07:00
qctecmdr
564e35a030 Merge "asoc: msm-compress: Reset channel map flag during close." 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
qctecmdr
0b7eee39e7 Merge "asoc: lahaina: add fe proxy port for hearing aid" 2020-05-14 22:04:35 -07:00
Prasad Kumpatla
924c7d027c asoc: codecs: Add default case for switch.
Add default case for switch to avoid the
Null pointer dereference for the map and num_ports
variable in for loop.

Change-Id: I59c9dc6e5396bcb409876378c811143da1c81551
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-05-12 23:41:45 -07:00
Prasad Kumpatla
521ea726c2 asoc: codecs: check the spkr status before access the wsa registers
Before access the wsa register check the spkr status bit in
power-down sequence.

Change-Id: I5e07ee56e17701275784fd4c413bc214c5893989
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-05-12 22:56:32 -07:00
Zhou Song
f1f69780c0 asoc: lahaina: update and affine qos value
Fix qos value to 300 micro seconds to prevent core
from going into low power mode when low latency
session is active.
Also pin this qos to core 1 & core 2 where audio
and glink threads are running to let other cores
to go to low power modes if possible.

Change-Id: Ic97936303b5006c44ec2bb080e3558e54f6d8068
Signed-off-by: Zhou Song <zhous@codeaurora.org>
2020-05-13 12:49:50 +08:00
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
Laxminath Kasam
8250aa6bfe soc: wsa883x: Update changes for wsa8830
Update DRE_CTL offset to 3 for wsa8830 variant.

Change-Id: I9acab01b0099093b8e427d52e48ba9744c6f5aac
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-05-12 20:42:26 -07:00
qctecmdr
e7efdae360 Merge "ASoC: Lahaina: Add support for audio haptics" 2020-05-10 05:35:13 -07:00
qctecmdr
836b9d68ac Merge "ASoC: remove redundant code in dai link defintion" 2020-05-10 05:35:13 -07:00
qctecmdr
1164aa6f4a Merge "asoc: wcd938x: adjust swr sequence for wcd mic recording" 2020-05-10 05:35:13 -07:00
qctecmdr
51075bb60c Merge "asoc: codecs: Add delay to eliminate playback pause post SSR on hs" 2020-05-10 05:35:13 -07:00
qctecmdr
a7e2d0d2b4 Merge "asoc: bolero: Fix AMIC TX pop on bolero 2.1" 2020-05-10 05:35:13 -07:00
qctecmdr
3dc027a3da Merge "asoc: Fix port collision interrupt in WSA" 2020-05-10 05:35:13 -07:00
qctecmdr
320ef023a6 Merge "asoc: lahaina: add proxy ports for call screening in machine driver" 2020-05-10 05:35:12 -07:00
qctecmdr
4e225c6408 Merge "Revert "ASoC: wsa883x: Add support for VBAT monitor"" 2020-05-10 05:35:12 -07:00
Preetam Singh Ranawat
319590242d asoc: msm-compress: Reset channel map flag during close.
For some of the clips improper channel map is applied when not
set from userspace.
Reset channel map flag to apply default channel map.

Change-Id: Ic128b835ecea632c99fba5b14471fc76e767b80e
Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
2020-05-09 17:12:37 -07:00
Akhil Karuturi
3ba03d15fe ASOC: Remove support for ANC headphones
ANC headphones are no longer supported, removed dead code related to the feature.

Change-Id: I3dd51b5b1d9f77fd870947608f8a14fc3f7aeed0
Signed-off-by: Akhil Karuturi <akarutur@codeaurora.org>
2020-05-07 19:51:29 -07:00
Sudheer Papothi
cd507e1f28 ASoC: lahaina: Update sample rate for speaker protection
Support 48KHz sampling rate for speaker protection
backend DAI link.

Change-Id: I2ca284b843ff1bf11c17d2b36a6bbc0339dc8a95
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-05-06 22:46:14 -07:00
Laxminath Kasam
993e8e8f34 asoc: wsa883x: Update init values of VAGC
Update current limit and VAGC settings to
limit the current drawn at chipset causing
target reset.

Change-Id: I8cc1c91d45f1e27c236c00b5b0f851502f69d82c
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-05-06 19:05:58 -07:00
Vignesh Kulothungan
e2170a1894 ASoC: create wsa883x codec entry in proc fs
Create a WSA883x codec entry with variant and version info
for each of available wsa883x devices in proc file system.

Change-Id: I0656a947a735abc0a00aa1dcbfc57ce00f653e13
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-05-06 11:40:11 -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
1b0ebc41e0 Merge "ASoC: add null check before use" 2020-05-05 23:55:58 -07:00
qctecmdr
dfbf3ea4bd Merge "ASoC: swr-haptics: Cleanup on the error printings" 2020-05-05 23:55:58 -07:00
qctecmdr
30ce32183a Merge "asoc: wsa-macro: Update VI sense setting based on pcm rate" 2020-05-05 23:55:58 -07:00
qctecmdr
b0afb2d28b Merge "bolero: tx-macro: Fix audio distortion during amic record" 2020-05-05 23:55:58 -07:00