커밋 그래프

1323 커밋

작성자 SHA1 메시지 날짜
Linux Build Service Account
8522efef7a Merge "audio-kernel: Enable out of tree compilaton" into audio-kernel.lnx.5.10 2020-12-20 23:03:21 -08:00
Linux Build Service Account
ac919068b7 Merge changes Icfedf122,I5e606404 into audio-kernel.lnx.5.10
* changes:
  soc: swr-mstr-ctrl: Update SWR_TX to receive port params from slave
  soc: swr-mstr: Update port params for TX master runtime
2020-12-18 02:13:08 -08:00
Linux Build Service Account
20f401bc87 Merge "asoc: lpass-cdc: Update compander zone settings for macros" into audio-kernel.lnx.5.10 2020-12-18 01:33:52 -08:00
Laxminath Kasam
6a7bb13614 soc: swr-mstr-ctrl: Update SWR_TX to receive port params from slave
Update swr_tx slave port config to use slave provided port params
and remove slave port static tables.

Change-Id: Icfedf1229a88432e80c2294e13f2ccc3949417c5
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-12-18 14:40:06 +05:30
Laxminath Kasam
9526176960 asoc: wsa883x: Update comp offset code via mixer ctl
Update mixer ctl to control comp offset code.

Change-Id: I7d9611067e5abff898e9d7a4628c8f3987dc3fa9
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-12-18 14:06:47 +05:30
Laxminath Kasam
96d934a968 asoc: lpass-cdc: Update compander zone settings for macros
Update compander settings table to calculate based on
upper gain and lower gain.

Change-Id: Ib423f3c14c900c0df03bc8fcab2df0f62fb614f1
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-12-18 12:42:11 +05:30
Jyotirmoi Sarma
6b78aacd7f audio-kernel: Enable out of tree compilaton
Add Makefile in each sub-folder
Add Android.mk file on top level folder of audio-kernel

Change-Id: I024aa5080ae52b55700f0a65ab05034be8c9cdad
Signed-off-by: Jyotirmoi Sarma <jyosarma@codeaurora.org>
2020-12-17 18:05:48 +05:30
Vatsal Bucha
1469dc6bf6 ASoC: wcd938x: Enable micbias in pull up mode for VA AMIC
VA AMIC requires micbias to be enabled in pullup
mode. Pullup mode for micbias is required for SVA usecase.

Change-Id: Ied71147bc813cee2ad95b0c8b342788b9c0ba10b
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-12-16 21:07:13 -08:00
Linux Build Service Account
3afba9c7ee Merge "asoc: lpass-cdc: Prefix lpass-cdc for macro dlkms" into audio-kernel.lnx.5.10 2020-12-16 05:01:33 -08:00
Linux Build Service Account
522cf3c6ee Merge "audio-kernel: asoc : Upgrade asoc to support 5.10 kernel" into audio-kernel.lnx.5.10 2020-12-16 01:24:02 -08:00
Laxminath Kasam
2892f1cce7 asoc: lpass-cdc: Prefix lpass-cdc for macro dlkms
To differentiate ko names from older folder, prefix
lpass-cdc to macro dlkms.

Change-Id: I5d977c3aa4ff66b66a62c1294f45e0cc84dd4c38
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-12-16 14:29:38 +05:30
Linux Build Service Account
760d499280 Merge "asoc: lpass-cdc: Add new driver for lpass-cdc wsa2 macro" into audio-kernel.lnx.5.10 2020-12-11 04:54:01 -08:00
Sudheer Papothi
34c62909f4 ASoC: codecs: Add support for new audio clocks
Add support for new audio clocks for audio playback and capture.

Change-Id: I9c07700a8060717fa9213b8536efb5780c9936bb
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-12-11 05:55:39 +05:30
Laxminath Kasam
f5ea229fb5 asoc: lpass-cdc: Add new driver for lpass-cdc wsa2 macro
Add driver support for wsa2 macro.

Change-Id: Ieca032b538cb2a8ac1345df1f1972e3c5689a5d8
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-12-10 19:12:23 +05:30
Sudheer Papothi
f067509538 asoc: codecs: Add support for thermal coolong device in wsa
Add support for thermal cooling device in wsa macro to
set and reset the codec attenuation in 0C use cases.

Change-Id: Id00a3cd5666da906588a75961552ea07e24e1434
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-12-09 12:16:22 +05:30
Jyotirmoi Sarma
a3d8911945 audio-kernel: asoc : Upgrade asoc to support 5.10 kernel
Change-Id: Ia54112cfbde418d66b9314d4ba731928aa057558
Signed-off-by: Jyotirmoi Sarma <jyosarma@codeaurora.org>
2020-12-08 08:49:44 -08:00
Linux Build Service Account
9fc4437cd8 Merge "ASoC: lpass-cdc-clk: Update the clock enable sequence" into audio-kernel.lnx.5.10 2020-12-08 05:09:33 -08:00
Linux Build Service Account
85a3558f3f Merge changes Id4441165,I14e0efe0,I0782c2f8 into audio-kernel.lnx.5.10
* changes:
  asoc: lpass-cdc: Add support for unified compander
  asoc: lpass-cdc: add lpass-cdc v2p5 register updates
  asoc: lpass-cdc: Enable compile lpass-cdc
2020-12-06 22:59:13 -08:00
Sudheer Papothi
e264b147a5 ASoC: lpass-cdc-clk: Update the clock enable sequence
Update the codec clock sequence as per the hardware recommendation
to enable the codec clockes on the latest codec version.

Change-Id: I1869d2b28c9aa79979f1aa3c85ca805cea3ef33b
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-12-06 22:03:23 -08:00
Sudheer Papothi
8e500743e5 ASoC: codec: Update clock configurations to support different codec clocks
Update codec clock configurations to support different codec clocks.

Change-Id: I0ec41a337dbe955da6d93c3f2c31f381aea123eb
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-12-06 21:41:02 -08:00
Laxminath Kasam
ab521cd5c8 asoc: lpass-cdc: Add support for unified compander
On lpass-cdc 2.5 support unified compander. Update macros
to align to this feature.

Change-Id: Id444116511db48e8f20948ed7fc4af4fca87b8e4
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-12-04 04:38:28 -08:00
Laxminath Kasam
eca32d433e asoc: lpass-cdc: add lpass-cdc v2p5 register updates
Update lpass-cdc version 2p5 registers update and remove old
version tables.

Change-Id: I14e0efe09e3ff5ded49b91e2e226558ae444bc0f
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-12-04 04:38:07 -08:00
Laxminath Kasam
9e61f25f98 asoc: lpass-cdc: Enable compile lpass-cdc
Update lpass-cdc to compile on 5.10 kernel

Change-Id: I0782c2f80531aa798794a8a4140a0b77bca7c9b1
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-12-04 04:37:52 -08:00
Sudheer Papothi
e3ab630202 ASoC: Add driver support for lpass digital codec
Add driver support to enable lpass digital codec for
audio playback and capture usecases.

Change-Id: I3d31d31f340db79334700e8fd495f40479e0ec6c
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-12-04 04:36:46 -08:00
Phani Kumar Uppalapati
b15db3b6c8 Merge commit 'd9fa9d435ba1b92cf0f0361a0749107b7abc45a5' into audio-kernel-5-4.lnx.1.0
Change-Id: Iaf98532030ee4ef5fe6a70df083a685733dd5670
2020-11-05 19:15:07 -08:00
Linux Build Service Account
8c6f982167 Merge "asoc : Fix for 384k clips on headphones" into audio-kernel-5-4.lnx.1.0 2020-10-29 15:40:22 -07:00
Linux Build Service Account
d9fa9d435b Merge changes I78da6dad,I6e445618,I67795bf0 into audio-drivers.lnx.5.0.r1-rel
* changes:
  ASoC: bolero: Update clock sequence to clear Fs counter
  asoc: va-macro: Update clk_div switch based on decimation rate.
  soc: add check condition before enabling irq.
2020-10-23 17:39:07 -07:00
Ashwini Muduganti
9f11335e69 ASoC: bolero: Update clock sequence to clear Fs counter
Update codec clock sequence to clear Fs counter to avoid
unexpected behavior during bootup.

Change-Id: I78da6dadd26989cf1f39f71b941a209c2af4cef2
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-10-23 11:04:24 -07:00
Ashwini Muduganti
dfe6739490 asoc: va-macro: Update clk_div switch based on decimation rate.
Update clk_div setting for low power decimations based on
decimation rate instead of lpi flag.

Change-Id: I6e445618af4bf159f3d88a7bc5d07a403a06c1ab
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-10-23 11:04:15 -07:00
Laxminath Kasam
83d1640b7b asoc: bolero: Add core_vote before gfmux access
GFMUX access happen during RX macro usecase.
Update rx macro to do core_vote before clock
request.

Change-Id: I1afd38ae13066dcfbda307308afce7c4291142d9
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-10-23 15:38:32 +05:30
Linux Build Service Account
73a3066e99 Merge "ASoC: sdxlemur: Add support for new target compilation" into audio-kernel-5-4.lnx.1.0 2020-10-20 23:13:16 -07:00
Aditya Mohan
8301940a18 asoc : Fix for 384k clips on headphones
hw_refine failing for clips of sample rate
384000 as codec is configured to support 192000
sample rate as max. Due to this playback is not
happpening over headphones.

Change the max to 384000.

Change-Id: I2f9cad3bc708f3e4cc8cd38eb2ef2a98ec640f57
2020-10-15 10:40:08 +05:30
Laxminath Kasam
e0ea9653c3 asoc: bolero: control wakeup of swr_tx during clock setup
Move the enable and disable of wakeup capability of
swr_tx gpios to clock setup to disable or enable it
in all required usecases.

Change-Id: I9fb76926d8520c382e7f19777190357c50f98994
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-10-14 12:55:12 +05:30
qctecmdr
1f152bcd76 Merge "asoc: codecs: add sem initialize for blocking notifier." 2020-10-12 10:10:29 -07:00
qctecmdr
ef3408efeb Merge "soc: Add ratelimit to supress the pr_err/dev_err." 2020-10-12 10:10:29 -07:00
Asish Bhattacharya
a9e1270b31 ASoC: sdxlemur: Add support for new target compilation
Add support for sdxlemur

Change-Id: I2338fd4df56e4f2c9f0c5f233e7e41aba4f37045
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
2020-10-08 18:57:50 +05:30
Meng Wang
dfa3df69ae asoc: bolero: update logic for va clk switch on bolero 2.1
On bolero 2.1, SVA switch is not retain at VA_CLK
when switch between handset and headset mic sva.
Update the clock release logic during swr power event.

Change-Id: I62b492dcbff4b4f3249d1a6b3b792690b5b5c27c
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-10-07 22:53:24 +05:30
Prasad Kumpatla
0538f8320d asoc: codecs: add sem initialize for blocking notifier.
add semaphore initialize for the notifier before the blocking
notifier.

Change-Id: I20a919215fdc0da1830368070063fbe2b8fc5f62
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-10-07 07:01:45 -07:00
qctecmdr
3da951c1fe Merge "ASoC: bolero: Make tx swr gpio as wakeup capable" 2020-10-07 01:58:57 -07:00
qctecmdr
ddba57b58c Merge "asoc: wcd938x: move 500ms after dev_up sets to true" 2020-10-07 01:58:57 -07:00
Prasad Kumpatla
a07613afcd soc: Add ratelimit to supress the pr_err/dev_err.
Add ratelimit to supress the logs flooding at the
time of SSR.In all places defined ratelimit as,
in 1sec one debug msg prints.

Change-Id: I6dfe140848e5cecb1b311c432f8311cdf0615a58
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2020-10-07 10:21:42 +05:30
Meng Wang
62cbd21506 asoc: wcd938x: move 500ms after dev_up sets to true
Trigger SSR during headset recording may cause recording
mute after SSR. Before dev_up is set to true, micbias
enablement for headset detection will return error and micbias
enabled for recording return true. After headset is done,
micbias is disabled. Move 500ms after dev_up to the end to
resolve this issue.

Change-Id: I7b9e094321997d64c96cf0e86a4f447d97b5fdb6
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-10-02 10:29:11 -07:00
Vignesh Kulothungan
dbbb97ce5e ASoC: codecs: add null check before use
Add null check for wcd938x component and wcd938x_priv
before use.
Add array bounds check for slave channel index before
accessing the array.

Change-Id: Ida6b2044f5f9b9a65f4b45d868040af8bd2116eb
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-09-30 11:54:35 -07:00
Vidyakumar Athota
88c1c0288c Merge commit '1a7cee75ba63d6cce68924591b125d604bef39f5' into audio-kernel-5-4.lnx.1.0
Change-Id: Ie4363b4d1be12c7fd85e261bf728462009d8a2cf
2020-09-30 10:01:03 -07:00
Vatsal Bucha
ffd65896dd ASoC: bolero: Make tx swr gpio as wakeup capable
Do not register afe event listener for shima and make
tx swr gpio as wakeup capable.

Change-Id: I4d805c2b65e6c424c1c215431caa75f6181a16e8
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-09-29 14:29:49 +05:30
qctecmdr
69fffecae6 Merge "ASoC: wcd938x: clear digital CDC analog CLK bit 0x08" 2020-09-27 03:10:55 -07:00
qctecmdr
0773e4d1f7 Merge "Revert "ASoC: codecs: handle device disconnect during SSR"" 2020-09-27 03:10:54 -07:00
qctecmdr
a399898f89 Merge "Revert "ASoC: mbhc: Call impedance detection routine before get imped"" 2020-09-23 22:09:43 -07:00
qctecmdr
7985106651 Merge "ASoC: swr-dmic: fix kw error in dmic_swr_ctrl" 2020-09-23 22:09:43 -07:00
Meng Wang
8037d89628 asoc: swr-dmic: select correct port type for swr-dmic
When same swr dmic is first enabled as HIFI, secondly as LP
and closed HIFI, it would disable LP port by mistake. Update
the logic to select correct port for swr-dmic.

Change-Id: I5d4d1461d8cd7db7bc7f37fc91ee1c9324413980
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-09-22 16:10:42 +08:00