Gráfico de commits

3734 Commits

Autor SHA1 Mensaje Fecha
Fenglin Wu
e3c6149759 asoc: codec: swr-haptics: update slave-vdd regulator control logic
Update the slave-vdd regulator control logic to avoid unbalanced
regulator_enable() regulator_disable() calls. Meanwhile, correct
the jump label when bailing out from soundwire enumeration failure.
This helps to avoid the regulator_put() call in the device remove
process throwing a warning for a dangling regulator enable status.

Change-Id: I89157f5f9177db69bbbf6aedcc8e605c43a7584e
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2021-05-08 08:55:44 -07:00
Aditya Mohan
7cc7e513af asoc: CPS mixer control
Add support for getting logical device
number using mixer control required
for CPS

Change-Id: Ia710b8cb5a5a099139b25afedb7723d93468cc6b
2021-05-05 07:22:48 -07:00
Linux Build Service Account
fe0aa26767 Merge "soc: swr-mstr-ctrl: add new lock to sync runtime_resume and runtime_suspend" 2021-05-02 22:55:47 -07:00
Linux Build Service Account
baccca3aaa Merge "asoc: mbhc: add extcon device for MBHC" 2021-05-02 22:55:47 -07:00
Linux Build Service Account
48f26271e5 Merge "asoc: lpass-cdc: Support up to 200 coefficients for HiFi FIR" 2021-05-02 22:55:46 -07:00
Linux Build Service Account
0ad49f6f8a Merge "asoc: bolero: update incorrect bolero register" 2021-05-02 22:55:45 -07:00
Linux Build Service Account
e5940a24c3 Merge "asoc: lpass-cdc: Update default tables as per v2p5" 2021-05-02 22:55:44 -07:00
Linux Build Service Account
ffb2dac19d Merge "ASoC: codecs: fix a typo of dapm string concatenate" 2021-05-02 22:55:39 -07:00
Linux Build Service Account
03011b6324 Merge "ASoC: update channel map for rx multi codec usecase" 2021-05-02 22:55:39 -07:00
Linux Build Service Account
3a0df1d928 Merge "asoc: msm_hdmi_codec_rx: add 44.1kHz support for DP playback" 2021-05-02 22:55:38 -07:00
qctecmdr
4a4e1b1143 Merge "soc: soundwire: Update interrupt masks based for CPU1 bits" 2021-04-30 19:21:40 -07:00
Linux Build Service Account
92567454a0 Merge "asoc: wsa883x: Update wsa8832 DRE gain" 2021-04-29 18:25:15 -07:00
Junkai Cai
2df3cd8d48 asoc: lpass-cdc: Support up to 200 coefficients for HiFi FIR
Previously code will not write coefficients if there are exactly 100 coeffs
in first coeffs write. Or if user update coeffs on the fly with one group
unchanged.

Change-Id: Id4e8af06dec6b247f4a79a797d5b61668fd1e7f4
Signed-off-by: Junkai Cai <junkai@codeaurora.org>
2021-04-29 11:00:33 -07:00
Linux Build Service Account
39252be440 Merge "asoc: update logic for incremental build" 2021-04-29 07:02:50 -07:00
Linux Build Service Account
ccc1bcc38e Merge "lpass-cdc: rx-macro: AUX path has no compander support" 2021-04-29 04:03:23 -07:00
Linux Build Service Account
654666cdf2 Merge "asoc: wsa883x: Update OTP_REG_0 as volatile reg" 2021-04-29 04:03:21 -07:00
Laxminath Kasam
b5bc4627f2 asoc: wsa883x: Update wsa8832 DRE gain
Reduce WSA8832 SKU DRE gain offset by
1p5dB same as WSA8830

Change-Id: I949bd78e2f4e935e1aba7ce0e2319418562e14ac
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2021-04-29 13:49:31 +05:30
Meng Wang
ecf424366e asoc: mbhc: add extcon device for MBHC
Add extcon device for MBHC.

Change-Id: I2f22223bc62f4f4b5f2e8cb61cf7e7d41548947f
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2021-04-29 10:04:21 +08:00
Meng Wang
d3bff02de6 asoc: update logic for incremental build
Update file search logic for incremental build.

Change-Id: If2f80653cd2229e9bcbb3b97070345f2adfd396c
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2021-04-28 09:07:51 +08:00
Vignesh Kulothungan
dd4041eca5 ASoC: update channel map for rx multi codec usecase
Update the channel map and count to reflect all the codec
dais used by the backend dai link.

Change-Id: Id2a46210aadd8bb06eaea2ff50f8b1ddbe365105
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2021-04-27 01:56:04 -07:00
Laxminath Kasam
05e8d4faa8 asoc: lpass-cdc: Update default tables as per v2p5
Update regmap default entries of spk protection
registers as per lpass cdc version 2p5.

Change-Id: I7c966eb3edbe9a9c065c03220ef2b9390b1fc723
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2021-04-27 14:20:03 +05:30
Meng Wang
42d4d58d8b soc: swr-mstr-ctrl: add new lock to sync runtime_resume and runtime_suspend
runtime_suspend may get from multi functions and reslock is
unlock and lock inbetween which may cause clk count mismatch
with multi rutime_suspend called. Add new lock to make sure
runtime_suspend is run in sequence.

Change-Id: Ie465ded6dc1db1244035e9f4d216466b630df82b
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2021-04-27 16:33:32 +08:00
Laxminath Kasam
1162b303cf soc: soundwire: Update interrupt masks based for CPU1 bits
In soundwire v1p7, CPU1 register bits used from Apps EE.
Update interrupt status and mask bits for CPU1 also to
be included.

Change-Id: Ied86e11756db8609fcd5b81e505f07a4c066c2b8
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2021-04-26 22:09:43 -07:00
Junkai Cai
6d66c41d46 ASoC: codecs: fix a typo of dapm string concatenate
SWR DAC_PORT string should be defined as SWR DAC_Port
This was causing "ASoC: unknown pin" issue.

Change-Id: I31ce7bf983b3793f8e4ee9702f5df021a89fd389
Signed-off-by: Junkai Cai <junkai@codeaurora.org>
2021-04-26 17:01:39 -07:00
Junkai Cai
647c4b4898 ASoC: added WSA2 support on targets with more than two spkrs
Add wsa2 backend dai links only in platforms
which has 4 wsa speakers.

add 2 to the device index parsed from hardware device id
of wsa slave to match the dai names in the msm_dailink.h

Change-Id: Iffe43842123526f4925f9d5bcd8dff0317bac7a7
Signed-off-by: Junkai Cai <junkai@codeaurora.org>
2021-04-26 13:29:01 -07:00
Harold Tan
5f4dbcb2f5 asoc: msm_hdmi_codec_rx: add 44.1kHz support for DP playback
Change-Id: Iaf45d62b8250c7e54e86018822805ca52a9d5941
2021-04-26 11:50:04 -07:00
qctecmdr
3ae97cf8fa Merge "asoc: lpass-cdc: Update swr pdev initialize order" 2021-04-26 09:29:43 -07:00
qctecmdr
cb4c937314 Merge "asoc: Compile audio driver UAPI as overlay" 2021-04-26 07:53:43 -07:00
Laxminath Kasam
01756036b5 asoc: lpass-cdc: Update swr pdev initialize order
During sound card register init call, if swr pdev
is not initialized yet respective soundwire port
config is not updated to soundwire controller device.
In macro drivers, update swr pdev into macro private
data prior to platform device add.

Change-Id: Ifa67471cfc7a10b102b573df6285e598bb0b5e5e
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2021-04-26 07:50:25 -07:00
Meng Wang
195771b877 asoc: lpass-cdc: update correct offset for compander and softclip
Update correct offset for compander and softclip.

Change-Id: Ic4071a25911db0c6c57d550e98d63e663354f62d
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2021-04-26 05:47:12 -07:00
Meng Wang
96e7b3758f asoc: Compile audio driver UAPI as overlay
Install the audio UAPI header files for other modules and
userspace can use them.

Change-Id: Ib178f32bac46e3e95f78db33098d68b6ee834516
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2021-04-26 05:47:08 -07:00
Meng Wang
f3aa1cddc4 asoc: bolero: update incorrect bolero register
Update incorrect bolero register for default value.

Change-Id: Ifa14f3b5dd73971e5c6b15ab58f70074b3a74408
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2021-04-26 05:47:04 -07:00
Junkai Cai
b7e259a57b asoc: lpass-cdc: Add support for HiFi FIR filter
Enable HiFi FIR PCM filter on digital codec to support HiFi audio playback on headset.

Change-Id: I5bc03ed45a3fd149c93dc04f33be0a581b519d44
Signed-off-by: Junkai Cai <junkai@codeaurora.org>
2021-04-22 20:22:49 -07:00
Laxminath Kasam
24b73c6fb5 lpass-cdc: rx-macro: AUX path has no compander support
Return from config compander during aux path powerup
as aux path compander is not present.

Change-Id: I5ed1557dddfb64c8712d92c75fd58aa98b96355d
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2021-04-21 17:07:31 +05:30
Linux Build Service Account
c979dac299 Merge "asoc: lpass-cdc: Update ch_mask for wsa2_macro" 2021-04-21 01:36:12 -07:00
Meng Wang
d5cfb617e3 asoc: lpass-cdc: update correct offset to set IIR1 registers
Update correct offset to set IIR1 registers to make sidetone work.

Change-Id: I94cc7f54c5d68954565d683aee0d3e887eebedb3
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2021-04-21 00:35:23 -07:00
Laxminath Kasam
fefa2893b5 asoc: lpass-cdc: Update ch_mask for wsa2_macro
Update ch_mask of WSA2 macro to return based on
4-channel DMA support.

Change-Id: Iea4800dc85bf6bf1d250dfca214c58925ea328ab
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2021-04-21 00:35:20 -07:00
Laxminath Kasam
a8ed68fe7e asoc: wsa883x: Update OTP_REG_0 as volatile reg
For WSA variant info is available in this register
OTP_REG_0. Make it volatile read-only register
to always read from hardware.

Change-Id: I1c543875748d08304b4abe6c73594bc116d08c6d
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2021-04-15 14:18:04 +05:30
qctecmdr
d7a73f35b7 Merge "msm_common.c: fix dereference of pointer 'kctl_pdata' before NULL check" 2021-04-14 00:13:12 -07:00
Vignesh Kulothungan
e334b71c41 dsp: probe defer when remoteproc is uninitialized
There can be race condition that audio_notifier probe
function is called before remoteproc-adsp driver instance
is initialized. In such case, NULL handle would be returned.
It should not be treated as unrecovery error. Update return
status to EPROBE_DEFER upon getting NULL handle back from remoteproc

Change-Id: Id9d182949d12923a25b582142e3fe8bad85e19de
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Signed-off-by: Patrick Lai <plai@codeaurora.org>
2021-04-09 16:21:37 -07:00
Meng Wang
1167850c11 asoc: codec: change log type to reduce bootup log
Change log type from dev_info to dev_dbg to reduce
bootup log.

Change-Id: Id0c3dcec9f6658c5d5ae5833c356ac9193c64b55
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2021-04-07 08:31:58 +08:00
Harold Tan
fdab4dc6bf msm_common.c: fix dereference of pointer 'kctl_pdata' before NULL check
Change-Id: I8d7843b13cdfe3b0e1783acc662e4d06ae7a739a
Signed-off-by: Harold Tan <harotan@codeaurora.org>
2021-04-01 23:06:41 -07:00
Vignesh Kulothungan
3e64caacf8 dsp: initialize head of client linked list
Client list head is initialized during audio notifier probe,
and clients cant be added to the list before it is initialized,
which can lead to undesired behavior.
Initialize client list head during declaration.

Change-Id: I03fe218399662df8ac0665f34273c8e7749c1ad2
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2021-04-01 10:25:49 -07:00
Meng Wang
37b25ca9ac soc: swr-mstr: update logic to dump soundwire register
Some soundwire register dump is skipped with current logic.
Update ppos logic to dump all soundwire registers correctly.

Change-Id: Id053e2b71705ca17caf2de2bb85f8c987790099a
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2021-03-30 08:39:20 -07:00
Linux Build Service Account
abe9637cc4 Merge "audio-kernel: Enable hdmi codec driver for taro" 2021-03-29 19:06:04 -07:00
Vikram Panduranga
9ec6a7fe92 dsp: remove export symbol for static functions
Export symbol cannot be added for static functions.

Change-Id: Ief55b7868f2c16e5a11681e24432561d45765e52
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2021-03-24 10:31:39 -07:00
qctecmdr
9cd17829df Merge "asoc: mbhc: disable/enable BCS for all headset types" 2021-03-24 01:58:25 -07:00
qctecmdr
33830980fb Merge "asoc: move some kernel headers to vendor SI" 2021-03-24 01:58:25 -07:00
Meng Wang
06e614b09f asoc: move some kernel headers to vendor SI
Move some audio kernel headers to vendor SI.

Change-Id: I41df0cdb2789359e1fded84ec0bf6c30eaa4a25f
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2021-03-24 14:10:02 +08:00
Phani Kumar Uppalapati
d689e0abe2 audio-kernel: Enable hdmi codec driver for taro
Enable hdmi codec driver compilation for taro
platform.

Change-Id: Ic0912d56427cb2b98d816258c79a7609f4237349
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2021-03-23 17:53:19 -07:00