Gráfico de commits

2660 Commits

Autor SHA1 Mensaje Fecha
Laxminath Kasam
43fd112a6b asoc: wsa883x: Fix SSR mute on speaker
During SSR/PDR, bring down wsa at down
event and restore after SSR up event.

Change-Id: I9a8d3c109144cb0a911cd7597bffc220b0ce95b7
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-06 19:39:09 -07:00
qctecmdr
f34687bd3a Merge "ASoC: wsa-macro: Update smart boost sequence for wsa883x" 2020-04-01 00:19:36 -07:00
qctecmdr
8d117c3794 Merge "bolero: va-macro: add dmic va rate to 1.2M for bolero 2.1" 2020-04-01 00:19:36 -07:00
qctecmdr
1a3887d68f Merge "ASoC: wcd938x: Disable ear path at power down" 2020-04-01 00:19:36 -07:00
qctecmdr
e06b1a4052 Merge "asoc: add routing control for Multimedia17 with USB TX" 2020-04-01 00:19:36 -07:00
qctecmdr
6312e2acf0 Merge "ASoC: bolero: Use TX MCLK for non-island mode usecase" 2020-04-01 00:19:36 -07:00
qctecmdr
6ce210751f Merge "asoc: Add asm loopback MultiMedia24 & 25" 2020-04-01 00:19:36 -07:00
Laxminath Kasam
df58b0fa9d bolero: va-macro: add dmic va rate to 1.2M for bolero 2.1
In bolero 2.1, VA macro has low power decimations
and support 600k only at 8k/16k. For non-LPI sessions
running at 48k will have mute data if use 600k.
Update driver to use 1.2M for non-LPI sessions.

Change-Id: If495ba8fb780bd22f188835ef87a0ec947df363c
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-03-31 03:18:13 -07:00
Vatsal Bucha
d789e57132 ASoC: wcd938x: Disable ear path at power down
Ear Path is not disabled properly disabled at power down.
Disable clk and other registers depending on whether ear
takes aux or hph path at pwd.

Change-Id: I987904ddd9bf21b9ed96e754e6eb2514b4d277ce
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-03-30 15:05:51 -07:00
Kunlei Zhang
ff7462e2ac asoc: add routing control for Multimedia17 with USB TX
Add routing control for Multimedia17 with USB TX.

Change-Id: Ia05c4fe55ea4dab2b75f4a6da6a54fabdb870f7d
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
2020-03-30 14:59:33 -07:00
Meng Wang
9d98d48b38 asoc: msm-lsm-client: abort LAB buffering before stop session and close TX
Currently we only set read_abort flag to stop LAB buffering before we call
q6lsm_stop_lab. There is a possibility that this step is skipped under
certain circumstances. This might cause ADSP crash as a result. Therefore,
set flag read_abort before calling q6lsm_stop and q6lsm_close to make sure
LAB buffering is stopped before closing a SVA session.

Change-Id: I7364c31348f908d8920e32f811745549cf305901
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-03-30 05:29:39 -07:00
Sudheer Papothi
04d31da985 ASoC: bolero: Use TX MCLK for non-island mode usecase
Use TX MCLK for non-island mode usecase.

Change-Id: Iff8f8efd3e83b09e5323abe19aabddb8c4de1964
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-03-30 05:24:58 -07:00
qctecmdr
b8e5bd2fc8 Merge "ASoC: msm: update QUAT/QUIN TDM slot mappings for A2B" 2020-03-30 01:20:37 -07:00
qctecmdr
d658726339 Merge "ASoC: codecs: Add swr dmic as multi codec" 2020-03-30 00:52:48 -07:00
Deru Wang
b96c33c66f asoc: Add asm loopback MultiMedia24 & 25
Add asm loopback channel to support dual hfp

Change-Id: I7b6e1ec773a9a0bbf3f9e3f8e47610b9096b7f37
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
2020-03-29 10:52:12 -07:00
qctecmdr
df0bbed4ca Merge "asoc: codec: Add initial driver for swr-haptics" 2020-03-28 01:33:26 -07:00
qctecmdr
ed55a74ea8 Merge "ASoC: Add mixer control for DTMF module enabling" 2020-03-28 00:53:37 -07:00
qctecmdr
fd7bbcb569 Merge "ASoC: msm: Add QUIN TDM TX interface to echo reference" 2020-03-28 00:53:37 -07:00
Sudheer Papothi
fd6155a232 ASoC: wsa-macro: Update smart boost sequence for wsa883x
Update smart boost sequence for wsa883x speaker amplifier
to reach max voltage at full scale signal.

Change-Id: Ic1a9ce13753d6e573c7916ae99643c85d6892aa0
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-03-28 10:07:33 +05:30
Derek Chen
7fcb671a3d ASoC: msm: update QUAT/QUIN TDM slot mappings for A2B
Update QUAT and QUIN TDM slot mappings for extended
usecases over A2B codec.

  QUAT TDM RX 0 -> DAC1 (8 CH)
  QUAT TDM RX 1 -> DAC2 (8 CH)
  QUAT TDM TX 0 -> ADC1 and ADC2 (16 CH)

  QUIN TDM RX 0 -> DAC1 and DAC2 (16 CH)
  QUIN TDM TX 0 -> ADC1 and ADC2 (16 CH)

Change-Id: I0d13ab3d44a05716a043189e6eb6c809dfff6d9d
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2020-03-26 22:50:49 -07:00
Vignesh Kulothungan
4fd97a1e75 ASoC: codecs: Add swr dmic as multi codec
Add codec backend dai for soundwire dmic's.
Add swr dmic as multi codec

CRs-Fixed: 2600577
Change-Id: I6d6f812d702c1422752e2841bfcad6495e388aad
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-03-26 22:39:19 -07:00
Vignesh Kulothungan
9e2e4fd511 ASoC: lahaina: add multi codec support for wcd and wsa
Add wcd and wsa dai's as additional codec dai's to existing dai links
which uses wcd and wsa respectively.
WCD938x and WSA883x will now be initialized via init ops from one of
these dai links.
WCD and WSA are now initialized as codecs instead of aux devices.

Change-Id: I1da4a6fba764cba82e51db91ad517750db9e647f
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-03-26 21:34:24 -07:00
Sudheer Papothi
40f02da69c ASoC: wsa883x: Update initial register sequence
Update initial regsiter sequence for wsa883x speaker
amplifier as per hardware requirements.

Change-Id: I3cd0458980bdc5140ff81b3b8ba6bab42e72fd49
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-03-27 07:16:54 +05:30
Sudheer Papothi
0e19126c1f ASoC: bolero: Add concurrency support on audio capture path
During voice activation and audio capture concurrency usecase,
there is no common reference count for DMIC clock enablement,
results into mute when one usecase tears down. Change enables
a common reference count in bolero codec driver between voice
activation usecase and audio capture usecase to avoid mute
during VA and audio capture concurrency.

Change-Id: I424c941178d7e9ff91288a50ba27605b2b9d3abe
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Akhil Karuturi <akarutur@codeaurora.org>
2020-03-26 18:45:23 -07:00
Sudheer Papothi
342e86e169 ASoC: lahaina: Update soundwire frame shape for audio capture
Update the sample interval of soundwire frame shape to avoid noise
during headset audio capture usecase.

Change-Id: I8289044bde0d629dc706d57faee64b18239849ce
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-03-27 01:20:50 +05:30
qctecmdr
68c0eb8da2 Merge "ASoC: wcd938x: Add support for ADC modes" 2020-03-26 07:59:56 -07:00
Derek Chen
b0f16ac9da ASoC: Add mixer control for DTMF module enabling
Mixer controls are added to enable and disable
DTMF ADSP modules.

Change-Id: Ic04c4696b31f77488cb2047829b823255872f7ac
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2020-03-25 22:58:07 -07:00
Vignesh Kulothungan
9ffe8f6f21 ASoC: codecs: wsa883x: add codec dai for each wsa883x
Add new codec dai for each wsa883x, since each WSA is
initialized as a codec and not as aux device.

Change-Id: I023c14faffcd1c1149531040ceae9ed1fe161385
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-03-25 17:18:53 -07:00
Vignesh Kulothungan
6cdec19289 ASoC: codecs: wcd938x: add codec dai for wcd938x
Add new codec dai for wcd938x, since WCD is
no longer initialized as an aux device but as a codec.

Change-Id: I1cb60ef3ef71692970011ef6c3b50cf9cd64b7ca
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-03-25 17:18:39 -07:00
qctecmdr
5a85f242a9 Merge "asoc: Add separate array for TDM BE dai links" 2020-03-25 09:38:23 -07:00
qctecmdr
3efc2c5808 Merge "dsp: Make error as debug log when CPU buffer not available" 2020-03-25 09:38:23 -07:00
qctecmdr
53e8920027 Merge "asoc: codecs: Add system sleep ops for macro drivers" 2020-03-25 09:38:23 -07:00
qctecmdr
282ca14b8a Merge "config: lito: Disable MI2S, TDM and AUXPCM interfaces" 2020-03-25 09:38:23 -07:00
qctecmdr
269096892f Merge "config: add wcd937x support for lagoon" 2020-03-25 09:38:23 -07:00
qctecmdr
ffdc1a1bd9 Merge "asoc: codecs: Avoid MBHC OverCurrentProtection." 2020-03-25 09:38:23 -07:00
qctecmdr
2d2ae53b05 Merge "soc: swr-mstr: Fix headset not detetcted issue on devnum 0 detached" 2020-03-25 09:38:23 -07:00
qctecmdr
c62bfc5f33 Merge "dsp: Correct the instance ID assignment in IIR sidetone" 2020-03-25 09:38:23 -07:00
qctecmdr
2e48e6f40a Merge "asoc: kona: call wsa set channel map for wsa883x" 2020-03-25 09:38:23 -07:00
qctecmdr
58563a41f2 Merge "dsp: codecs: Add synchronization between SSR and native encoder decoder" 2020-03-25 09:38:23 -07:00
qctecmdr
c4322eb5b7 Merge "asoc: bolero: Avoid reg access if audio hw vote fails" 2020-03-25 09:38:23 -07:00
qctecmdr
9164299ac9 Merge "asoc: wsa881x-analog: Update boost preset based on 8810/15" 2020-03-25 09:38:22 -07:00
qctecmdr
1487993fd0 Merge "asoc: codecs: Support for TX HPF cut off frequency snd ctrl" 2020-03-25 09:38:22 -07:00
qctecmdr
6b3d5a6111 Merge "asoc: kona: set wakeup to false when GPIOs are used as MI2S" 2020-03-25 09:38:22 -07:00
qctecmdr
f921bbe412 Merge "ASoC: use swr macro definitions for channel rate" 2020-03-25 09:38:22 -07:00
qctecmdr
7b0c66d071 Merge "ASoC: msm: unmap and free dma memory if smmu map failed" 2020-03-25 09:38:22 -07:00
qctecmdr
0ddcc23e3b Merge "ASoC: bolero: Update regmap to configure tx path" 2020-03-25 09:38:22 -07:00
qctecmdr
7aba75ecb9 Merge "dsp: use dma handle as default input in hab export" 2020-03-25 09:38:22 -07:00
qctecmdr
9fd5ec3cb5 Merge "ASoC: lahaina: Update soundwire configuration for audio capture" 2020-03-25 09:38:22 -07:00
qctecmdr
b56fbda271 Merge "ASoC: wsa883x: Fix size for register access" 2020-03-25 09:38:22 -07:00
qctecmdr
1969f3907e Merge "asoc: Add asm loopback MultiMedia24 and MultiMedia25" 2020-03-25 09:38:22 -07:00