Commit-Graf

4583 Incheckningar

Upphovsman SHA1 Meddelande Datum
Linux Build Service Account
c32a805c82 Merge "asoc: get hw params for auto target" into audio-kernel.lnx.6.0 2023-11-21 20:31:15 -08:00
Linux Build Service Account
abb843d268 Merge "asoc: add support for 7255 monaco" into audio-kernel.lnx.6.0 2023-11-21 20:31:15 -08:00
Linux Build Service Account
98845e5019 Merge "asoc: add sound card sa7255 support in auto machine driver" into audio-kernel.lnx.6.0 2023-11-21 20:31:14 -08:00
qctecmdr
ccb952555b Merge "asoc: msm_common: use logical CPU cores for qos request" 2023-11-15 21:29:19 -08:00
qctecmdr
c3de8cfaa8 Merge "ipc : gpr-lite: set dsp state to GPR_SUBSYS_LOADED" 2023-11-15 21:29:18 -08:00
Vangala, Amarnath
75a32c24e9 asoc: msm_common: use logical CPU cores for qos request
Use logical CPU core IDs, for requesting affinity for silver CPU cores.

Change-Id: I8ec81d6c21dc038e6233cc1ffd020a4ba81aadf2
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2023-11-10 13:18:54 +05:30
qctecmdr
c80f70ffd4 Merge "build: niobe: enable module compilation" 2023-11-09 22:19:06 -08:00
Jiazai Wu
08a0be98ec asoc: get hw params for auto target
soc-util no longer sets hw params for snd-soc-dummy components.
pcm_open() is blocked by snd_pcm_hw_constraints_complete() function.
read hw params from dts and set it during dailink startup.

Change-Id: I0d0c6ae581c5fb72091ec6c2cadb85e93e475deb
Signed-off-by: Jiazai Wu <quic_jiazwu@quicinc.com>
2023-11-08 21:19:16 -08:00
Jiazai Wu
60687055d2 asoc: add support for 7255 monaco
1. Add config for 7255 monaco.
2. Add kernel build rule for 7255 monaco dlkms.

Change-Id: I0b697856907d6bbc7e78a421cde75d6cdf4ee2b4
Signed-off-by: Jiazai Wu <quic_jiazwu@quicinc.com>
2023-11-09 10:38:43 +05:30
Jiazai Wu
e74df686cd asoc: add sound card sa7255 support in auto machine driver
add sa7255 match compatible in auto machine driver.

Change-Id: I3e0908671b43a8d08278b780c97a42963c55180b
Signed-off-by: Jiazai Wu <quic_jiazwu@quicinc.com>
2023-11-09 10:37:56 +05:30
qctecmdr
db5e3d22a0 Merge "asoc: wcd939x: Add conditional check before calling wcd usb api" 2023-11-08 20:45:05 -08:00
qctecmdr
0a2ea50758 Merge "asoc: msm-cdc-pinctrl: fix compile error" 2023-11-08 20:45:05 -08:00
qctecmdr
945fe83da3 Merge "asoc: codecs: wcd937x: Handle PDM watchdog interrupt" 2023-11-08 20:45:04 -08:00
Jiazai Wu
b8ddf2f61f asoc: add machine driver for auto target
Integrate machine driver for auto target from kernel 5.15.
Propagated from fd35f8a09932174844ce93c065b0f5597324556a.

Change-Id: I5a9026beea2954409e69b02f7955e7c9d09eef12
Signed-off-by: Jiazai Wu <quic_jiazwu@quicinc.com>
2023-11-08 01:00:13 -08:00
Jiazai Wu
9ce7dace9f ipc : gpr-lite: set dsp state to GPR_SUBSYS_LOADED
Dsp can get online before gpr ssr callback registering.
Dsp state is never changed in this case.
Set dsp state by default GPR_SUBSYS_LOADED at the tail of gpr probe.

Change-Id: I3cc4087e0433f6d827042244f91f3110d234669d
Signed-off-by: Jiazai Wu <quic_jiazwu@quicinc.com>
2023-11-02 21:46:11 -07:00
qctecmdr
960ba2a87f Merge "dsp: adsp_loader: load proper dtb image" 2023-11-02 06:39:11 -07:00
qctecmdr
f0ed0a4c43 Merge "asoc: Improve msm-cdc-supply vote checks and messages" 2023-11-02 06:39:11 -07:00
qctecmdr
3613355177 Merge "asoc: wcd939x: Change OVP threshold" 2023-11-02 06:39:11 -07:00
qctecmdr
c46accabd4 Merge "asoc: msm_common: Update in aud_dev_sysfs_store to fix out of bound error" 2023-11-02 06:39:11 -07:00
Faiz Nabi Kuchay
522dfd9219 asoc: codecs: wcd937x: Handle PDM watchdog interrupt
Handle PDM watchdog interrupt. Enable watchdog
before analog PA is enabled and disable it
after analog PA is disabled so as to prevent false alarms.

Change-Id: Ife131d5d64d2ad2b8f7aad50af3aa07238bbbda9
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
2023-11-01 21:36:39 -07:00
Anirudh Mahto
96f060f1d8 build: niobe: enable module compilation
Add changes to compile audio kernel modules for niobe.

Change-Id: I07429fa08ab78f157bdc2d487aeba6b09017c58c
Signed-off-by: Anirudh Mahto <quic_amahto@quicinc.com>
2023-10-31 20:37:00 +05:30
qctecmdr
119e420617 Merge "asoc: lpass-cdc-va-macro: revert reset Sampling rate" 2023-10-30 06:45:17 -07:00
qctecmdr
c4a89a1cda Merge "dsp : Update timeout for spf_apm_ready_check" 2023-10-30 06:45:17 -07:00
qctecmdr
d31237b183 Merge "pitti: Add compilation support for target pitti" 2023-10-30 06:45:17 -07:00
qctecmdr
4fd35922ec Merge "asoc: codec: wsa884x: check for spkr status before enabling PA" 2023-10-30 06:45:16 -07:00
Sarath Varma Ganapathiraju
18b9c62542 asoc: wcd939x: Add conditional check before calling wcd usb api
Add conditional check before calling wcd usb api

Change-Id: I9046ece531ea009e8b8cd5db98675960d928c1c6
Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>
2023-10-30 12:04:38 +05:30
Erin Yan
5679261df3 asoc: msm-cdc-pinctrl: fix compile error
The modifier - static - request the function to be used within the file.
Remove static modifier to fix the build break.

Change-Id: I46da9dbeb7c3945f8a1bbfa55998e75b5cbdc70b
Signed-off-by: Erin Yan <quic_xinyey@quicinc.com>
2023-10-26 22:43:32 -07:00
Sam Rainey
556c4befcd asoc: wcd939x: Change OVP threshold
Change default OVP threshold to 4.2V, but set
to 4.0V during CODEC reset.

Change-Id: I4aa8accf7466e144902a2f6a250c1aad91084e95
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
2023-10-26 16:25:00 -07:00
Faiz Nabi Kuchay
9d97bbe631 dsp: adsp_loader: load proper dtb image
Load proper dtb image when fuse is not supported.

Change-Id: If87fcc715954b1526fa6718a3453357cbb8957e3
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
2023-10-25 19:34:31 +05:30
Deepali Jindal
f47fcf26ee asoc: msm_common: Update in aud_dev_sysfs_store to fix out of bound error
Update change to have proper input validation of pcm_id in
aud_dev_sysfs_store to avoid out of bound issue.

Change-Id: Ia95a8dff8db84d95b4b02a5674f64a85f67e4be0
Signed-off-by: Deepali Jindal <quic_deepjind@quicinc.com>
2023-10-25 18:17:20 +05:30
sarath varma ganapathiraju
9bb0f01c5d pitti: Add compilation support for target pitti
Add Compilation support for target pitti.

Change-Id: Ibb06ace7332aa87eb5f8082db95f0c0f8b3deb66
Signed-off-by: sarath varma ganapathiraju <quic_ganavarm@quicinc.com>
2023-10-19 22:01:23 -07:00
Ganapathiraju Sarath Varma
374374a0c4 asoc: codec: wsa884x: check for spkr status before enabling PA
added condition to check for spkr status before enabling
GLOBAL_PA to make sure PA is enabled only when Speaker
is in Enabled state.

Change-Id: Ifa4eeb7d8561bb68193abae16221dd8b2464029c
Signed-off-by: Ganapathiraju Sarath Varma <quic_ganavarm@quicinc.com>
2023-10-17 23:41:24 -07:00
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
Ganapathiraju Sarath Varma
378a3eea83 dsp : Update timeout for spf_apm_ready_check
Added timing for spf_ready_check api, rightnow
we are waiting for 10sec when apm is not ready
instead updated timing as below
during adsp loading 10sec
during add child devices 5sec
during prm send pkt 0sec
Check for q6 state at the start of gpr_send_pkt.

Change-Id: I94a93842cc0dc7fc9acd7232f413b3c3a9038536
Signed-off-by: Ganapathiraju Sarath Varma <quic_ganavarm@quicinc.com>
2023-10-16 14:46:06 +05:30
qctecmdr
966a448ec3 Merge "asoc: codecs: lpass-cdc: remove pre ssr notifier call" 2023-10-13 05:48:48 -07:00
qctecmdr
f28495fb99 Merge "asoc: wcd939x: Support xtalk for high voltage mics" 2023-10-13 05:48:47 -07:00
qctecmdr
8266d7edb3 Merge "asoc: mbhc: update the usbss switches once the removal is done" 2023-10-13 05:48:47 -07:00
qctecmdr
b2b013a2b6 Merge "asoc: codecs: wsa883x: remove handling for pre ssr event" 2023-10-13 05:48:47 -07:00
qctecmdr
b8620755c2 Merge "asoc: codec: wcd939x: Update the readable swr slave registers" 2023-10-13 05:48:47 -07:00
qctecmdr
8c3ce03a03 Merge "asoc: codecs: wsa884x: Remove pre ssr handling" 2023-10-13 05:48:47 -07:00
qctecmdr
a17b20c6d1 Merge "asoc: add new dais for proxy record path" 2023-10-13 05:48:47 -07:00
Vangala, Amarnath
daea160320 asoc: lpass-cdc-va-macro: revert reset Sampling rate
Sampling rate of the decimator is reset to hw reset value during
power down event in existing code. This code was implemented for
 a safety precaution.
Remove this code as it is causing a side effect for VA use cases.

Side effect of existing code: during successive VA use cases runs,
Sampling rate is not updated as the device is not closed completely.
Due to this, decimator runs with incorrect sampling rate for
 successive runs and causes failure.

Change-Id: I5e60c656043d06c3d999de183698adfffdaa44d1
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2023-10-11 12:04:26 +05:30
Prasad Kumpatla
08004d8420 asoc: mbhc: update the usbss switches once the removal is done
update the usbss switches only once the HS removal is completed.

Change-Id: I050b30c2c407f189cefed56ec137848efb45e5b4
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-10-05 11:28:56 +05:30
qctecmdr
c0f6866b30 Merge "asoc: holi: AATC feature in holi machine driver" 2023-10-04 07:27:27 -07:00
qctecmdr
477e2db368 Merge "dsp: adsp_loader: Load adsp mdt using fuse-not-supported property" 2023-10-04 07:18:55 -07:00
qctecmdr
e9df35951d Merge "asoc: Add wcd937x support for Cliffs" 2023-10-04 07:18:55 -07:00
qctecmdr
7f344cb00c Merge "asoc: Add machine driver support for wcd937x" 2023-10-04 07:18:55 -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
Sairam Peri
ddf13ee301 asoc: holi: AATC feature in holi machine driver
Update holi machine driver to support ATTC over FSA driver.

Change-Id: I3ac6af5908c4b69e8e8d65a006505fa0f4ceb009
Signed-off-by: Sairam Peri<quic_peri@quicinc.com>
2023-10-01 02:55:44 -07:00
Sam Rainey
08bc673260 asoc: wcd939x: Support xtalk for high voltage mics
Update zdet and xtalk to support high voltage microphones
with improved accuracy.

Change-Id: I4b0af5ade7f653de4a938162302ec21c4a09891f
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
2023-09-29 16:56:12 -07:00