Commit Graph

32 次程式碼提交

作者 SHA1 備註 提交日期
Sarath Varma Ganapathiraju
1e32f15ad7 asoc: Add support to read adsp variant and set sndcard name
Soundcard name might need to be modified based on adsp
sku variants. Add support to read the adsp variant from
nvmem and set the soundcard name.

Change-Id: I2ab0cef6f90a4dd512f736aa6b4540b21a74e917
Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>
2024-03-08 22:08:08 -08:00
Vangala, Amarnath
bc70457455 asoc: pineapple: Fix dai link structure of btfm dai links
Update dai link structure properly for btfm dai links.

Change-Id: Ic82ba458d92c94cd668d1f8f0e4431eae31f7d5a
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2024-02-28 11:16:10 -08:00
Prasad Kumpatla
74ecbee24e asoc: pineapple: fix compilation fix for pitti
fix compilation fix for pitti.

Change-Id: Ifb8c5a4a467e8d2f86ba93c7f27b457dd1f6d1c4
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-01-18 14:05:02 +05:30
qctecmdr
0549c98fff Merge "asoc: add version flag to enable LPASS 2P6" 2024-01-07 02:11:24 -08:00
qctecmdr
a212d57574 Merge "asoc: add tambora support in machine driver" 2024-01-07 02:11:24 -08:00
Yuhui Zhao
ef192ce2b7 asoc: add tambora support in machine driver
Add tambora support in machine driver.

Change-Id: Ie0fc4f1e8c8fb00cd784924671aec014f7cfe07d
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-01-02 08:30:42 -08:00
Vangala, Amarnath
2792b38785 asoc: lpass-cdc: changes for bolero v2.2
Implement changes to make the driver compatible with bolero V2.2.

Change-Id: If2797a80f775c685ff2a6912de189b1d9b4906d0
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2024-01-02 19:49:30 +05:30
Prasad Kumpatla
f53e7ae551 asoc: pineapple: add support for wsa881x codec
add support for wsa881x codec in pineapple machine driver.

Change-Id: Ie4b12facfd27ead1b57d10ea72029a32584dde94
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-01-02 04:14:15 -08:00
Prasad Kumpatla
d565fe8113 asoc: pineapple: add bt fm slimbus BE support
add bt fm slimbus BackEnd support.

Change-Id: I0a2631a32530e9d089095caf50d2435c647781ff
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-12-27 20:16:20 +05:30
Prasad Kumpatla
1ffe08fc12 asoc: pineapple: add fsa node handle
add fsa node handle in machine driver to
differentiate between fsa and wcd_usbss.

Change-Id: I3604f77440c8265306ace910ed37c2757f299665
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-12-27 16:10:53 +05:30
Faiz Nabi Kuchay
82df798b83 asoc: pineapple: fix two times calling of wcd939x_mbhc_hs_detect
Fix two times calling of  wcd939x_mbhc_hs_detect.

Change-Id: Id3d42a4ede8c8ac226e91506d6c69f9dcb2cd401
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
2023-10-17 22:43:34 -07:00
qctecmdr
a17b20c6d1 Merge "asoc: add new dais for proxy record path" 2023-10-13 05:48:47 -07:00
Anirudh Mahto
0ffa27d3e4 asoc: add new dais for proxy record path
Add proxy RX and TX dai for proxy record path

Change-Id: I306f970ec7e7c7543e47636947c0ecb0226ed976
Signed-off-by: Anirudh Mahto <quic_amahto@quicinc.com>
2023-10-03 09:20:04 -07:00
Faiz Nabi Kuchay
a3a1e552fa asoc: Add machine driver support for wcd937x
Add machine driver support for WCD937x.

Change-Id: I863b95255caf99565dfc7c74b0f54891f58dc0df
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
2023-09-25 00:34:16 -07:00
Vangala, Amarnath
aff18ba970 asoc: pineapple: Check displayport availability before enabling
Check for external displayport availability before
 registering the codec DAIs.

Change-Id: Ib55929b3cd8f5901b832a6827e44a18b53b52d39
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2023-08-08 09:59:57 -07:00
qctecmdr
a09fbe3e8b Merge "asoc: pineapple: add support for GND MIC SWAP config" 2023-06-29 04:43:40 -07:00
qctecmdr
92bb3f09f6 Merge "asoc: pineapple: Add support to use wsa2 backend's dedicatedly" 2023-06-28 13:17:46 -07:00
Prasad Kumpatla
15a3ce41fe asoc: pineapple: add support for GND MIC SWAP config
add support for GND MIC SWAP config for pineapple CDP.

Change-Id: Ia6ecbe2818ac12c7fad5738a78bbdcd4d1611e15
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-06-29 00:22:35 +05:30
Anand Mohan
bc93f4af89 asoc: pineapple: add back-end support for dummy out/in device
To implement dummy device based a2dpSuspend/resume, adds support
for dummy device backend in audio kernel.

Change-Id: Iad4a210167ce400232c6d3b84bfca8b84fa358c8
Signed-off-by: Anand Mohan <quic_anamoh@quicinc.com>
2023-06-14 10:28:17 +05:30
Ganapathiraju Sarath Varma
5d120a3a29 asoc: pineapple: Add support to use wsa2 backend's dedicatedly
Added new wsa2_init api to initialize slaves connected over
wsa2 macro. which will allow us to control them only when
wsa2 backend's are used.
Till now we are enabling all wsa slaves during wsa_init.
which causes concurrency issue, when we use them dedicatedly
for specific usecases, if one slave is disabled,the other
slaves are also getting disabled.

Change-Id: I1ec8c4700a977ad6001c879ad0343a45a1642105
Signed-off-by: Ganapathiraju Sarath Varma <quic_ganavarm@quicinc.com>
2023-06-13 10:21:54 -07:00
Phani Kumar Uppalapati
e6eac8ce72 asoc: wcd939x: avoid static sbu1/2 connections to gnd/mic
Currently on pineapple CDP platform, sbu1/2 switches are always
pre-connected to gnd/mic of the jack. Avoid this static connection
and connect/disconnect only when headset insertion/removal is detected.

Change-Id: If3bef6834caeb539492304d8b16808cd09c5afab
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
2023-06-05 11:32:47 -07:00
Revanth Rajashekar
c5312ac1be asoc: pineapple: Print upd cdc duty cycle register success.
Add a debug print statement to depict a successful
upd cdc duty cycle registration.

Change-Id: I0d80802131479847d60e32e2a7ff13e4fcd7f2d3
2023-03-29 15:14:41 -07:00
Phani Kumar Uppalapati
741f2dbb23 asoc: pineapple: return true when GND/MIC Swap switch happens
Return true when GND/MIC swap switch happens for EU plug
types.

Change-Id: Ie6d1d78a0bb179bc25aa80e46735db5a768812ba
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
2023-03-28 22:48:11 -07:00
Rohit kumar
9b62714653 asoc: pineapple: Add support for BTFM proxy dai
Default Bluetooth audio DAIs are slimbus based. Add support for
BTFM Proxy dai driver to use it on Connectivity Proxy
HW Endpoints.

Change-Id: Ia47fd004cc268524d152292c56defcd0c73d3ba7
Signed-off-by: Rohit kumar <quic_rohkumar@quicinc.com>
2023-02-27 22:04:11 -08:00
Ganapathiraju Sarath Varma
75e52a63af asoc🍍 check for wsa max dev's and return if NULL
Check for wsa_max_devs when upd is running over
wsa earpiece.

Change-Id: I39ac27f14970a775429a80103b64a7882c8a9f62
signed-off-by: sarath varma ganapathiraju <quic_ganavarm@quicinc.com>
2023-01-13 16:57:33 +08:00
Ganapathiraju Sarath Varma
c5bab7cb06 asoc: pineapple: Get swr device num baced on wcd and wsa variant.
add support to get swr device num for wsa883x and
wsa884x based on the variant used.

Change-Id: Ib0a25a0692d968a3ae9a45c2a4754de8eef325ce
signed-off-by: sarath varma ganapahiraju <quic_ganavarm@quicinc.com>
2022-11-21 01:29:27 -08:00
Linux Build Service Account
c2adcdf8a0 Merge "asoc: codec: Add call to wcd_usbss_switch_update in the pineapple machine driver" into audio-kernel.lnx.6.0 2022-10-27 00:31:33 -07:00
Prasad Kumpatla
7880a551f1 asoc: add conditional compilation for wcdusb_ss APIs
add conditional compilation for wcdusb_ss APIs.

Change-Id: Ie70f4a737d9a93e3ebb4d9c7b59e08d94c13d20c
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2022-10-25 11:00:30 +05:30
Sam Rainey
c718a85553 asoc: codec: Add call to wcd_usbss_switch_update in the pineapple machine driver
Add a call to wcd_usbss_switch_update(USBSS_HSJ_CONNECT) in the pineapple
machine driver using a usbss-hsj boolean flag.

Change-Id: I47df8ecd1336b119ce17999e4b3c9f9b4592b0b5
2022-10-18 15:55:27 -07:00
Prasad Kumpatla
23b1088e9f asoc: codec: add support for wcd939x for pineapple target
Update wcd939x api and marcro in pineapple driver
Update wcd939x macro in wcd939x driver.

Change-Id: Id87fc550e0a3aff61efee61644fd6bc15ea7c66d
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2022-10-12 23:44:35 -07:00
Yuhui Zhao
f216366d83 audio-kernel: add wcd_usbss api in pineapple and mbhc driver.
add wcd_usbss api in pineapple and mbhc driver

Change-Id: I1e4d8f907003516368f855be2461a06daf4526c7
2022-10-06 22:56:21 -07:00
Yuhui Zhao
2d5692e087 asoc: Add machine driver for pineapple target.
Add machine driver file for pineapple target.

Change-Id: Iffd4951f8f2a3037e4b9175f810ef8d0c9236172
2022-10-06 22:55:27 -07:00