Grafico dei commit

4587 Commit

Autore SHA1 Messaggio Data
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
Faiz Nabi Kuchay
60c35b0ac9 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>
(cherry picked from commit 82df798b83)
2023-10-27 03:43:25 -07:00
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
Linux Build Service Account
2af999b396 Merge 966a448ec3 on remote branch
Change-Id: Icdeb07034e51953920097dbf160a33c846f57e9f
2023-10-23 05:35:27 -07:00
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
Linux Build Service Account
93cd93c3ba Merge 17f9d5fe6b on remote branch
Change-Id: I931e39dbc86f8f15d10e9ed8b014286851d79573
2023-10-04 03:55:54 -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
Eric Rosas
7f46f83774 asoc: Improve msm-cdc-supply vote checks and messages
In msm-cdc-supply, add checks to prevent regulator_disable()
from being called if the cdc vote has already gone through.

Also add error messages if this happens and also add debug
messages whenever on-demand supplies are getting enabled/disabled.

Change-Id: I696be0a1ea638ffcf903e81a8b61c6a8dde984a8
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
2023-09-28 08:31:09 -07:00
qctecmdr
120be96202 Merge "asoc: codec: enable wcd938x in blair platform" 2023-09-27 23:54:43 -07:00
Vangala, Amarnath
3c259f7f3b asoc: codecs: lpass-cdc: remove pre ssr notifier call
Remove the PRE_SSR blocking notifier call.
This is not required as early down event is not handled.

Change-Id: Ie448fa2af92edd484d282200cf350c6bddc5f99d
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2023-09-25 01:40:12 -07:00
Vangala, Amarnath
d326604d2f asoc: codecs: wsa884x: Remove pre ssr handling
Remove handling for PRE_SSR event.
Move the gpio handling during SSR to SSR UP event.

Change-Id: I2bb1b66db455c6211f1bf12c9e19d7e306a6243a
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2023-09-25 01:39:08 -07:00
Vangala, Amarnath
eac0cbb3ae asoc: codecs: wsa883x: remove handling for pre ssr event
Remove handling for PRE_SSR event and move gpio handling
 to SSR_UP event.

Change-Id: Ia4dd87bdcf2f21376fa84e0f447d978ae222e816
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2023-09-25 01:38:39 -07:00
Vangala, Amarnath
9efad6a3ff asoc: codecs: lpass-cdc: remove pre ssr notifier call
Remove the PRE_SSR blocking notifier call.
This is not required as early down event is not handled.

Change-Id: Ie448fb3af92edd484d282200cf350c6bddc5f99d
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2023-09-25 13:25:15 +05:30
Vangala, Amarnath
2d6c54140d asoc: codecs: wsa884x: Remove pre ssr handling
Remove handling for PRE_SSR event.
Move the gpio handling during SSR to SSR UP event.

Change-Id: I2bb1b66db455c6222f1bf12c9e19d7e306a6243a
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2023-09-25 13:24:46 +05:30
Vangala, Amarnath
03e81d144f asoc: codecs: wsa883x: remove handling for pre ssr event
Remove handling for PRE_SSR event and move gpio handling
 to SSR_UP event.

Change-Id: Ia4dd87bdcf2f21376bc84e0f447d978ae222e816
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2023-09-25 13:24:21 +05:30
Ganapathiraju Sarath Varma
669cbade67 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: I94a93842cc0da8fc9acd7232f413b3c3a9038536
Signed-off-by: Ganapathiraju Sarath Varma <quic_ganavarm@quicinc.com>
2023-09-25 13:23:47 +05:30
Faiz Nabi Kuchay
80d2171c35 asoc: Add wcd937x support for Cliffs
Add wcd937x support for Cliffs.

Change-Id: I21ca52133b40b621a36a82f0caa2366a1461d255
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
2023-09-25 13:10:27 +05:30
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
qctecmdr
ba09b0efd6 Merge "asoc: Enable compilation of wcd937x on palawan" 2023-09-22 18:28:07 -07:00
Faiz Nabi Kuchay
3521224669 dsp: adsp_loader: Load adsp mdt using fuse-not-supported property
As per current code there isn't a way to load custom adsp-mdt image.
Use kernel api to load custom adsp-mdt.

Change-Id: I42f1186741dff0b9bd953e536eb33907d3c6cb90
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
2023-09-22 19:49:52 +05:30
Sairam Peri
54c237d468 asoc: codec: enable wcd938x in blair platform
Enable wcd938x codec for blair and holi platforms.

Change-Id: I43f8feaace951ad439fcbba86204113b2b95330b
Signed-off-by: Sairam Peri<quic_peri@quicinc.com>
2023-09-21 22:29:52 -07:00
V S Ganga VaraPrasad (VARA) Adabala
1cae8a08d6 Merge commit 'e3de149b42b456220dc761bd9a23e30302c78355' into audio-kernel.lnx.6.0.r1-rel 2023-09-21 19:06:58 +05:30
V S Ganga VaraPrasad (VARA) Adabala
ceefe7bc5d Revert "dsp/ipc: check q6 state before calling gpr_snd_pkt"
This reverts commit a45c3be654.

Signed-off-by: V S Ganga VaraPrasad (VARA) Adabala <quic_vadabala@quicinc.com>
2023-09-21 19:06:31 +05:30
V S Ganga VaraPrasad (VARA) Adabala
11ddbf9891 Revert "asoc: codecs: wsa883x: remove handling for pre ssr event"
This reverts commit 7ae72e4897.

Signed-off-by: V S Ganga VaraPrasad (VARA) Adabala <quic_vadabala@quicinc.com>
2023-09-21 19:06:14 +05:30
V S Ganga VaraPrasad (VARA) Adabala
519865f2f0 Revert "asoc: codecs: wsa884x: Remove pre ssr handling"
This reverts commit 89d62fdc0f.

Signed-off-by: V S Ganga VaraPrasad (VARA) Adabala <quic_vadabala@quicinc.com>
2023-09-21 19:05:56 +05:30
V S Ganga VaraPrasad (VARA) Adabala
bd06be0f8e Revert "asoc: codecs: lpass-cdc: remove pre ssr notifier call"
This reverts commit 90699117c0.

Signed-off-by: V S Ganga VaraPrasad (VARA) Adabala <quic_vadabala@quicinc.com>
2023-09-21 19:05:40 +05:30
V S Ganga VaraPrasad (VARA) Adabala
fc7bf21cb2 Revert "audio-kernel: wcd: Disable 1M Pull-up resistor"
This reverts commit f868a71537.

Signed-off-by: V S Ganga VaraPrasad (VARA) Adabala <quic_vadabala@quicinc.com>
2023-09-21 19:05:27 +05:30
Prasad Kumpatla
a71db6c39a dsp: add dt flag for enable and disable sleep api
add dt flag for enable and disable sleep api.

Change-Id: I97e9aa8c319d478b2fa979c38f5cc4559e1fb435
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-09-19 11:15:24 +05:30