Grafik Komit

2884 Melakukan

Penulis SHA1 Pesan Tanggal
Soumya Managoli
1622b6d883 ASoC: codecs: Allow register write via debugfs
Add support for QTI regmap debugfs register write
access on wcd937x codec.

Change-Id: I04e3d98ec308c5cbf9f140c6fcfb1ab5fbe5fd50
Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com>
2023-01-18 19:55:11 -08:00
Sam Rainey
6b5e8148d4 asoc: lpass-cdc: Fix digital volume range
Remove platform_max setting in WSA/WSA2 drivers
to correct the volume range for digital volume.

Change-Id: Ia87c9fbeacc7bbb37b02f707b5c624a4091251d9
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
2023-01-12 10:40:21 -08:00
qctecmdr
71c0bf3900 Merge "asoc: Update pineapple port config for PCM+haptics" 2023-01-11 02:18:51 -08:00
Prasad Kumpatla
17a7fb3f4d asoc: Add support for 11P2896MHz RX clk config
1. Update RX CLK config for 11P2896MHz.
2. Add condition to update Droop sel coeffs for 11P28MHz
   and 9P6MHz RX CLK.
3. Upate SWR port config for 44.1Khz sample rate usecase.
4. Unselect RX_TOP.SWR_CTRL(0x6AC0008) for RX CLK 11P28MHz.
5. Update HD2_CTL L/R registers as per latest seq version.

Change-Id: Ifac2c03e3d1bf522fe2a4d942341d9071a1e6239
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-01-11 11:19:54 +05:30
Eric Rosas
3df2df88b0 asoc: Update pineapple port config for PCM+haptics
Update port config for pineapple target for PCM + haptics.

Change-Id: I2be28822be2d803396d5a020b07e4cf7510fa73b
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
2023-01-10 21:26:54 -08:00
qctecmdr
a2a930663f Merge "asoc: wcd-mbhc: Disable moisture detect and duty cycle" 2023-01-10 03:41:48 -08:00
qctecmdr
98153803c3 Merge "asoc: codec: lpass: add support to select PDM vs PCM path" 2023-01-10 03:41:47 -08:00
Prasad Kumpatla
33f464c16b asoc: wcd939x: for PCM mode no need to enbale PDM interrupts
For PCM mode no need to enbale PDM interrupts, so add condition
to skip for register of PDM interrupts. Also avoid unwanted register
writes for PCM mode.

Change-Id: I4675a7ffe94d1f8628a4f539829f5aa83544cf8d
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-01-06 00:09:59 -08:00
Prasad Kumpatla
d6ccee90de asoc: codec: lpass: add support to select PDM vs PCM path
add support to select PDM or PCM path in rx macro with the help
of mixer ctls.

Change-Id: I803e0bf440c1b3546cbda23e49736addb9083d92
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-01-06 13:38:00 +05:30
Prasad Kumpatla
59bb6d4de4 asoc: wcd939x: update registers based on latest version
update register based on latest version and add conditional
check to enable PCM path.

Change-Id: Ib2fe0b477adfa07bef52954993fbd6aae011500a
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-01-06 13:31:11 +05:30
Prasad Kumpatla
d4626706b1 asoc: wcd939x: update port config for pcm path
update port config parameters for hph pcm path.

Change-Id: I2f8fd56a4d562f92c80c8997a98f5f3436411dfa
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-01-05 00:37:50 -08:00
Prasad Kumpatla
334bb47082 asoc: codec: update registers based on hph mode
update registers based on specific hph mode before compander
config.

Change-Id: Iea4f2bc5521dc701bd52ce8fe24323b1f9d96045
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-01-05 00:36:42 -08:00
Prasad Kumpatla
7934eb5971 asoc: codec: add support to enable/disable HPH PCM path
add mixer ctl to enable/disable HPH PCM path on WCD939x.

Change-Id: I4b3eadf4f57813b0a861848e0a0cb842749ff764
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-01-05 00:32:21 -08:00
Prasad Kumpatla
76f60e792b asoc: codecs: add support for xtalk
add support for xtalk on wcd939x.

Change-Id: I3aac6196363f2032e8ff453ca3cf52143bafcd0e
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-01-05 00:32:05 -08:00
Prasad Kumpatla
d0220474be asoc: codec: add support for compander enable and disable
add support for compander to enable and disable for HPHL and HPHR
in wcd939x.

Change-Id: Ib7aa96bd9faac7389b38f01baff0a93c646f84f2
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-01-05 00:31:42 -08:00
Prasad Kumpatla
afcd8c5178 asoc: wcd-mbhc: Disable moisture detect and duty cycle
Disable moisture detect and duty cycle for WCD USB AATC HS.

Change-Id: I7bb0d5f2aaa52368f2a00bc99b066eb459c72094
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-01-05 13:33:23 +05:30
qctecmdr
17be5c5a10 Merge "Revert "audio-kernel: Remove HDMI DLKM for pineapple"" 2022-12-21 18:14:25 -08:00
Ganapathiraju Sarath Varma
1649620274 asoc: va-macro: Enable VA_CORE_CLK for VA LPI usecases.
Use VA_CORE_CLK without LPI Enable mixer cntl for SVA usecases,
To keep usecase in LPI mode even in corner cases.

Change-Id: I45da244b8a992b1ff043ab4b401903376c5cff90
Signed-off-by: Ganapathiraju Sarath Varma <quic_ganavarm@quicinc.com>
2022-12-21 02:58:00 -08:00
qctecmdr
04f11e2667 Merge "dsp: increase the spf close all command timeout" 2022-12-20 08:14:04 -08:00
qctecmdr
6fc0ac695e Merge "asoc: Get num_cpus from dai_link after it was removed" 2022-12-20 07:41:11 -08:00
jianzhou
aa82144669 asoc: Get num_cpus from dai_link after it was removed
With new "struct snd_soc_pcm_runtime", num_cpus is
removed, instead num_cpus now is in
"struct snd_soc_dai_link".

Change-Id: Ia08e98ec0afa72deab147c6758fd6aeaf4477e75
2022-12-18 21:38:52 -08:00
Phani Kumar Uppalapati
ec17358caf asoc: set hwparams for dummy platform for hdmi backend
Set runtime hwparams for dummy platform components used
for hdmi backend.

Change-Id: Ide66c43d715d2db2599918275139dea5bbe7c7f1
2022-12-15 18:53:55 -08:00
Prasad Kumpatla
2937a09ddc asoc: wcd-mbhc: Ignore mech plug irq for AATC HS
WCD USB AATC does not require mech plug irq, UCSI
layer will help to get the events to process insert/remove
of AATC HS.

Change-Id: Ie1b14703605be294471303b6454f94b55e9f932d
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2022-12-14 23:47:05 +05:30
Phani Kumar Uppalapati
988ffe7fbf Revert "audio-kernel: Remove HDMI DLKM for pineapple"
This reverts commit 658c4603bd.
Enable external display audio support for pineapple target.

Change-Id: Ibc03794b90c2ba83e4e3d27bbf997f86588e63c2
2022-12-08 09:21:11 -08:00
Phani Kumar Uppalapati
dc970caadb Revert "audio kernel: add null point check for lpass cdc."
This reverts commit bfbf93e9f8.

Change-Id: Id5e9e84b18e809831618639a0bf8f0497eb82bd3
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
2022-11-30 13:26:49 -08:00
Prasad Kumpatla
8dcd87dafa asoc: wcd939x: update variant as per wcd codec
On wcd939x contains only one variant. Sometimes reading
for codec variant which is giving incorrect/unsupported,
due to this incorrect mixer ctl are picked. So Wcd939x 
is updated with supported variant WCD9395.

Change-Id: Ie556350b3630b6f1f76a4b2af1db795f908f13d4
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2022-11-29 10:52:17 +05:30
Prasad Kumpatla
fdf073a765 asoc: codec: wcd939x: update register name in regmap and tables
update register name in regmap and tables.

Change-Id: Ia1da74478b51dd094da2be74d621f91cf4e22ff9
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2022-11-23 20:56:14 +05:30
Prasad Kumpatla
0d0a99faa0 asoc: codec: wcd939x: update the register with correct addresses
update the register with correct addresses.

Change-Id: Ia0ff16aecd4afe0421ef4d0a8cf00bd1c704dd52
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2022-11-23 12:58:14 +05:30
qctecmdr
da4943cefd Merge "audio kernel: add null point check for lpass cdc." 2022-11-22 22:10:11 -08:00
qctecmdr
eaa0a64149 Merge "asoc: Update the sample interval for class-H port to 64" 2022-11-22 07:39:39 -08:00
qctecmdr
8a3a2be86e Merge "asoc: wcd: add NULL pointer check for wcd component" 2022-11-22 07:28:44 -08:00
qctecmdr
bca378d01d Merge "asoc: codec: Add support for 2S battery configuration in the WSA884x driver" 2022-11-22 07:23:41 -08:00
qctecmdr
5454ad283a Merge "asoc:codecs: Update exit section in device init." 2022-11-22 07:18:39 -08:00
qctecmdr
fee63bd4ec Merge "asoc: free backend_name memory when error happens" 2022-11-22 07:09:16 -08:00
qctecmdr
34e547a74b Merge "asoc: lpass-cdc: reset TX datapath during path teardown" 2022-11-22 07:03:43 -08:00
qctecmdr
4d5b2297eb Merge "ASOC: codecs: clear the interrupt ack registers for wcd937x" 2022-11-22 06:54:19 -08:00
qctecmdr
3bfe5ce9bb Merge "asoc: wcd938x: add more ADC volume support" 2022-11-22 06:49:33 -08:00
qctecmdr
3c3b8c9e96 Merge "asoc: pineapple: Get swr device num baced on wcd and wsa variant." 2022-11-22 06:39:41 -08:00
qctecmdr
3cbd3f7674 Merge "asco: msm-stub: Extend bit-width support to 24 and 32 bit" 2022-11-22 06:35:09 -08:00
qctecmdr
39fbfeb33a Merge "asoc: msm_common: call spf_apm_close_all only once" 2022-11-22 06:23:16 -08:00
Phani Kumar Uppalapati
7e16f6c859 audio-kernel: set hwparams for dummy platform
Set runtime hwparams for dummy platform components.

Change-Id: I160f7fafe60d644bc05fb90d0be777bbac712066
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
2022-11-21 10:10:09 -08:00
Ganapathiraju Sarath Varma
c5bab7cb06 asoc: pineapple: Get swr device num baced on wcd and wsa variant.
add support to get swr device num for wsa883x and
wsa884x based on the variant used.

Change-Id: Ib0a25a0692d968a3ae9a45c2a4754de8eef325ce
signed-off-by: sarath varma ganapahiraju <quic_ganavarm@quicinc.com>
2022-11-21 01:29:27 -08:00
Linux Build Service Account
dbc8b3c1e1 Merge "audio-kernel: fix compilation issues for pineapple target" into audio-kernel.lnx.6.0 2022-11-18 16:48:25 -08:00
Phani Kumar Uppalapati
5555970830 audio-kernel: fix compilation issues for pineapple target
Fix compilation issues in audio-kernel for pineapple target.

Change-Id: I93fa4fb670989f82139dd2cd0dbe57b52ad52504
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
2022-11-18 11:58:44 -08:00
Prasad Kumpatla
6674af32e8 asoc: add wcd939x codec dailinks
add wcd939x codec dailink.

Change-Id: Id5da2953da8d67c24c6e7adf441abfa03086a3e3
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2022-11-17 17:48:58 -08:00
Rohit kumar
7047b7ab7f asoc: msm_common: call spf_apm_close_all only once
Add lock to avoid calling spf_apm_close_all twice from
machine driver.

Change-Id: Id5f40b0a5f7c336aa900db5657f5fab198c6e359
2022-11-16 15:48:08 +05:30
yuayang
bfbf93e9f8 audio kernel: add null point check for lpass cdc.
add null point check for lpass cdc.

Change-Id: I280d4dcb5a1e28336fd1b074231b28c398808880
2022-11-14 17:09:44 +08:00
Anirudh Mahto
422607dafc asco: msm-stub: Extend bit-width support to 24 and 32 bit
Extend bit-width support to 24 and 32 bit for TDM, MI2S and AUX PCM  interface

Change-Id: I0c79df64881f2d96a16196e7fbef0cc177af1021
Signed-off-by: Anirudh Mahto <quic_amahto@quicinc.com>
2022-11-14 00:08:29 -08:00
Sam Rainey
e520775dec asoc: codec: Add support for 2S battery configuration in the WSA884x driver
Add register initialization for 2S battery configuration, including adding
relevant register shifts and masks.

Change-Id: Ie3bee4283aa57fb489153a3588db638a8a25719c
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
2022-11-02 11:07:44 -07:00
Meng Wang
bae0770e2b asoc: wcd938x: add more ADC volume support
ADC volume can support upto 27 different gain.
Current driver only supports 20. Make this change
to add more ADC volume support.

Change-Id: Ia315e15465affd5430d36637efb0cf3a12bb7b7e
Signed-off-by: Meng Wang <quic_mengw@quicinc.com>
2022-11-02 02:54:26 -07:00