Commit Graph

4559 Commits

Author SHA1 Message Date
Linux Build Service Account
5fd52cce25 Merge 3737f300d4 on remote branch
Change-Id: Icefbfd8d77e05ce2f3376fc271012ebd3e9b4a6a
2024-03-19 22:59:05 -07:00
qctecmdr
3737f300d4 Merge "asoc: codec: wcd9378: call swr slave datapath control in hph seq" 2024-03-12 22:04:31 -07:00
Sarath Varma Ganapathiraju
d0ef22aa88 asoc: add conditional compilation support for pitti/volcano/pineapple
add conditional compilation support for pitti/volcano/pineapple.

Change-Id: Icedd62d0831e72c51a2a9cb158e310f8afe0e0eb
Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>
2024-03-12 22:32:40 +05:30
qctecmdr
11076f2ce0 Merge "adsp-loader: Add support to load adsp firmware with image name" 2024-03-12 02:41:31 -07:00
qctecmdr
9b78122b3b Merge "asoc: Add support to read adsp variant and set sndcard name" 2024-03-12 02:41:31 -07:00
qctecmdr
dc51409ffc Merge "soc: add support for swr version 1p7" 2024-03-12 02:41:31 -07:00
Prasad Kumpatla
b924e85900 asoc: codec: wcd9378: call swr slave datapath control in hph seq
To enable datapath control for both HPH_L and HPH_R in
HPH sequencer. Which is used to fix the single channel
mute issues.

Change-Id: I1d9fb22255a2895fc2543ef5c3de02f0bdb9999d
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-03-11 15:39:20 +05:30
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
qctecmdr
23b9c4e1e1 Merge "asoc: codecs: add support for bt swr clock" 2024-03-08 04:29:51 -08:00
qctecmdr
5468c31c20 Merge "asoc: cdc: wcd939x: update sleep time during reset" 2024-03-08 04:29:51 -08:00
qctecmdr
6c84231649 Merge "asoc: pineapple: Fix dai link structure of btfm dai links" 2024-03-08 04:29:51 -08:00
Sarath Varma Ganapathiraju
0de4097061 adsp-loader: Add support to load adsp firmware with image name
Use rproc_set_firmware API to load ADSP dtb firmware using
image name when adsp_dbt_name is set based on
fuse variant.

Change-Id: If5c592f160585871165d5c047e1c5acc59bfe1c1
Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>
2024-03-08 04:27:47 -08:00
Sarath Varma Ganapathiraju
b58f10f76f soc: add support for swr version 1p7
-add support for swr version 1p7.
-Return 0 instead of EBUSY during swrm_suspend to
allow system to enter suspend without rx swrm
preventing it.
- Update proper reg value during pcm port config.

Change-Id: Id42d3625a0609507fffc92b650cfae92b0e1dc4f
Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>
2024-03-08 04:03:52 -08:00
Vangala, Amarnath
77c4aea5e9 asoc: codecs: add support for bt swr clock
Add support for BT Soundwire clock.

Change-Id: I27879c2f04144b81fcaf057db1810fb9b80267b4
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2024-03-04 22:42:20 -08:00
Yuhui Zhao
ddbe2ef0da asoc: remove dev_up check in micbias_control function
remove dev_up check in micbias_control function.

Change-Id: Ia008bf45aeb231e85e99034115d3d90415bc259c
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
2024-03-01 13:43:34 +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
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
sarath varma ganapathiraju
a600b56704 asoc: cdc: wcd939x: update sleep time during reset
updated sleep time to 80us from 20us after updating the
reset gpio pin from sleep to active state to give ample time
for HW to reset the pin state to active, to resolve the
component registration issue which is seen on stability
runs.

Change-Id: Icd13bf36d56906553352e595d07e478c23d1c13d
Signed-off-by: sarath varma ganapathiraju <quic_ganavarm@quicinc.com>
2024-02-26 09:45:22 -08:00
sarath varma ganapathiraju
dc14f27e9e asoc: cdc: wcd939x: update sleep time during reset
updated sleep time to 80us from 20us after updating the
reset gpio pin from sleep to active state to give ample time
for HW to reset the pin state to active, to resolve the
component registration issue which is seen on stability
runs.

Change-Id: Icd13bf36d56906553352e595d07e478c23d1c13d
Signed-off-by: sarath varma ganapathiraju <quic_ganavarm@quicinc.com>
2024-02-26 04:14:37 -08:00
Prasad Kumpatla
2b0913c6d4 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: Ic51594d1c3423e750054bf2dcb7210be3f550c21
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2024-02-26 10:49:16 +05:30
Linux Build Service Account
2de148a8ec Merge b561c6e890 on remote branch
Change-Id: Icefb797aa191950a8f177f43f4e2f921de834855
2024-02-22 21:48:46 -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
Prasad Kumpatla
90a1a5a52f 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 04:50:42 -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
Linux Build Service Account
6c8edf8130 Merge 74ecbee24e on remote branch
Change-Id: Id5c082d76177e4231acf5ce6ff6fce2b1e44531a
2024-02-04 10:52:54 -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