Commit gráf

2914 Commit-ok

Szerző SHA1 Üzenet Dátum
Ashish Jain
dacb2cc698 ASoC: lahaina: Update all dai_links to conform to latest kernel
Audio reach architecture needs straight dais, update dais
to conform to latest 5.4 kernel.

Change-Id: I13db7276589cefa5fe0951eb8852a0f4fd1b75a0
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
(cherry picked from commit f0a9c1831f232e676a183234d64ec9a893216e8f)
2020-06-29 12:08:44 +05:30
Laxminath Kasam
3afce0de68 Soc: soundwire: Update hw_ctl on HCLK at bootup
For soundwire version 1.6, HCLK remove HW controlled
at bootup before soundwire frame generation status check.

Change-Id: Idc2420d086261766ea4e79f69320f12c4d6b2259
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-06-25 00:40:54 -07:00
Vignesh Kulothungan
b2dea4a689 include: soc: Add gpr device definition
Add definition for gpr device id.

Change-Id: Ibfda76eb8a0d1e8871e29fd170f7d96eed3d622f
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-06-25 00:40:48 -07:00
Phani Kumar Uppalapati
bc326d21fd audio-kernel: upgrade to ar/spf changes
Rename casa to ar and gecko to spf in audio-kernel.

Change-Id: Ia37ee0497ce043443ca70131d2739737cb8f0366
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2020-06-25 00:39:53 -07:00
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
Phani Kumar Uppalapati
4adf995c01 audio-kernel: Update audio adsp glink channel name to adsp_apps
Change-Id: I31a50b4d8b7d979882b323b227f577ca168aa780
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2020-06-25 00:35:42 -07:00
Bharath Tirunagaru
ac15eb7016 audio-kernel: SSR/PDR fixes on audio-drivers.
Few Fixes on the drivers we are making are
1. snd_event is not resetting client info on deregister.
2. audio_prm is not providing the snd event up notification
3. gpr_lite reversing registration seq to avoid race condition
4. pinctrl-lpi reversing reg seq to avoid race condition.

Change-Id: I749de8874b33a528cb6b386d753f5d594139a577
Signed-off-by: Bharath Tirunagaru <bharatht@codeaurora.org>
2020-06-25 00:35:35 -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
Bharath Tirunagaru
ebf0162590 audio-kernel: Add changes to support SSR/PDR
Add changes in audio-pkt,voice_mhi and gpr-lite drivers.
Fixing bug in audio_pdr driver w.r.t memory allocation.

Change-Id: I6ab7ff13b532921f85e9548341969abd32ee3b6d

Signed-off-by: Bharath Tirunagaru <bharatht@codeaurora.org>
2020-06-25 00:35:08 -07:00
Vikram Panduranga
2f145b55cf dsp: add support for voice call
Add voice call support for kona.

Change-Id: If87546f369503a8c551c4e2413b9d5c55115be82
Signed-off-by: Taha Azzaoui <tazzaoui@codeaurora.org>
2020-06-25 00:34:59 -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
Phani Kumar Uppalapati
f8d25f4dfb audio_prm: Remove false error message
Change-Id: Ic59f21aa42973a5dff450e89b161d4b3ed99c5a2
Signed-off-by: Taha Azzaoui <tazzaoui@codeaurora.org>
2020-06-25 00:34:13 -07:00
Ashish Jain
4bca3d64c1 dsp: fix prm driver getting woken twice
Ensure that the mutex is not signalled twice.
Also update resp_recieved variable to false before
the command is sent. This helps ensure that the
prm driver does not miss wake up signal issued
from prm_callback.

Change-Id: Ief9274768ef38095e0cadaf8e1e4b1f0dc5350ad
Signed-off-by: Taha Azzaoui <tazzaoui@codeaurora.org>
2020-06-25 00:33:50 -07:00
Vignesh Kulothungan
c1772c5d23 dsp: remove dsp codecs compilation
Remove dsp codec compilation references from kernel build
and makefile.

Change-Id: I506e836d8115a2598589b94343299e16a1885183
Signed-off-by: Taha Azzaoui <tazzaoui@codeaurora.org>
2020-06-25 00:33:46 -07:00
Vignesh Kulothungan
8cc6e93451 dsp: replace apr with gpr api
Replace APR API to get ADSP state with GPR API.

Change-Id: I8edb8a831ef8755202fc95454af3b4210a114719
Signed-off-by: Taha Azzaoui <tazzaoui@codeaurora.org>
2020-06-25 00:33:41 -07:00
Vignesh Kulothungan
148520fd4d soc: disable swr master probing
Change-Id: I9995f23470d287e2856f2001709f1725137ffff9
Signed-off-by: Taha Azzaoui <tazzaoui@codeaurora.org>
2020-06-25 00:33:34 -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
Taha Azzaoui
12238a5ca3 Lahaina auto conf update
Change-Id: Id414f83b5f860c90aac6df6e5631ba71f53d6609
Signed-off-by: Taha Azzaoui <tazzaoui@codeaurora.org>
2020-06-25 00:29:02 -07:00
Vignesh Kulothungan
2d396350a5 config: Enable compilation for casa/gecko
Change-Id: I8144c2d3545f8dab4d8f4052b9f7a67d9167ce07
Signed-off-by: Taha Azzaoui <tazzaoui@codeaurora.org>
2020-06-25 00:28:58 -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
Taha Azzaoui
6c8bf95ddf gecko compliant drivers
Change-Id: I5f19da1472a0e90cc5d16459b5367dc07ec2f28b
Signed-off-by: Taha Azzaoui <tazzaoui@codeaurora.org>
2020-06-25 00:27:26 -07:00
Taha Azzaoui
5986527a1e ipc: Add support for GPR
Add support for GPR and Audio-pkt drivers for AudioReach.

Change-Id: I4813ec1e3696900ebd426caa3017eae623b3a6c9
Signed-off-by: Taha Azzaoui <tazzaoui@codeaurora.org>
2020-06-09 20:27:01 -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
127718f3d9 Merge "soc: remove reslock usage during wakeup vote/unvote" 2020-05-16 03:24:33 -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
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
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
ca1d3b1231 Merge "dsp: codecs: Add spin_lock_irqsave instead of spin_lock" 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
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
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