コミットグラフ

4505 コミット

作成者 SHA1 メッセージ 日付
Vangala, Amarnath
feb0a0bbc4 asoc: codecs: bt-swr: Implement driver for BT Soundwire
Implement driver module for BT Soundwire master.
Implement support for SSR and PDR handling for BT Soundwire use case.

Change-Id: Ibc7818a08a2f65fe47311daffc03a017fbac77e3
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2024-03-01 18:22:08 +05:30
qctecmdr
bf838c54f7 Merge "asoc: reset scp1_val and scp2_val after ssr" 2024-02-28 08:26:04 -08:00
Yuhui Zhao
82eaa39165 asoc: reset scp1_val and scp2_val after ssr
Move scp1_val and scp2_val into swr_device struct and
reset this two value after ssr.

Change-Id: I549f7438f034a2de0e556bd749594fbe5db2a21e
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-02-28 05:55:38 -08:00
Prasad Kumpatla
34a815fea3 aosc: codec: wcd9378: call swr disconnect in PMD
Clk vote is present after teardown the usecase. which
is impacting the power, in SND_PMD call swr disconnect
to avoid clk votes.

Change-Id: I94d1ab9dc19a62132033a5715d4212dbcb7d2b0b
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-02-22 22:40:38 +05:30
qctecmdr
fd9066b9b0 Merge "dsp: add early down support for PDR" 2024-02-18 21:48:16 -08:00
qctecmdr
9b27750c11 Merge "soc: add irq_set_irq_wake() enable and disable IQRs" 2024-02-18 21:48:16 -08:00
qctecmdr
c67c5539fa Merge "audio-kernel-ar: Set audio limit to 32ch/96kHz" 2024-02-18 21:48:15 -08:00
qctecmdr
a51f1e5dc7 Merge "asoc: codec: wcd937x: update the codec RX clk" 2024-02-18 21:48:15 -08:00
qctecmdr
4ac0b26319 Merge "asoc: codec: wcd9378: defer the probe if msm cdc pinctrl is not probed" 2024-02-18 21:48:15 -08:00
Prasad Kumpatla
bd6e28b958 soc: add irq_set_irq_wake() enable and disable IQRs
from Linux version(>= 5.10) for disabling the irq need
irq_set_irq_wake() along with disable_irq_nosync(). Only
disable_irq_nosync() not allows IQRs to fully disable.

Change-Id: I4eb18ec0d6b96cdb11dcc35d847fefb0ed59cc82
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-02-12 19:05:28 +05:30
Prasad Kumpatla
b8b3fca8aa asoc: codec: wcd937x: update the codec RX clk
update the codec digital RX clk rate to 9P6MHZ or
11P2896MHz depends on usecase.

Change-Id: I1c7167c10ef8bcdba876be265ef90d980f822d03
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-02-12 15:01:22 +05:30
Prasad Kumpatla
4ffc5de553 asoc: Remove unwanted codec drivers for pitti
Remove unused codec drivers from pitti.

Change-Id: I886f6a4ceaa107e213e8a074ef32aefbc1210b74
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-02-11 01:08:35 -08:00
Prasad Kumpatla
7d084b4b16 dsp: add early down support for PDR
When early down happens ADSP is down and APPS is trying to render audio
to ADSP continuously in impression that DSP is Up until APPS get down
notification. In some scenarios the time taken b/w early down to down
taking more time than expected. This longer times may cause block in
printk and other system hogging. So add support to listen early down
to do avoid such issues.

Change-Id: I798265d682e2d93ae889a514eb3a2022afa73196
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-02-07 21:17:32 -08:00
peizhong
190b3f5e48 audio-kernel-ar: Set audio limit to 32ch/96kHz
Increase TDM interface max ch to 32 and max rate to 96kHz.

Change-Id: Icaabacff20bc08d98e0f4a6b47feaf8c09aee585
Signed-off-by: peizhong <quic_peizhong@quicinc.com>
2024-02-07 08:23:43 -08:00
qctecmdr
b561c6e890 Merge "asoc: codec: Enable RX1 mix path" 2024-02-06 04:54:40 -08:00
qctecmdr
1014d7de9a Merge "asoc: codec: defer the probe if msm cdc pinctrl is not probed" 2024-02-06 04:54:40 -08:00
qctecmdr
2d956849c5 Merge "asoc: optimize the power down logic of hph playback widget" 2024-02-06 04:54:40 -08:00
Prasad Kumpatla
e2327f08c3 asoc: codec: wcd9378: defer the probe if msm cdc pinctrl is not probed
Defer the probe when the msm cdc pinctrl driver is not prode.

Change-Id: I3ace42632601a8ef010363f23534471e99c0f827
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-02-05 01:19:37 -08:00
Yuhui Zhao
0b1954374d asoc: optimize the power down logic of hph playback widget
Optimize the power down logic of hph playback widget.

Change-Id: Ic6d085e70cb36cdc99bcbceddbce3aff2bc54ad6
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-02-04 10:25:02 +08:00
qctecmdr
843ddedcd2 Merge "audio_ssr: Mutex dead lock" 2024-02-02 23:49:11 -08:00
qctecmdr
dba8f54d79 Merge "asoc: Add dummy PCM backend" 2024-02-02 23:49:11 -08:00
qctecmdr
750e0add3e Merge "soc: Address SWR rate mismatch interrupt" 2024-02-02 23:49:11 -08:00
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