커밋 그래프

2673 커밋

작성자 SHA1 메시지 날짜
qctecmdr
253aecaacb Merge "ASoC: Add FFECNS Freeze event support" 2020-04-08 21:02:07 -07:00
qctecmdr
dfdd0d31d2 Merge "dsp: adm: increase the length of timeout in adm_open to 2 seconds" 2020-04-08 21:02:07 -07:00
qctecmdr
ada8071b43 Merge "ASoC: bolero: Resolve handset record not resuming after PDR" 2020-04-08 21:02:07 -07:00
qctecmdr
bd70c6e360 Merge "dsp: voice: Remove common lock before sending unmap command" 2020-04-08 21:02:07 -07:00
qctecmdr
db7ff12b0c Merge "ASoC: wcd938x: Fix headset detection during SSR/PDR" 2020-04-08 21:02:07 -07:00
qctecmdr
347e39ed9c Merge "asoc: bengal: Avoid island config to afe for sva disable variant" 2020-04-08 21:02:07 -07:00
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
Ramu Gottipati
85be556200 ASoC: Add FFECNS Freeze event support
Add mixer control support to send ffecns freeze
event.

Change-Id: I86bfd27aac312f85ebbde1f35ff4f65f589c6fec
Signed-off-by: Ramu Gottipati <ramug@codeaurora.org>
2020-04-01 13:03:08 -07:00
Meng Wang
d114234b61 dsp: adm: increase the length of timeout in adm_open to 2 seconds
Currently, the length of timeout in adm_open for waiting response
from ADSP is 1 second. To prevent unnecessary timeout that results
adm_open failure, increase the length of timeout to 2 seconds.

Change-Id: I670f44964538c3176130c4bb5f8b7a3b3eaf8d8b
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2020-04-01 13:02:15 -07:00
Vatsal Bucha
ca165320f0 ASoC: bolero: Resolve handset record not resuming after PDR
Handset record does not resume if pdr is performed
during record. Make VA DMIC_CTL registers as volatile
to write proper value of register to hw.

Change-Id: I2cc10d2eab18e3e8126c56caffa126195c02b4e3
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-01 13:01:04 -07:00
Aditya Bavanari
7c7ad13625 dsp: voice: Remove common lock before sending unmap command
Remove common mutex lock before invoking unmap physical
memory command to avoid deadlock issue between voice lock
and common lock in concurrency use cases.

Change-Id: Iaca089f4ff1b6da16e0e59939088fb59516362aa
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-04-01 13:00:05 -07:00
Laxminath Kasam
7e443c1cd6 asoc: bengal: Avoid island config to afe for sva disable variant
Check SVA disable variant and skip send afe island config.

Change-Id: Ida6c32ec042f545291aaeb8e616478b991d923bd
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-04-01 12:54:32 -07:00
Sudheer Papothi
fd25834b84 soc: soundwire: Check for clock source before clock switch
Check for soundwire clock source before clock switch to avoid
redundant clock switch for the same clock source.

Change-Id: I8a7a116cc956f427af677b413928dace5a39a23d
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-04-01 12:53:10 -07:00
Vatsal Bucha
71e95c67ea ASoC: wcd938x: Fix headset detection during SSR/PDR
Headset is corrected as lineout during SSR/PDR. This is
because adc voltage is not measured correctly due to SSR state.
Enable flag deinit_in_progress during SSR down to check if
device is not reported and disable it after device up.

Change-Id: I6fc4fff4149c36ba16aa668a960505504a5d811f
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-04-01 09:54:12 -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