Wykres commitów

4583 Commity

Autor SHA1 Wiadomość Data
qctecmdr
231c051c05 Merge "asoc: lpass-cdc-rx-macro: DRE return for SWR PCM and PDM data transport cases" 2024-02-02 23:49:11 -08:00
qctecmdr
f9d5d660a3 Merge "audio-kernel-ar: enable ar-audio-kernel for quin-gvm-gen4" 2024-02-02 23:49:11 -08:00
qctecmdr
fe96c4686a Merge "asoc:add micbias widget to enable micbias for msm_dmic" 2024-02-02 23:49:11 -08:00
Yuhui Zhao
d5b009ed51 asoc: remove swr clk set from analog side
Remove swr clk set from analog side.
Optimize the debug log.

Change-Id: I8c3a946f1c64fd5d71fd5151c4c464d370b4ae8c
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-02-01 15:57:33 +08:00
Prasad Kumpatla
3dd1953f31 asoc: codec: defer the probe if msm cdc pinctrl is not probed
Defer the probe when the msm cdc pinctrl driver is not
proded.

Change-Id: Ia6aaaca7c55b60b53008ffda0fc40e5db407cd2a
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-02-01 12:46:33 +05:30
sarath varma ganapathiraju
86102f43f6 asoc: codec: Enable RX1 mix path
Enable WSA RX1 mix path to ensure DMA is enabled
properly and data is consumed to drive right channel
using wsa mix path.

Change-Id: I2b0bc92eeaa82734254ceda96de39f20a761dc75
Signed-off-by: sarath varma ganapathiraju <quic_ganavarm@quicinc.com>
2024-01-31 10:50:52 -08:00
Faiz Nabi Kuchay
2782be50bf asoc: Update or remove requests only for voted CPU core IDs
Update or remove requests only for voted CPU core IDs.

Change-Id: Ic477cac2759054f9a12c23bc78643c6d4bd68c9e
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
2024-01-30 12:33:15 +05:30
shengruz
b1246dc67c audio-kernel-ar: enable ar-audio-kernel for quin-gvm-gen4
Add KBUILD_OPTIONS and Kbuild conf.
Read hw params from dts and set it during dailink startup.

Change-Id: Ifba87ce6c20bba515566450ddbfaf63a29758e33
Signed-off-by: shengruz <quic_shengruz@quicinc.com>
2024-01-25 00:12:59 -08:00
Zihao Lin
4b6288d849 asoc: Add dummy PCM backend
Add dummy PCM backend definition for virtual devices.
This is being added to support echo reference capture.

Change-Id: If44ca144dbcf478a898380a094e42c866590890f
Signed-off-by: Zihao Lin <quic_zihalin@quicinc.com>
2024-01-23 23:38:53 -08:00
Ravulapati Vishnu Vardhan Rao
a60909ecb4 audio_ssr: Mutex dead lock
notifier_mutex is global mutex and there might be a thread which will
acquire notifier_mutex which causes other thread to be in wait
causing deadlock. Using static initialized mutex rectifies issue.

Change-Id: Id8ba30f22419e1a8a7a7356f984db2559197a075
Signed-off-by: Ravulapati Vishnu Vardhan Rao <quic_visr@quicinc.com>
2024-01-23 16:36:02 +05:30
Ravulapati Vishnu Vardhan Rao
f27ffc6243 asoc: lpass-cdc-rx-macro: DRE return for SWR PCM and PDM data transport cases
DRE is not disabled properly on targets where kcontrols are not exposed.
Add separate check for both SWR PCM and PDM data transport cases to
avoid having dependency on kcontrol.

Change-Id: Ifbd9aaa8213540c9cc19690ef70b30336580116a
Signed-off-by: Ravulapati Vishnu Vardhan Rao <quic_visr@quicinc.com>
2024-01-23 16:09:18 +05:30
Yuhui Zhao
3a0c47b2f4 asoc:add micbias widget to enable micbias for msm_dmic
Add micbias widget to enable micbias for msm_dmic.

Change-Id: I2d4a39644369e7db4fd3e513b152b54693db7358
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-01-22 20:06:12 +08:00
Deepali Jindal
db2a1f4e28 soc: Address SWR rate mismatch interrupt
SWR unknown interrupt value: 131072 happens when
disable handset/headphones. Handle DOUT_RATE_MISMATCH
irq to fix this issue.

Change-Id: Ibf3e93df0594eae10dc568bcd4de73526510b963
Signed-off-by: Deepali Jindal <quic_deepjind@quicinc.com>
2024-01-22 03:26:14 -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
79787847b8 Merge "asoc: codec: remove unwanted modules for pitti" 2024-01-10 22:21:45 -08:00
Prasad Kumpatla
372beca218 asoc: codec: remove unwanted modules for pitti
remove unwanted modules for pitti.

Change-Id: I29def6096841d0d9dfcccd81ec9761b7ef6ff1be
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-01-09 21:59:51 +05:30
Srinivas Marka
098bc9ac84 dsp: audio_ion: Add 32 bit userspace ioctl support
Add ioctl support for 32 bit userspace on 64bit platform.

Change-Id: I208c452993d10d1901eb926dcd4e4a0a1747eaea
Signed-off-by: Srinivas Marka <quic_smarka@quicinc.com>
2024-01-09 14:24:45 +05:30
qctecmdr
465958d84d Merge "asoc: codec: lpass: add support bolero v2p1" 2024-01-07 02:11:24 -08:00
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
qctecmdr
02a3cd4df6 Merge "asoc: add lpass 2p1 version for pitti" 2024-01-07 02:11:24 -08:00
qctecmdr
9daf88c215 Merge "asoc: update config files for pineapple" 2024-01-07 02:11:24 -08:00
qctecmdr
a30841251b Merge "asoc: codec: wcd9378: optimize the micbias usage set logic" 2024-01-07 02:11:24 -08:00
Prasad Kumpatla
e8c72f5698 asoc: codec: lpass: add support bolero v2p1
add support bolero v2p1 in lpass rsc driver.

Change-Id: I6441a20e824dd61670ec7020ae17eb5bc93c5ea1
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-01-03 07:44:47 -08:00
Prasad Kumpatla
495de10b6d asoc: update config files for pineapple
wsa881x and wcd9378 are not support in pineapple, so update config files
for pineapple accordingly.

Change-Id: I05cd244188c1e5c5cfb86459cebf28ecc6d3fe05
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-01-02 23:23:35 -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
Prasad Kumpatla
0319c91a89 asoc: add version flag to enable LPASS 2P6
add LPASS 2P6 version flag to enable for pineapple.

Change-Id: I25e606b58d124742de1a1bac6b635f9488a9cf3d
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-01-02 07:52:29 -08:00
Prasad Kumpatla
d770afd110 asoc: add lpass 2p1 version for pitti
add lpass 2p1 version for pitti target.

Change-Id: Iac551f8de18b9982b333f0afdbd9b6d4f0591d33
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-01-02 07:20:29 -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
Yuhui Zhao
0a61628b76 asoc: codec: wcd9378: optimize the micbias usage set logic
Optimize the micbias usage set logic in tambora driver.

Change-Id: I77224f66f12e129f00708a531c1aab137aee7000
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-01-02 03:47:28 -08:00
Yuhui Zhao
ec9b4ac42a asoc: update config file to support tambora in Kalpeni
Update config file to support tambora in Kalpeni.

Change-Id: I2190823f0b4cb9724080d92619a540f2b7bab9b2
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-01-02 18:05:21 +08:00
Yuhui Zhao
296d36f931 asoc: add the initial tambora driver files
Add the initial tambora driver files.

Change-Id: Ic6bebd953f031549e7cf72874cebd4fae05deae3
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-01-02 13:15:13 +08:00
Yuhui Zhao
ec2a5e8fe6 asoc: mbhc: change the mbhc reg width from 16bit to 32bit
Update the mbhc reg width from 16bit to 32bit for tambora
target.

Change-Id: Ibf474ffcadce2dfd13202ece1119b9974591acdb
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-01-02 13:09:59 +08:00
Yuhui Zhao
2476775b9b asoc: regmap: add support for 32bit reg_address regmap_write/read
The regmap write/read can only support 16bit reg_address. but
the reg_address of tambora is 32bit_address. need add support for
it.

Change-Id: I2374b3672bc4b652ef5ed00921a0e3beed0c6231
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-01-02 13:06:48 +08:00
Prasad Kumpatla
d36fc5c57f asoc: add audio kernel config files for pitti
add audio kernel config files for pitti.

Change-Id: I2ef71e7ce42b6083c099558bd0d14f49800d3e3a
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-12-29 14:52:53 +08:00
qctecmdr
a87cbe35c4 Merge "swr-haptics: request and release swr device wakeup votes properly" 2023-12-28 06:44:54 -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
Phani Kumar Uppalapati
1104a060e4 swr-haptics: request and release swr device wakeup votes properly
Request and release swr device wakeup votes in PRE/POST PMU and
PRE/POST PMD events to allow system enter low power states.

Change-Id: I8acd648bcc8e11cadda7254d7e5369155d9597c9
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-12-27 16:26:00 +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
Prasad Kumpatla
27110b4fb5 asoc: add support for both fsa and wcd usb AATC
add support for both fsa and wcd usb AATC.

Change-Id: I0253faad734a433f5da93c34adfc4f9c2e37fa14
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-12-27 16:04:46 +05:30
qctecmdr
641fe28ac7 Merge "asoc: audio-kernel: Remove trace_printk" 2023-12-26 21:47:36 -08:00
qctecmdr
b9d37cb885 Merge "asoc: dynamically set mclk for monaco based on interface" 2023-12-26 21:47:36 -08:00
qctecmdr
dc5fc099b2 Merge "audio-kernel-ar: Use virt_sndcard_ctl node for sndcard status update" 2023-12-26 21:47:35 -08:00
qctecmdr
58cd56ebf3 Merge "asoc: Enable Audio module compilation for volcano" 2023-12-21 06:14:59 -08:00
yuayang
568d8d0822 asoc: audio-kernel: Remove trace_printk
Remove trace_printk point.

Change-Id: I76b53eda77bc41c75e06a885084022d74c248188
Signed-off-by: yuayang <quic_yuayang@quicinc.com>
2023-12-21 16:26:31 +08:00
qingyuec
b01c95cb8f asoc: dynamically set mclk for monaco based on interface
Set MCLK1 for interface HS0 used by monaco.

Signed-off-by: qingyuec <quic_qingyuec@quicinc.com>
2023-12-20 18:56:22 -08:00
Deepak Agrawal
97e05f2e77 audio-kernel-ar: Use virt_sndcard_ctl node for sndcard status update
Created an API for registering device node in audio-kernel for SSR

Change-Id: Icc9508e6977b17503711c9983dd52c367c6fff0c
Signed-off-by: Deepak Agrawal <quic_deeagr@quicinc.com>
2023-12-19 10:50:31 +05:30
Mohit Sharma
59bb598391 asoc: Enable Audio module compilation for volcano
Enable Audio module compilation for volcano

Change-Id: I584550e624ce15215e90d38ae0b84211d8c6a8d6
Signed-off-by: Mohit Sharma <quic_smohit@quicinc.com>
2023-12-11 04:43:54 -08:00
Sarath Varma Ganapathiraju
e5a753acaf dsp: spf-core: update add child devices timeout to 10000 ms
update add child devices timeout to 10000 ms

Change-Id: Ieee7333561df87112ff9f37102ab1a6237d55d6f
Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>
2023-12-06 23:09:17 -08:00