Revīziju grafs

1728 Revīzijas

Autors SHA1 Ziņojums Datums
Vignesh Kulothungan
823f0f01fe ASoC: add config check for QGKI
Add CONFIG_AUDIO_QGKI check for variables and functions
in audio drivers, so they are used only during a QGKI build.

Change-Id: Ia04232566367f196f298a49cf3962bb7927bec6a
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-01-26 03:51:32 +05:30
Vignesh Kulothungan
bde9a11153 ASoC: compress: update codec option wma to wma_dec
Update codec option wma to wma_dec.

Change-Id: I6462c6a5a9a5b2f1e6f74df951a101331ce75872
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-01-22 15:34:30 -08:00
Meng Wang
7ecd3d4fed asoc: use upstream definition of snd_codec
Update drivers to use upstream definition of snd_codec
as compr_passthr and flags variables are no longer supported
on kernel 5.4.

Change-Id: I5b0fc43af9cdae0a40e9e4f086fcecdb4be85f76
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-01-17 17:09:09 -08:00
Linux Build Service Account
bda63b8dfe Merge "asoc: compress: update codec option wma to wma_dec" into audio-drivers.lnx.5.0 2020-01-17 10:40:59 -08:00
Meng Wang
d6bde74f93 asoc: compress: update codec option wma to wma_dec
Update codec option wma to wma_dec.

Change-Id: I1e22c7d2793b2e58a4507e562b4a57ac0a29f418
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-01-16 17:53:22 +08:00
Vignesh Kulothungan
63cd9ad609 asoc: lahaina: remove defunct implementation of qos
Remove defunct implementation of front end qos
prepare function.
Add todo debug log to add the new QOS prepare
implementation.

Change-Id: I95893d0309d465100d7abbab5e1acf6269fd1cde
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-01-15 20:38:40 -08:00
Linux Build Service Account
6744f565b2 Merge "ASoC: wsa883x: update supply and variant configuration" into audio-drivers.lnx.5.0 2020-01-10 16:43:42 -08:00
Vignesh Kulothungan
7697755430 ASoC: add lahaina machine driver
Add machine driver for lahaina.

Change-Id: I5a55e4a5f7ce853816fb822c41502c526edd88b7
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-01-10 16:21:47 -08:00
Karthikeyan Mani
daef08854a asoc: codecs: Add swr dmic codec
Add initial changes for supporting swr dmic
where each codec can support single mic recording
over soundwire port.

Change-Id: I0319bfb5c850d48b563f46d5dd77f21d4a83f029
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2020-01-10 17:24:14 +05:30
Sudheer Papothi
e8b606b2b9 ASoC: wsa883x: update supply and variant configuration
Update supply and variant configuration for wsa883x speaker amplifer.

Change-Id: Ib3e1ae149cc4b9144229b5e2dfab9bb0cc8dab1c
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-01-09 08:07:37 +05:30
Linux Build Service Account
f6b14a755d Merge "ASoC: wsa883x: Add support for VBAT monitor" into audio-drivers.lnx.5.0 2020-01-08 17:20:33 -08:00
Vignesh Kulothungan
16a9d512d7 ASoC: codecs: use function if config is enabled
Use "wcd_mbhc_usbc_ana_event_handler" function only when
CONFIG_QCOM_FSA4480_I2C is enabled.

Change-Id: I5211a8ce09fb06021310e528b5815fdbcd3f2dab
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-01-07 18:59:45 -08:00
Vignesh Kulothungan
46c4e1f885 ASoC: remove unused functions
Remove unused function "wsa883x_regcache_sync" and
"wsa883x_resource_acquire".

Change-Id: Ic4dca68671673141be833926305116d8cd881d89
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-01-07 18:59:41 -08:00
Vignesh Kulothungan
050dd0ef56 ASoC: codecs: wsa883x: update wsa883x_reg_readable
Update wsa883x_reg_readable variable name to wsa883x_reg_access.

Change-Id: Icab949163f32fda7c5f6caf0dfe4641eb100a539
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-01-07 18:18:49 -08:00
Sudheer Papothi
eecf60dcb5 ASoC: wsa883x: Add support for VBAT monitor
Add support for VBAT monitor on WSA883x speaker amplifier
for signal profiling.

Change-Id: I1544b601ac9ee4e8ed6da3839cc46914bbae5d93
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-01-07 14:39:09 -08:00
Linux Build Service Account
11c35ea451 Merge "asoc: kona: update dai-link definition for new kernel" into audio-drivers.lnx.5.0 2020-01-06 18:27:13 -08:00
Linux Build Service Account
be1c1b3408 Merge "asoc: kona: update aux codec APIs" into audio-drivers.lnx.5.0 2020-01-06 18:26:16 -08:00
Meng Wang
b2bdcaa776 asoc: codec: compile wcd dsp manager only for external codec
wcd dsp manager is not needed for bolero and wcd938x. Compile it
when CONFIG_WCD9XXX_CODEC_CORE is enabled

Change-Id: Ia341e6893520769eb1f973a5df74ad9bb2b57063
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-01-07 08:51:57 +08:00
Meng Wang
53155fe958 asoc: kona: update aux codec APIs
update aux codec APIs for new kernel.

Change-Id: If2c2aecbd2379ece5f47c7d9be35911f929dbae9
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-01-02 17:32:14 -08:00
Linux Build Service Account
1599fbce86 Merge changes I3c3e0f41,I1dc09c32 into audio-drivers.lnx.5.0
* changes:
  ASoC: update uapi header location
  dsp: update ion alloc header file
2020-01-02 15:20:35 -08:00
Linux Build Service Account
a762b09064 Merge "ASoC: update cpu_dai_name references" into audio-drivers.lnx.5.0 2020-01-02 14:19:43 -08:00
Linux Build Service Account
77f50499d9 Merge "asoc: lsm: update access_ok api for msm_lsm_client" into audio-drivers.lnx.5.0 2020-01-02 14:19:33 -08:00
Meng Wang
11d85c7ace asoc: kona: update dai-link definition for new kernel
cpu_dai_name, platform_name, codec_name, codec_dai_name are
removed in kernel-5.4 version of ASoC. Update dai-link definition
to reflect the same.

Change-Id: Ife0072a65e6e554bad20cea9844f30245108fd95
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-01-02 14:12:14 +08:00
Linux Build Service Account
c6e429778b Merge "ASoC: codec: Change micbias widgets to supply widgets" into audio-drivers.lnx.5.0 2019-12-31 15:26:06 -08:00
Linux Build Service Account
b8ebaa7745 Merge "asoc: codec: add io header file" into audio-drivers.lnx.5.0 2019-12-31 15:26:03 -08:00
Vignesh Kulothungan
e10da09823 ASoC: update uapi header location
Update uapi header location from uapi/
to uapi/audio.

Change-Id: I3c3e0f413dbb4bcd2aa8c9891bfb0a5806c80ad8
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-12-27 11:26:10 -08:00
Sudheer Papothi
2e7fc986d2 ASoC: bolero: Add codec DAI to support PCM interface
Add codec DAI to support PCM interface to soundwire master on
RX macro in bolero codec driver.

Change-Id: Iaf5a9d9cf78ec9dc29b60ebd7736504ec6470e57
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-12-27 11:17:19 -08:00
Sudheer Papothi
7f9dfd57cc ASoC: wsa883x: Enable WSA883x codec driver
Enable WSA883x codec driver to support WSA883x smart speaker
amplifier.

Change-Id: I0a773459c28ca2afc7232ec33001351152a7249a
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-12-27 11:17:02 -08:00
Meng Wang
4a03bd5171 asoc: update snd info api
Update snd info API and userspace and get codec info.

Change-Id: Ic9cfc89365cf6263a9b1c02403d68e7740bebbeb
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-12-27 11:15:55 -08:00
Meng Wang
aa41c96dcb asoc: lsm: update access_ok api for msm_lsm_client
Update access_ok API based on new kernel.

Change-Id: I2bf7cf838c52cb24b882ebea5c3a5a5873f9a485
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-12-25 15:21:09 +08:00
Vignesh Kulothungan
0db3d6b206 ASoC: update cpu_dai_name references
From 5.4 kernel, cpu_dai_name is replaced by a
pointer to snd_soc_dai_link_component which holds the
dai name, update such references.

Change-Id: I5ddda0232b75cee7c0f2dc937102e1342a50276a
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-12-25 15:17:46 +08:00
Meng Wang
c0c263db97 asoc: codec: add io header file
Add IO header file to call iowrite32 and ioremap.

Change-Id: I742266b7653c2731fa232fa7d2ebeb916a57a129
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-12-25 15:04:25 +08:00
Sudheer Papothi
2732740dd2 ASoC: codec: Change micbias widgets to supply widgets
Upstream kernel deprecated micbias widgets. So, replace micbias
widgets with supply widgets.

Change-Id: Ie7d369d887c85f85ee477877425516caae4d7e33
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-12-25 14:50:54 +08:00
Vignesh Kulothungan
d71ec81bb0 audio: update kernel version reference
Update kernel version references from 4.19 to 5.4.
Update symbolic links to new kernel version files.

Change-Id: I38baa52218b16e0b0c86ad898912d29ec4d3d516
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-12-19 17:04:52 -08:00
Vignesh Kulothungan
92187a5038 audio: Remove android make files
Remove android make files from audio tech package.

Change-Id: I21770bf64cef2bc767cdc81b0b864efff135bf84
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-12-19 16:55:09 -08:00
qctecmdr
02c598e26c Merge "asoc: bengal: set format param mask for SLIM_7_TX backend" 2019-12-13 04:48:54 -08:00
qctecmdr
23f17232f7 Merge "ASoC: bolero: Fix voice activation not working on SWR MICs" 2019-12-13 04:46:11 -08:00
qctecmdr
760b872a49 Merge "asoc: codecs: Synchronize fs gen sequence updates" 2019-12-13 04:44:31 -08:00
qctecmdr
e3003bb845 Merge "asoc: update open read call based on ASM version" 2019-12-13 04:42:43 -08:00
qctecmdr
89506b0c4d Merge "asoc: wcd937x: Avoid clk disable at aux dac" 2019-12-10 05:56:49 -08:00
Aditya Bavanari
7100fb8474 asoc: codecs: Synchronize fs gen sequence updates
Synchronize the bolero fs gen sequence updates
in order to avoid race conditions.

Change-Id: Idb95dcf1d5f5f4d24ab507ccd221d399a6b5a021
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-12-08 23:19:05 -08:00
Prasad Kumpatla
ee5d037b21 asoc: bengal: set format param mask for SLIM_7_TX backend
Enable format mask for SLIM_7_TX backend to fix hardware
params setting failure on bengal target.

Change-Id: I00d7f8a2613c4b396196222e7e6256f896d58cc6
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2019-12-08 23:05:21 -08:00
Vatsal Bucha
efd65f1224 ASoC: bolero: Fix voice activation not working on SWR MICs
Voice Activation is not working from second time on SWR
MICs. Make tx macro registers related to SWR MIC as
volatile to resolve the issue.

Change-Id: Iac52af37d32b53ada193d855949b345da0e47d9c
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-12-08 22:30:19 -08:00
qctecmdr
070e06c2eb Merge "asoc: codecs: bolero: add delay after toggling hpf gate" 2019-12-08 21:58:46 -08:00
qctecmdr
4aa55c6448 Merge "asoc: bolero: add mixer control for LPI enable flag" 2019-12-08 21:54:53 -08:00
Laxminath Kasam
ef20c8c2d5 asoc: wcd937x: Avoid clk disable at aux dac
Clock disable at aux dac event is not needed
as rx3 widget already disables it.

Change-Id: I67feec194cdae5c6d84efcde0a2931ba8f8440dd
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-12-06 14:48:29 +05:30
qctecmdr
1cdf70f30f Merge "ASoC: wsa883x: Add support for subsystem restart" 2019-12-05 06:59:12 -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
fec5f13aea Merge "asoc: Audio bringup changes for bengal" 2019-12-05 06:57:05 -08:00
qctecmdr
85661d1f96 Merge "ASoC: bolero: Update the sequence for native audio playback" 2019-12-05 06:52:39 -08:00