Wykres commitów

1420 Commity

Autor SHA1 Wiadomość Data
Linux Build Service Account
d7b38e7a01 Merge "codecs: reduce error log rate" 2019-02-26 19:38:37 -08:00
Linux Build Service Account
c496cb0f6d Merge "dsp: validate token before usage as array index" 2019-02-26 19:38:36 -08:00
Linux Build Service Account
a14c0fbcd9 Merge "asoc: sm6150: Add support for tasha snd card variants" 2019-02-26 19:38:35 -08:00
Linux Build Service Account
f6aacbcc7b Merge "dsp: Check ec ref rx port against AFE_PORT_INVALID" 2019-02-26 19:38:34 -08:00
Linux Build Service Account
dacd65b4e4 Merge "asoc: Add routing controls for SLIM_1_TX" 2019-02-26 19:38:33 -08:00
Aditya Bavanari
45e2e65529 asoc: sm6150: Add support for tasha snd card variants
Add DAI links and sound card registration support
for tasha sound card variants.

Change-Id: If93dc1dae2f10f9ac6b8e2e80a9e38cadc14289b
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-02-26 14:56:59 +08:00
Meng Wang
a60b408c5a asoc: kona: enable us/euro function for analog type-c headset
mbhc_mbhc_cfg.swap_gnd_mic is not initialized for analog type-c
headset on Kona which causes headset detection fails.
When analog type-c headset function is enabled on device, initialize
swap_gnd_mic to msm_usbc_swap_gnd_mic to resolve this issue.

Change-Id: Ia8244e41cbfa7c8844b761ff129a7d2cced0dacf
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-02-25 17:02:23 +08:00
Linux Build Service Account
2b5cb6ac75 Merge "asoc: msm: register wake irq of Tx macro" 2019-02-22 10:36:30 -08:00
Linux Build Service Account
67c7e280fc Merge "asoc: kona: update parameters for RX/TX backend" 2019-02-22 06:55:42 -08:00
Karthikeyan Mani
664bd4aa8d asoc: msm: register wake irq of Tx macro
Register wakeup of TX macro with HW interrupt
line through wakeup irq.

Change-Id: I1120b6155ca88ce6e1f8dcc163fc86227d606a8b
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-02-21 13:36:30 -08:00
Xiaojun Sang
cf353edbf2 dsp: validate token before usage as array index
Token from DSP  might be invalid for array index. Validate the token
before being used as array index.

Change-Id: I9f47e1328d75d9f9acf7e85ddb452019b6eced0a
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2019-02-21 16:44:51 +08:00
Samyak Jain
810e42a354 asoc: Add routing controls for SLIM_1_TX
Add routing controls for SLIM_1_TX for compress capture.

Change-Id: I8d350ebc60cc081e7027352ddd77ebbb59294189
Signed-off-by: Samyak Jain <samyjain@codeaurora.org>
2019-02-20 02:24:16 -08:00
Chaithanya Krishna Bacharaju
8b0abba9d7 dsp: Check ec ref rx port against AFE_PORT_INVALID
ec ref rx port is defined as integer and it is
set to 0xFFFF (AFE_PORT_INVALID) when ec controls are reset.
Due to this the current check against -1 (0xFFFFFFFF) in
adm open will always return true even after controls are reset.
This leads to adm open failures in case no ec ref channels are
set as part of record usecase. Avoid this by checking ec ref rx
port against AFE_PORT_INVALID.

Change-Id: I0d52bbe2a980d495933239315e6bba193a18567e
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
2019-02-20 16:51:01 +08:00
Linux Build Service Account
5bb681434b Merge "dsp: voice_mhi: reset vote count at modem restart" 2019-02-19 23:04:01 -08:00
Xiaojun Sang
72cea1a23c codecs: reduce error log rate
Huge volume of log prints out at error. Reduce the redundant log.

Change-Id: I761d5953614d039b7a725926c38adee1beeeec41
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2019-02-18 17:37:38 +08:00
Meng Wang
574f494777 asoc: kona: update parameters for RX/TX backend
Samplerate, channels and bit rate are not updated for
MSM_BACKEND_DAI_WSA_CDC_DMA_RX_*, MSM_BACKEND_DAI_RX_CDC_DMA_RX_*,
MSM_BACKEND_DAI_WSA_CDC_DMA_TX_*, MSM_BACKEND_DAI_TX_CDC_DMA_TX_*.
Add hw_params_fixup function for these BE DAIs.

Change-Id: Ia21f1cf5742e3acc6549319dcedfde07233ed161
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-02-18 15:48:53 +08:00
Linux Build Service Account
914aaa0a41 Merge "asoc: codecs: wcd938x: remove on demand vdd buck" 2019-02-17 00:21:51 -08:00
Linux Build Service Account
1aeded0dd7 Merge "asoc: codecs: wcd938x: disable pm runtime" 2019-02-17 00:21:50 -08:00
Linux Build Service Account
0bb00a0f62 Merge "ASoC:kona: Add soundwire DMIC port configuration on kona" 2019-02-17 00:21:49 -08:00
Linux Build Service Account
2591646070 Merge "ASoC: bolero: Enable clock Fs generation in bolero codec" 2019-02-17 00:21:49 -08:00
Linux Build Service Account
4b706081b5 Merge "asoc: codecs: bolero: add split codec check" 2019-02-17 00:21:48 -08:00
Linux Build Service Account
32754ec645 Merge "asoc: codecs: wcd938x: match slave property to dt" 2019-02-17 00:21:47 -08:00
Linux Build Service Account
0097f79686 Merge "asoc: codecs: make cdc pinctrl common to all core objects" 2019-02-17 00:21:47 -08:00
Linux Build Service Account
6f50644357 Merge "asoc: codecs: wcd938x: enable micbias for capture" 2019-02-17 00:21:46 -08:00
Karthikeyan Mani
1a111b965a asoc: msm: remove codec specific checks for kona
Add dapm widget for all analog mics, remove bolero
and mtp specific checks from probe.

Change-Id: Ibaa81fb9a655c3d0f48b95d2e882b5fecf6adb73
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-02-15 17:33:14 -08:00
Karthikeyan Mani
c0a8adf365 asoc: codecs: wcd938x: disable pm runtime
Soundwire master receives the pm runtime calls, so slave
does not need to enable pm runtime.

Change-Id: I3e09b9d1eee9bbfbe525fbf375bf938600f30064
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-02-15 17:31:57 -08:00
Karthikeyan Mani
92fccbfd8f asoc: codecs: wcd938x: update tx mode setting
Change tx mode setting from dapm widget to kcontrol
as it is not needed in codec route and only needed
for updating mode value.

Change-Id: I5d66b9a82b541b97f5c5789fe2e49d329c6952a8
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-02-15 17:24:49 -08:00
Karthikeyan Mani
1475b5915b asoc: codecs: bolero: update mic paths
Add all combination of routes between adc and
available mic paths.

Change-Id: If5781509bdc667d94ca1ad991388a8d57af75b94
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-02-15 14:18:48 -08:00
Karthikeyan Mani
09b5461237 asoc: codecs: wcd938x: remove on demand vdd buck
All codec supplies are treated as static supplies
and do not require on demand supply.

Change-Id: Idf54f65cc6089675e21a52ea49cdf46eae98f295
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-02-15 11:03:54 -08:00
Linux Build Service Account
53f0ca9225 Merge "soc: enable compilation for audio lpi driver" 2019-02-14 14:32:46 -08:00
Linux Build Service Account
12df645bec Merge "ASoC: config: add config to compile lpi TLMM drivers for kona" 2019-02-14 14:32:46 -08:00
Karthikeyan Mani
fbdcab9e8d asoc: codecs: wcd938x: enable micbias for capture
Micbias needs tx bias clock bit to be enabled.

Change-Id: I6a73d05eb9363c3dce267f6730c44b0442387365
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-02-14 00:35:17 -08:00
Karthikeyan Mani
1efdee5fd5 asoc: codecs: make cdc pinctrl common to all core objects
cdc pinctrl needs to be loaded for both v1 and v2 wcd
core objects.

Change-Id: I4742e96b54bbd481583a6d12fd32fddb63216077
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-02-14 00:33:06 -08:00
Vikram Panduranga
0a7307c180 dsp: voice_mhi: reset vote count at modem restart
MHI devote is not required when modem restarts during
a voice call, which results in PCIe down notification.
Hence, vote count is reset to zero when modem restart
is received.

Change-Id: Ia2a7bb98f21d5130520489c8f2d20a04d41f03b4
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2019-02-13 18:01:42 -08:00
Karthikeyan Mani
fd328a6b66 soc: enable compilation for audio lpi driver
Enable compilation of audio low power island driver
for kona.

Change-Id: I28adb30aa64204609667cedc1df5b181aa609267
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-02-13 11:46:27 -08:00
Karthikeyan Mani
6f6f9a387f ASoC: config: add config to compile lpi TLMM drivers for kona
Add config to compile audio low power island TLMM drivers
for kona.

Change-Id: I35a06ba826c1835cc8129acf3591c9fcf0a19214
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-02-13 11:43:33 -08:00
Meng Wang
c2acbee602 dsp: update copyright marking for q6afecal-hwdep and q6asm
Copyright year 2018 for q6afecal-hwdep and third party copyright
marking for q6asm are removed during updating file headers.
Add them back.

Change-Id: I0341116ca0cf82be8c3876534b98ad2c376b3531
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-02-12 08:32:44 +08:00
Karthikeyan Mani
634fa7593f asoc: codecs: bolero: add split codec check
Add a check to see if split codec is present for
the slaves being probed and add platform data to
such slaves.

Change-Id: I8b143c551a481b88dffc8763421d2aaa02c0012d
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-02-07 14:58:53 -08:00
Karthikeyan Mani
c61592adb3 asoc: codecs: wcd938x: match slave property to dt
Match the rx/tx slave node property to that of in dt
to add slave components.

Change-Id: Id990dc0c85691c4af8b8adb7f9de26063559b7b8
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-02-07 14:58:50 -08:00
Sudheer Papothi
17875f5c71 ASoC:kona: Add soundwire DMIC port configuration on kona
Add soundwire DMIC port configuration on kona. This change
will enable audio capture from WCD938x codec DMICs.

Change-Id: I5b9e9a65f5bc021d4b19a838c17b56b3cb9eb4eb
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-02-06 23:15:30 +05:30
Sudheer Papothi
ff649f9d73 ASoC: bolero: Enable clock Fs generation in bolero codec
Clock Fs generation registers are in always on domain but
is needed for all the playback and capture usecases. Enable
clock Fs generation in the boloero codec after the clock
enablement.

Change-Id: I3a9cf14660f871b26ec96ef8b3e245ba5dadeb78
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-02-05 23:56:32 +05:30
Linux Build Service Account
d59c94ebae Merge "asoc: bolero: enable VA macro island mode MUX select on Kona" 2019-02-01 08:20:56 -08:00
Vikram Panduranga
51f7fa7f56 dsp: voice_mhi: fix memory size before mapping
Mailbox memory was mapped with incorrect memory size.
Adding a fix to use the actual size while mapping.

Change-Id: If9a478ca044f68bed8e0899dfb023545585272f2
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2019-01-30 23:45:47 -08:00
Vikram Panduranga
7dbdc9aa69 dsp: q6voice: call voice MHI start/end APIs
Whenever a voice call starts or ends q6voice shall call
voice_MHI API to enable or disable MHI voting respectively.

Change-Id: Ia1125fb96c67ff6fec2242bc2b482ef7017dfb7d
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2019-01-30 23:43:02 -08:00
Vikram Panduranga
335304e701 dsp: config: Add configuration for voice mhi driver
Add and enable configuration for voice mhi driver
for kona target.

Change-Id: I43c28fbe26a5429f1a30b056ff96a9815acb3aa4
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2019-01-30 23:41:38 -08:00
Vikram Panduranga
e2db205a11 dsp: add voice MHI driver
Add voice MHI driver to support the following features -
1. Allocate and map mailbox memory needed for voice call
packet exchange.
2. Send memory mapped addresses to ADSP.
3. Vote MHI host driver at start and stop of a voice call.

Change-Id: I8ef8bc270acacab9b80bca7addccdf73bd572adf
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2019-01-30 23:39:34 -08:00
Linux Build Service Account
92c861b756 Merge "asoc: Update file header to GPL-2.0-only" 2019-01-29 21:57:42 -08:00
Linux Build Service Account
a052150d8d Merge "ASoC: dsp: correct param_size assignment" 2019-01-29 17:08:21 -08:00
Xiaoyu Ye
2122732534 asoc: bolero: enable VA macro island mode MUX select on Kona
VA macro is currently lacking capability to dynamically select
island mode on Kona. Add support in VA macro driver to read MUX
selection register from DT to enable dynamic island mode select.

Change-Id: I5462265fffcc6d6bbb3ff6eead5f44f0b8909141
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2019-01-29 15:46:55 -08:00
Meng Wang
688a867091 asoc: Update file header to GPL-2.0-only
Update file header to GPL-2.0-only.

Change-Id: If16bf92f951c6d7521f56a3e9b91da2ca2ccf6f8
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-01-29 13:43:33 +08:00