Commit graph

3,917 commits

Author SHA1 Message Date
Dechen Chai
d1644ff55d ASOC: Disable Temperature sensor of WSA881x for bengal
-Temperature sensor of WSA881x is not used in bengal
Hence disable compilation.
-Initialize temp_val before use for wsa881x-analog.

Change-Id: Ibfb2fdfabdba7acfad3f65911b89d007a0711f08
Signed-off-by: Dechen Chai <quic_dchai@quicinc.com>
2022-02-23 08:26:50 +05:30
qctecmdr
3f10f8fe5f Merge "ASoC : add support for MultiMedia17" 2022-02-08 08:55:42 -08:00
qctecmdr
5db1ae069a Merge "dsp: Update adsp packet timeout in voice drv" 2022-01-31 20:57:27 -08:00
qctecmdr
e14d20f9dc Merge "asoc: copyright fix" 2022-01-31 00:23:01 -08:00
qctecmdr
1e8a61febc Merge "ASoC: Unmap lab buffer during listen session close" 2022-01-26 21:07:15 -08:00
qctecmdr
c3b12413d6 Merge "audio-kernel: change the maxnum for stream in QACT" 2022-01-26 21:07:15 -08:00
Deru Wang
47e815e52b asoc: copyright fix
Revert LF copyright and add QUIC copyright for change
3943882

Change-Id: I986ff4a667c653c5b8870e98655d9578d0fccf0b
Signed-off-by: Deru Wang <quic_deruwang@quicinc.com>
2022-01-25 14:51:40 +08:00
E V Ravi
f72f1bcfda ASoC : add support for MultiMedia17
Support for MultiMedia17 to be used with TERT_TDM_TX_0

Change-Id: Id98a1a206f8beac79bc00972e72a158064365d0a
Signed-off-by: E V Ravi <quic_evenka@quicinc.com>
2022-01-24 00:59:50 -08:00
Soumya Managoli
5147ab5a87 dsp: Update adsp packet timeout in voice drv
Change TIMEOUT_MS from 300 to 1000 msec
in q6voice drv.

Change-Id: I383380dfbb5334a32c5c939a67606612344170ee
Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com>
2022-01-24 13:48:53 +05:30
qctecmdr
8087503564 Merge "ASoc: bolero: update logic to disable VA_MCLK" 2022-01-18 22:09:08 -08:00
Soumya Managoli
092ce1cc5c ASoC: Unmap lab buffer during listen session close
Ensure lab buffer de-alloc even if listen session
is not in start state to avoid memory leak
when multiple listen clients are created.

Change-Id: Id6d8b37a3dcdf49618ae2a4d80903d429393cd8e
Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com>
2022-01-18 17:12:25 +05:30
Hexuan Zhu
0e1992003d audio-kernel: change the maxnum for stream in QACT
Increase the max num for QACT stream, should merge
together with 3931333

Change-Id: I4bdd9589be6821f7a44f8c89570b811b6fc03786
Signed-off-by: Hexuan Zhu <quic_hexuzhu@quicinc.com>
2022-01-17 17:01:31 -08:00
Deru Wang
9a2dd3bd1d asoc: set default value for port_id of logging kcontrol
Uninitialized values may cause the get function
of logging kcontrol to exit abnormally with error on
auto LA platform.

Change-Id: Id1f91a5454daafe499211763e26572bfe5dcbd47
Signed-off-by: Deru Wang <quic_deruwang@quicinc.com>
2022-01-12 16:47:53 +08:00
Soumya Managoli
22110db92c ASoc: bolero: update logic to disable VA_MCLK
When adsp SSR happens, VA_MCLK enabled by VA_SWR_PWR widget will
not be disabled as ADSP is down and it cannot enable TX_MCLk before
disabling VA_MCLK. After disabling SVA, VA_MCLk is left open.
Add dev_up flag to indicate SSR and close VA_MCLK during SSR.

Change-Id: I4cd08419be4035e2f337ab41348a814534480db6
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com>
2022-01-10 11:04:26 +05:30
Soumya Managoli
7743f757cb ASoC: bolero: Disable va_swr gpio on clk failure
During SSR TX_MCLK failure is observed when both SVA
and playback is active. Mute is observed post SSR
even though there is no clk enable failure.

Issue is seen due to va_swr gpio not being disabled
during SSR and hence not enabled properly once uc
resumes after SSR.

Change-Id: I674bbc80edaaa35b53855166156dba41a32ef45d
Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com>
2022-01-05 15:00:24 +05:30
qctecmdr
bd9de2dd82 Merge "dsp: add new boot cmd for early audio" 2022-01-02 20:37:09 -08:00
qctecmdr
1858731c0b Merge "ARM: dts: msm: Change default state to sleep" 2021-12-28 22:13:11 -08:00
Deru Wang
6be85d4cab dsp: add new boot cmd for early audio
The schedule_work of adsp loader boot will block machine driver probing
need add new boot cmd without schedule_work to accelerate early audio.

Change-Id: I5d344c56ef19985fca9d047687f4ea96a879dc27
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
2021-12-28 15:10:24 +08:00
Shubhasini Sugumaran
b12c68409d ARM: dts: msm: Change default state to sleep
Change in pin state from active to sleep induced abnormal bias
which produced pop noise in 6155/8155.
Propagated from f4883ad19bb49a1221f2d3844454dffb3e348f52.

Change-Id: I69eb7a6d17a0ae9e28f4cd78495c6f043b53209e
Signed-off-by: Shubhasini Sugumaran <quic_c_shubsu@quicinc.com>
2021-12-26 19:55:22 -08:00
Hexuan Zhu
77b6d4fece audio-kernel: lvgvm 8295 related file modify
Add qtigvmi3 in makefile and add snd card prob for lvgvm

Change-Id: Ia7de956a4495f985623d15916bb2df665b77446b
Signed-off-by: Hexuan Zhu <quic_hexuzhu@quicinc.com>
2021-12-19 13:21:16 +08:00
qctecmdr
5d67c58cf7 Merge "asoc: msm_stub: increase the max ch to 32" 2021-12-17 09:58:14 -08:00
qctecmdr
5ce28d7821 Merge "asoc: bengal: fix dailink init error" 2021-12-17 09:58:14 -08:00
qctecmdr
37a5d26145 Merge "dsp: Make synchronous call to unmap afe cal data" 2021-12-15 21:27:08 -08:00
Zun Qiao
2bd9cc0f5e asoc: bengal: fix dailink init error
-Fix the problem that the API snd_soc_rtdcom_lookup that
 wcd937x component is empty during the call of VA_CDC_DMA_TX_0
 dai-link .init .
-Put the call of API snd_soc_rtdcom_lookup to find wcd937x
 component into RX_CDC_DMA_RX_0 .init .

Change-Id: Ic0565742e462a78cd4ac90fb9e1a788b2ed15ab7
Signed-off-by: Zun Qiao <quic_zqiao@quicinc.com>
Signed-off-by: Dechen Chai <quic_dchai@quicinc.com>
2021-12-15 08:09:08 +05:30
Hugh Guan
a414026224 asoc: msm_stub: increase the max ch to 32
Increase the max ch to 32 for TDM interface.

Signed-off-by: Hugh Guan <quic_hhguan@quicinc.com>
Change-Id: I85bfaa68525668b8ffc9d929bdcf38126cb06c9f
2021-12-14 12:07:24 -08:00
Hugh Guan
ffc848f7bf asoc: QUAT TDM support for dummy machine driver
Adding QUAT TDM DAI links for dummy machine driver.

Signed-off-by: Hugh Guan <quic_hhguan@quicinc.com>
Change-Id: I0388374cb2f4b84bdacf8e40828d1e48e42bc442
2021-12-14 09:56:57 -08:00
qctecmdr
b14cb98d1a Merge "dsp:q6afe: Fix avcs load module failure for aptx" 2021-12-10 05:57:20 -08:00
Sujin Panicker
3bc09aab6e dsp: Make synchronous call to unmap afe cal data
On multiple async unmap_cal calls there are
chances hlos releases the ion memory while
adsp is still under going the unmap process,
in such cases there could be smmu fault due
to dsp accessing memory region which is
already released by the hlos.
Fix this by making synchronous unmap calls to
adsp.

Change-Id: I88082e989884446546de846097ad7b031496830e
Signed-off-by: Sujin Panicker <quic_spanic@quicinc.com>
2021-12-09 22:08:30 -08:00
qctecmdr
dd131631a7 Merge "ASoC: wsa883x: Enable all WSA interrupts" 2021-12-08 08:38:18 -08:00
qctecmdr
c9bdd424a7 Merge "soc: add snd_event_init func for mark audio KPI" 2021-12-08 08:38:18 -08:00
qctecmdr
a57c600eb6 Merge "ASoC: msm: Fix ASRC port type mismatch" 2021-12-08 08:38:17 -08:00
qctecmdr
4292d98db3 Merge "asoc: wsa883x: update irq_drv_data per wsa device" 2021-12-08 08:38:17 -08:00
Subhadra Jagadeesan
f19f6fe7de dsp:q6afe: Fix avcs load module failure for aptx
Fix for the avcs load module failure for ASM_MEDIA_FMT_APTX_ADAPTIVE
codec format as it uses incorrect AVS_MODULE_ID_DEPACKETIZER_COP_V2.

Added seperate condition and just call goto load_unload, so that it
uses AVS_MODULE_ID_DEPACKETIZER_COP_V1 assigned before.

Change-Id: I07176da41491cabdd3ad4df23b409d11b95a2764
Signed-off-by: Subhadra Jagadeesan <quic_c_subhja@quicinc.com>
2021-12-06 15:21:33 +05:30
qctecmdr
22d9a6b6d8 Merge "ASoC: wcd937x: Update EAR PA CnP FSM sequence" 2021-11-28 21:56:14 -08:00
qctecmdr
16e2483728 Merge "asoc: add drift support for mi2s interface" 2021-11-28 21:56:14 -08:00
qctecmdr
54e49a47b0 Merge "asoc: codec: enable use_single_read for wsa and wcd regmap" 2021-11-28 21:56:14 -08:00
ftong
0a9ad4c3a9 ASoC: msm: Fix ASRC port type mismatch
Dir is empty when assign value to TX path port type
Fix port type assignment.

Change-Id: If6c3f7d2cb5785e02a5cde1538b1e394c0e8e8e5
Signed-off-by: ftong <ftong@codeaurora.org>
2021-11-25 16:34:59 +08:00
Hongtao Peng
8985f86c67 soc: add snd_event_init func for mark audio KPI
snd_event_dlkm is loaded as the first module.
Add init function and place mark in it to indicate the
start time of audio driver initialization.

Change-Id: Ie0c85b9166686d91f71ff773224eca59d85a36e5
Signed-off-by: Hongtao Peng <hongtaop@codeaurora.org>
2021-11-25 14:29:22 +08:00
qctecmdr
4f7c9992de Merge "asoc: wsa883x: add slave_irq for wsa883x" 2021-11-24 04:22:34 -08:00
qctecmdr
49c9342668 Merge "soc: swr-mstr-ctrl: Move to CPU-1 FIFO for swr register read/write" 2021-11-24 04:22:33 -08:00
qctecmdr
2cc534fa02 Merge "config: sa8155/sa6155/gvmq: remove unused config vars" 2021-11-16 03:07:18 -08:00
qctecmdr
f7ade438f7 Merge "asoc: fix error for VA_CDC_DMA_TX_0 for bengal" 2021-11-16 03:07:18 -08:00
Soumya Managoli
55fdf543d2 ASoC: wcd937x: Update EAR PA CnP FSM sequence
EAR PA short switch is not released after
PA is turned on and off.
Address this hardware issue by updating the
EAR PA CnP FSM while EAR power down sequence.

Change-Id: If4269c30c13572db1b252f223368d444b9250901
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
2021-11-15 20:53:42 -08:00
Zun Qiao
26309ed172 asoc: fix error for VA_CDC_DMA_TX_0 for bengal
- Fix msm_int_audrx_init API called repeatedly
  during the sound card registration stage.

Change-Id: I71828fe6b026432a77b46b383d8c9e97371fb814
Signed-off-by: Zun Qiao <quic_zqiao@quicinc.com>
2021-11-15 14:03:13 +05:30
Meng Wang
4506302e7d asoc: codec: enable use_single_read for wsa and wcd regmap
When interrupts are triggered on the second or third interrupt
status register, current logic cannot clear that interrupt status
after handling it. Enable use_single_read for wsa and wcd regmap
to resolve the issue.

Change-Id: I31b301e70fc51c86302f80baeec82c865e9a25cd
Signed-off-by: Meng Wang <quic_mengw@quicinc.com>
2021-11-12 10:07:27 +08:00
Susan Wang
219d957223 config: sa8155/sa6155/gvmq: remove unused config vars
- Removes CONFIG variables for DTS Eagle and
  Dolby that are no longer used.

Change-Id: I401d10d16040413bf0d170aafb15f547de1ba3ad
Signed-off-by: Susan Wang <yingshuw@codeaurora.org>
2021-11-10 15:37:56 -05:00
qctecmdr
16913453bd Merge "asoc: fix compile warning of format-extra-args" 2021-11-10 02:19:14 -08:00
qctecmdr
bccb3b182e Merge "asoc: get and put for TERT_TDM_TX_0 ADM channels" 2021-11-10 02:19:14 -08:00
qctecmdr
fb6fe00f97 Merge "asoc: enable mclk1 for audio bring up" 2021-11-05 05:26:33 -07:00
qctecmdr
e5dd0ef293 Merge "ASoC: add LXC audio config for auto sa8295 platform" 2021-11-05 05:26:33 -07:00