Граф коммитов

4404 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
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
Phani Kumar Uppalapati
3fca2376eb audio-kernel: wcd: Disable 1M Pull-up resistor
1M Pull-up resistor within WCD causes LPD (Liquid Presence
Detection) failures. So add support for disabling 1Mohm
Pull-up resistor. Re-enable it whenever wcd enters into
audio mode.

Change-Id: Ib3115315bc61d4e6126ddf688653182417d5d54d
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
2023-08-15 19:27:16 -07:00
Vangala, Amarnath
c2e7e60fde asoc: codecs: lpass-cdc: reset the decimator sampling rate to default
While disabling the Decimator, reset the sampling rate to default value.

Change-Id: If07aeb69ddff459d0fdf8dfd4ccb7b3d8ed97743
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2023-08-15 17:22:27 +05:30
Sam Rainey
3013d88446 asoc: wcd939x: Add xtalk/linearizer sysfs params
Add sysfs parameters to configure xtalk and linearizer
within wcd-usbss for pineapple.

Change-Id: Ie246cb66c1332727b748d648bb7b21a0f4cda377
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
2023-08-14 18:18:26 -07:00
Sam Rainey
7610f7b4de asoc: wcd939x-mbhc: Support zdet ext FET config
Capture, write, and restore USB-SS registers relating
to the external FETs during zdet to set the proper
configuration for each channel measurement.

Change-Id: I0be46619312b66017993f9ffa5b8eab968e4dda5
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
2023-08-14 17:24:28 -07:00