Commit Graph

17 Commits

Author SHA1 Message Date
Soumya Managoli
ee00c83a92 audio-kernel: Bring up changes for bengal
Enable audio driver compilation for bengal.

Change-Id: I1ce7f0356fe70bc59c7caa6d333ad380d1e725ff
Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com>
2022-09-29 16:50:51 +05:30
qctecmdr
bfa84ffadd Merge "ASoC: add dai link for playback compress3" 2020-06-11 04:15:16 -07:00
qctecmdr
dfa5675e0b Merge "asoc: Fix a memory leak issue when nvmem read returns invalid length" 2020-06-05 01:54:03 -07:00
qctecmdr
0e6beb74b4 Merge "asoc: Add a separate mbhc config for rouleur codec" 2020-06-01 10:27:00 -07:00
qctecmdr
178111f453 Merge "asoc: Add Rx swr master port config for scuba target" 2020-06-01 10:27:00 -07:00
Mingshu Pang
ff2d021fb6 ASoC: add dai link for playback compress3
add dai link for playback compress3

CRs-fixed: 2695615
Change-Id: I8076dc0c6383adf1404a22a577c55d8dcd11a089
Signed-off-by: Mingshu Pang <mpang@codeaurora.org>
2020-05-28 10:37:24 +08:00
Aditya Bavanari
d8864856e7 asoc: Fix a memory leak issue when nvmem read returns invalid length
When nvmem cell read returns invalid length the allocated buffer
is not freed. Free the buffer in this scenario to fix
memory leak issue.

Change-Id: I68585c1dd45b0a40c471bf42dea201cd0ebb497f
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-05-27 13:10:35 +05:30
Aditya Bavanari
3382d06882 asoc: Add a separate mbhc config for rouleur codec
As rouleur codec supports only 5 buttons and headset
vref max value is 1.7V, use a separate mbhc config
structure to initizlize mbhc.

Change-Id: Icd78d8c10f3d4dd3585c76c407d2d323c20cbe3f
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-05-12 22:57:21 -07:00
Aditya Bavanari
19363f7321 asoc: Add Rx swr master port config for scuba target
Add port config for Rx swr master in order to
support the rouleur codec in scuba target.

Change-Id: Ic278d02f222686afc6ff976c4b1c3bb499ed903f
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-05-12 22:56:22 -07:00
Samyak Jain
d46f27c4be soc:bengal: add proxy ports for call screening in machine driver
add machine driver changes for proxy port changes.

Change-Id: I95e269953fa482002d028c60165ba5ad95521f6f
Signed-off-by: Samyak Jain <samyjain@codeaurora.org>
2020-05-12 22:54:46 -07:00
Aditya Bavanari
ee6367c560 asoc: Add support for rouleur codec in machine driver
Add rouleur codec support in bengal machine driver
to create codec entry and invoke mbhc hs detect
functions for respective codecs. Correct the logic
for headset detection pull up current and
volatile registers for digital part of rouleur codec.

Change-Id: I22545dc796c215c1501e883796546c97d8ca8698
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-04-16 01:17:00 -07:00
Laxminath Kasam
7e443c1cd6 asoc: bengal: Avoid island config to afe for sva disable variant
Check SVA disable variant and skip send afe island config.

Change-Id: Ida6c32ec042f545291aaeb8e616478b991d923bd
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-01 12:54:32 -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
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
Laxminath Kasam
c6974d0dad asoc: bengal: Update comments with proper PCM ID info
Update PCM ID with correct values in comments.

Change-Id: Ie456481aa57f0adebb20921d8d0f0d25c7b714e0
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-22 15:21:08 +05:30
Laxminath Kasam
e1dc0d7901 asoc: bengal: Use dtsi property for VA, RX-TX macros dailinks
Append dailinks for VA and RX-TX macros based on dtsi property.

Change-Id: Ib1f4520cd569546e5954d9295b8455f89a3212ca
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-11-06 17:55:07 +05:30
Laxminath Kasam
ae52c99252 asoc: bengal: Add new machine driver for bengal target
Add support for new machine driver for bengal target.

Change-Id: Iffb189136e0ec0ae42d375d112227d4237e4b502
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-10-09 14:27:00 +05:30