Commit Graph

100 Commits

Author SHA1 Message Date
qctecmdr
061e05e781 Merge "asoc: reduce HS TDM widget connection when it's disabled" 2022-03-31 22:14:05 -07:00
Dechen Chai
268b2ba14e Revert "ASOC: Disable Temperature sensor of WSA881x for bengal"
This reverts commit d1644ff55d.

Change-Id: Iac9a0d8128bbce516ea147a70f0266d256a0f3c3
Signed-off-by: Dechen Chai <quic_dchai@quicinc.com>
2022-03-29 17:25:05 +05:30
Shuai Zhang
e72bd21ce5 asoc: reduce HS TDM widget connection when it's disabled
Add CONFIG_HSIF_DISABLE config to reduce HS TDM
widget connections when it's disabled.

Change-Id: I9b8a36a99fbfe4356311e2b9bc6e5a7fd7e2ac0c
Signed-off-by: Shuai Zhang <quic_shuzhan@quicinc.com>
2022-03-21 17:20:44 +05:30
Shuai Zhang
4ec279c7cb makefile: add config support for audio techpack for QCS610
Add required changes to makefile and enable the config
keys for QCS610 target cpmpilation.

Change-Id: I8ef55e9b237f10ae0d240d83c685f5580a939be3
Signed-off-by: Shuai Zhang <quic_shuzhan@quicinc.com>
2022-03-07 13:17:54 +05:30
Dechen Chai
d1644ff55d ASOC: Disable Temperature sensor of WSA881x for bengal
-Temperature sensor of WSA881x is not used in bengal
Hence disable compilation.
-Initialize temp_val before use for wsa881x-analog.

Change-Id: Ibfb2fdfabdba7acfad3f65911b89d007a0711f08
Signed-off-by: Dechen Chai <quic_dchai@quicinc.com>
2022-02-23 08:26:50 +05:30
qctecmdr
49c9342668 Merge "soc: swr-mstr-ctrl: Move to CPU-1 FIFO for swr register read/write" 2021-11-24 04:22:33 -08:00
Susan Wang
219d957223 config: sa8155/sa6155/gvmq: remove unused config vars
- Removes CONFIG variables for DTS Eagle and
  Dolby that are no longer used.

Change-Id: I401d10d16040413bf0d170aafb15f547de1ba3ad
Signed-off-by: Susan Wang <yingshuw@codeaurora.org>
2021-11-10 15:37:56 -05:00
Meng Wang
e92fbc265e soc: swr-mstr-ctrl: Move to CPU-1 FIFO for swr register read/write
Both APSS and ADSP are accessing CPU-0 FIFO when CPS is enabled
during speaker playback. This causes underflow issue when accessing
wsa register from APSS. Move APSS to CPU-1 FIFO to resolve underflow
issue.

Change-Id: I5ed9143bc78757468fbe4bcc686196149ca521f2
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2021-11-03 01:07:29 -07:00
Hexuan Zhu
5a27b32cb6 config: fix compile issue
We need to make autogvm-gki-llvm-64 compile well for scan.
Change in gvmauto.conf is to fix compile issue by skipping some files.
Change in sa6155conf in to fix compile issue after move to techpack.

Change-Id: I9d30b0e3160dcf87d8d455e7e2a812f03537bcab
Signed-off-by: Hexuan Zhu <hexuzhu@codeaurora.org>
2021-09-17 09:37:11 +08:00
Alex Zou
dd512fa708 asoc: add dummy machine driver for hgh snd card probing
add dummy machine driver for HGH SND card

asoc: add auxpcm nodes for hgh

Change-Id: Ic154a7c157c8a33bf8e5e3cd642238c750e5e9bd
Signed-off-by: Narsinga Rao Chella <nrchella@codeaurora.org>

Change-Id: Ia5c36c9ccfbfc922cb7871886e36020457fc5ba0
2021-08-05 12:31:22 -07:00
Deru Wang
5922d64b86 ASoC: add gvm config file for auto sa8295 platform
Bring up LV GVM audio module for automotive sa8295 platform.

Change-Id: If56b83c3bf0f49480bd1531474e5942c607741b0
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
2021-03-31 19:28:14 +08:00
Deru Wang
f45c5b4585 asoc: active GPIO122 and enable mclk for sa6155 auto platform
enable GPIO122 as mclk2 for externel AMP on sa6155 auto platform.

Change-Id: I9cb9012096a3a7620aeaeae5c690ae9ff168457a
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
2021-03-19 12:16:33 +08:00
qctecmdr
99d8880711 Merge "audio-kernel: Fix build time issue" 2020-12-22 01:18:16 -08:00
Abhiprayah Tiwari
02f0075412 audio-kernel: Fix build time issue
audio modules take a significantly high amount of time to compile
in incremental builds. The export statement causes unnecessary
exports which leads to problem. Removing it and adding it in device
specific conf file to make it similar to lahaina, kona etc

Change-Id: Id9d452e8f62381129263f554b794c5144de456c0
2020-12-18 06:50:37 -08:00
Vatsal Bucha
bfa2c31c0f config: Add module for wcd937x for yupik in autoconf
Add module for wcd937x for yupik in autoconf file
as yupik has wcd937x.

Change-Id: I4f5517557bc50e1f631d85ab7069f7dc30a48ac5
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-12-16 12:43:12 +05:30
qctecmdr
c285d08046 Merge "asoc: fix compile issue due to soundwire" 2020-11-29 23:55:13 -08:00
Deru Wang
f7990a7248 asoc: fix compile issue due to soundwire
Change-Id: Ia4996026b95ee5b3fe693c279147205a7f0894b3
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
2020-11-19 06:05:04 -08:00
Hongtao Peng
eae52c27a7 ASOC: fix audio machine driver compile issue
LV Platform use the same LVGVM cause Kbuild mismatch issue

Change-Id: Iad092ebcbd991e52daedb87406920055528e3a1c
Signed-off-by: Hongtao Peng <hongtaop@codeaurora.org>
2020-11-15 18:32:38 -08:00
qctecmdr
def0a6fb46 Merge "config: lahaina: Disable AUXPCM interface" 2020-09-23 22:09:43 -07:00
qctecmdr
da5ff7c31c Merge "audio-kernel: include sa8155 config" 2020-09-23 22:09:42 -07:00
Prasad Kumpatla
193072dec9 config: lahaina: Disable AUXPCM interface
Disable AUXPCM interface to avoid unnecessary
registration of mixer controls and improve
performance in loading mixer paths.

Change-Id: I8025a3d5372c90546ba1ed47fa18c160d42f76ef
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-09-18 13:47:31 +05:30
Tahir Dawson
c397018921 audio-kernel: include sa8155 config
Change-Id: Icceeafc2a6d0996e39a05f39246aaf3f5e99404f
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
Signed-off-by: Tahir Dawson <dawson@codeaurora.org>
2020-09-16 10:35:18 -07:00
Vangala, Amarnath
265ff22772 ASOC: Disable Temperature sensor of WSA881x for holi
Temperature sensor of WSA881x is not used in holi.
Hence disable compilation.

Change-Id: I9fe1d297413c0029970c7719aad6c04ee3f84ab4
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-09-14 20:57:42 +05:30
Guodong Hu
6d6529a694 dsp/ipc: update kbuild and header files for gvm bringup
Update Kbuild and header files in msm_audio_ion_vm.c
and apr_vm.c for kernel 5.4 gvm audio bring up.

Change-Id: I6bcd0e49f783aaec43a64ad308b817a474b30dc7
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2020-09-01 00:47:51 -07:00
Aditya Bavanari
da6ab9bc62 config: Disable MI2S, TDM and AUXPCM interfaces for holi
Disable MI2S, TDM and AUXPCM interfaces as they are
unused for holi target. This will reduce the number of mixer
controls registered with asoc and improve the performance.

Change-Id: Icec543124401fc483b02b30c29ebbd293d766bc1
2020-08-25 21:56:06 -07:00
Vangala, Amarnath
03d0a8e7f2 asoc: holi: disable wsa macro
Remove compilation flag for wsa macro for holi.

Change-Id: I54d3a7414bb2fd86af15b7028773447b9a0373d7
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-07-28 18:39:36 +05:30
Vangala, Amarnath
d6f2eaa495 asoc: machine driver and bring up changes for holi.
add machine driver for holi.
compile wsa881x analog driver for holi.
compile wcd937x and wcd938x drivers for holi.

Change-Id: Icba23cc4b1dd40f7dec6f16bb67a6fae26317f80
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-07-22 15:55:25 +05:30
Aditya Bavanari
cc58384bd8 config: Enable digital codec resource manager config
Enable digital codec resource manager config for Lahaina,
kona, lito and bengal targets.

Change-Id: Ie41a9e61032d20d4deaa95b0669c509ff9b14968
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-04-29 23:23:44 -07:00
qctecmdr
255f95ddd3 Merge "asoc: rouleur: Enable rouleur codec driver compilation" 2020-04-29 22:27:54 -07:00
qctecmdr
1cd62679d5 Merge "ASoC: wsa883x: Enable WSA883x codec driver compilation." 2020-04-29 22:27:54 -07:00
Aditya Bavanari
6389dd3809 asoc: rouleur: Enable rouleur codec driver compilation
Add changes to enable compilation for rouleur
codec driver.

Change-Id: I87eefe0c3d9bbe6445391902110fb210c4b0cd5b
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-04-22 23:12:57 -07:00
Ramlal Karra
52be60c41f ASoC: wsa883x: Enable WSA883x codec driver compilation.
Enable WSA883x codec driver compilation support.

Change-Id: I263e4eb0e2446c345b250df9e484f380164e77e2
Signed-off-by: Ramlal Karra <rkarra@codeaurora.org>
2020-04-20 10:18:30 -07:00
Sudheer Papothi
868a93ca8f config: Add audio haptics driver configuration
Add haptics configuration to compile audio haptics driver.

Change-Id: I78747c43f3e4752b92537fba4ef1476cb72498c4
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-04-10 02:30:17 +05:30
Vatsal Bucha
70f9ed72bb ASoC: Add flag to enable doa tracking params for LE
Add DOA_PARAMS_ENABLED flag to enable tracking params for LE.

Change-Id: I54f40a72338ab09e43d002d19c74f845c5afcd49
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-01 13:05:28 -07:00
qctecmdr
5a85f242a9 Merge "asoc: Add separate array for TDM BE dai links" 2020-03-25 09:38:23 -07:00
qctecmdr
282ca14b8a Merge "config: lito: Disable MI2S, TDM and AUXPCM interfaces" 2020-03-25 09:38:23 -07:00
Kunlei Zhang
ee8a4d5d97 config: add wcd937x support for lagoon
Add wcd937x DLKM files support for lagoon.

Change-Id: I9fa80df4fd25ee476e59bb1bf6a7b25c0cf56a57
2020-03-23 20:41:01 -07:00
Aditya Bavanari
6d5ce1ff4e config: lito: Disable MI2S, TDM and AUXPCM interfaces
Disable MI2S, TDM and AUXPCM interfaces to avoid
unnecessary registration of mixer controls and
improve performance in loading mixer paths.

Change-Id: I093aa1cee9bf6b6e5f17c45e3327deb6fc11018c
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-03-23 20:01:52 -07:00
Harshal Ahire
b5de847666 asoc: Add separate array for TDM BE dai links
-Register for the widgets and interconnections in routing
 driver only when the respective interfaces are supported.

-Create a separate array for TDM BE dai links.

Change-Id: Ic1570ef432c76556aff8c592e12c879aed50e4ef
Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
2020-03-23 19:42:38 -07:00
Vignesh Kulothungan
026a509a09 config: enable external HDMI codec
Enable external hdmi codec for lahaina.

Change-Id: Ida0fd5c278b01b4ac0abe0593ab9aaa5b781220a
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-02-27 13:09:47 -08:00
Karthikeyan Mani
3f9c454715 config: Enable swr dmic config
Enable config to compile swr dmic driver.

Change-Id: I55a5d3d7d59ad350335fa9b55fbce58664fd8523
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2020-01-10 08:43:47 -08:00
Vignesh Kulothungan
509b4d2883 config: add config definitions for lahaina
Add kernel configuration definitions for lahaina.

Change-Id: Id55db52d04b779b0e8b9e50ea1c27bfe387ae72b
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-01-08 13:41:55 -08:00
Laxminath Kasam
00f60bae1e bengal: enable compile of required modules
Update compile of required modules for bengal target.

Change-Id: If4d512b7270cc811a05524caac5292234a0ac437
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-10-12 23:40:48 +05:30
qctecmdr
ba770378e6 Merge "asoc: sa6155: support SSR handling for snd card status" 2019-08-02 06:49:40 -07:00
qctecmdr
b922f017c8 Merge "ASoC: msm: use snd event fwk for ssr on auto platform" 2019-08-02 06:44:00 -07:00
qctecmdr
237662b0a1 Merge "audio-driver: Update build files for sa6155" 2019-07-29 02:50:05 -07:00
qctecmdr
8410ebe24c Merge "config: Revert featurization of 32 channel support in DSP" 2019-07-24 03:10:41 -07:00
Erin Yan
300664fe83 asoc: sa6155: support SSR handling for snd card status
Use SND event FWK for SSR handling. Change snd card
status upon SERVICE_DOWN and SERVICE_UP callback
when adsp subsystem restart happen.

Change-Id: I333e2343e0670f53d40764ce86094c73c836c5c4
Signed-off-by: Erin Yan <xinyey@codeaurora.org>
2019-07-19 14:39:54 -07:00
Derek Chen
c8940293bf ASoC: msm: use snd event fwk for ssr on auto platform
Switch to use SND event FWK for SSR handling
instead of audio notifier on automotive platform.

Change-Id: I8d0b1ac8f09417a8b33a8e8141f7ae06e1195f54
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-07-19 14:36:00 -07:00
Rahul Sharma
f53de7f9fb audio-driver: Update build files for sa6155
Enable conditional build for audio driver modules
specific to sa6155.

Change-Id: I58701a907242afcfe230623ff42b47c001e3d5f4
Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
2019-07-19 12:31:25 -07:00