提交線圖

4608 次程式碼提交

作者 SHA1 備註 日期
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
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
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
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
qctecmdr
17f9d5fe6b Merge "prm: add support for low power resource API for pineapple target" 2023-09-09 01:22:39 -07:00
qctecmdr
cf29ebd64e Merge "build: Simplify target registration and add product input" 2023-09-09 01:22:39 -07:00
Faiz Nabi Kuchay
2bd4ab1f53 asoc: Enable compilation of wcd937x on palawan
Enable compilation of wcd937x on palawan.

Change-Id: Ib9521fe83cba88a1ac36972938f2a3921d5efecb
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
2023-09-08 06:37:44 -07:00
Eric Rosas
b7677782ea build: Simplify target registration and add product input
Modify the inputs of the target registration to accept
multiple variants and allow for an optional "product"
parameter.

Also some refactoring done to promote ease of use.

Change-Id: Ib18cd36734fc35326b8dc675f548d47d9a95cf1c
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
2023-09-03 22:10:30 +05:30
qctecmdr
e3de149b42 Merge "asoc: codecs: update max sampling rate of wsa881x analog driver" 2023-09-01 14:28:55 -07:00
qctecmdr
258006bf14 Merge "Android: add conditional compilation for HDMI modules" 2023-08-31 20:41:18 -07:00
qctecmdr
9300c57ac4 Merge "asoc: wcd-mbhc: move component inside the WCD_USBSS" 2023-08-31 20:41:18 -07:00
qctecmdr
a794b34d20 Merge "asoc: bindings: add bt swr port types" 2023-08-31 20:41:18 -07:00
Sairam Peri
6e38fad118 asoc: codecs: update max sampling rate of wsa881x analog driver
Updated the wsa dailink to support 384Khz HS playback.

Picked latest codec fixes to kernel6.0.

Change-Id: Ia570dc3f3ed55415ac374e1ba3bb6f2277dade96
Signed-off-by: Sairam Peri<quic_peri@quicinc.com>
2023-08-31 23:33:37 +05:30
Prasad Kumpatla
76549b668e asoc: wcd-mbhc: move component inside the WCD_USBSS
moved compponent inside the #define of WCD_USBSS, to avoid
compilation issue for unsed of WCD_USBSS_I2C in some targets.

Change-Id: Ia2f64182aa8330db10122e70f12066ffebe9d16b
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-08-31 15:43:40 +05:30
Phani Kumar Uppalapati
dcf0e16597 prm: add support for low power resource API for pineapple target
Add support for CPU LPR API for pineapple target.

Change-Id: Ic934591b254fcf7af41c4e49396c81ba75530529
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
2023-08-24 15:24:11 +05:30
qctecmdr
513787652f Merge "asoc: wcd939x-mbhc: Support zdet ext FET config" 2023-08-19 00:58:49 -07:00
qctecmdr
9b48000bd5 Merge "asoc: wcd939x: Add xtalk/linearizer sysfs params" 2023-08-19 00:58:49 -07:00
qctecmdr
e8568049e3 Merge "audio-kernel: wcd: Disable 1M Pull-up resistor" 2023-08-18 02:19:20 -07:00