커밋 그래프

3564 커밋

작성자 SHA1 메시지 날짜
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
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
21ca8c1abd Merge changes Idc161055,Iedadde5a,Ibfd342d9 into audio-kernel.lnx.5.10
* changes:
  soc: swr-mstr-ctrl: Update multi_EE setting for clock_stop
  soc: soundwire: Update auto enum value from HW
  soc: swr-mstr: Update default val of comp_cfg
2020-12-06 22:59:14 -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
Laxminath Kasam
2489ca529c soc: swr-mstr-ctrl: Update multi_EE setting for clock_stop
Update link_manager and multi_EE clock stop settings
during master_init and clock stop wakeup.

Change-Id: Idc1610551304209c2688486b1061452ee4e2e46a
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-12-03 22:57:08 -08:00
Laxminath Kasam
98799c5e2f soc: soundwire: Update auto enum value from HW
remove macro for supported auto_enum slaves and
read from master comp_params. Update num_dev logic
to compare with supported auto enum slaves.

Change-Id: Iedadde5a3ee83645c4d8d16e738376e1797fc649
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-12-03 22:56:59 -08:00
Laxminath Kasam
38adb70f3c soc: swr-mstr: Update default val of comp_cfg
for PCM_OUT/IN dataport, update enable bit logic
using default value based on SWR version.

Change-Id: Ibfd342d9046834d074a12003f15e868c5336798c
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-12-03 22:56:31 -08:00
Linux Build Service Account
b3cfeef661 Merge "soc: update port config table to handle sva/voip" into audio-kernel-5-4.lnx.1.0 2020-11-17 20:22:30 -08:00
Vignesh Kulothungan
f694f0c1fd soc: update port config table to handle sva/voip
Update sample interval in 4.8MHZ port config table of soundwire
digital mic slave and TX1 soundwire master port.
Update the block offset of soundwire digital mics 0 and 3 to handle
voip/sva dmic concurrency in both handset and speaker mode.

Change-Id: I85480c3609a72d4be3c4643b0123f09d71b97fef
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-11-08 21:22:21 -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
Ashwini Muduganti
7c9ef4221e soc: add check condition before enabling irq.
Enable interrupt request only when the interrupt is
in disabled state.

Change-Id: I67795bf0ee344661e02b0fec3181cd7980d56652
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-10-23 11:04:00 -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
ddeac0d77f Merge 19df8856be on remote branch
Change-Id: I32ad940827f96569a1f1fcc3d43d9e48caa85433
2020-10-22 09:56:16 -07:00
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
Ashwini Muduganti
4fc789273f Revert "soc: Add ratelimit to supress the pr_err/dev_err"
This reverts commit 51cbf9ddff.

Change-Id: Ia582005c879263e1c12ea922f0bc07d1de197e0b
2020-10-20 21:04:39 -07:00
qctecmdr
19df8856be Merge "asoc: Fix LSM2 mixer control array" 2020-10-19 21:44:04 -07:00
qctecmdr
6e98db9bf4 Merge "asoc: routing: remove unnecessary routing for TDM_TX" 2020-10-19 21:44:04 -07:00
qctecmdr
09d2850b3a Merge "asoc: holi: use new pm_qos API" 2020-10-19 21:44:04 -07:00
qctecmdr
e2c4330a48 Merge "q6afe: add support for lc3 codec playback" 2020-10-19 21:44:03 -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
Aditya Bavanari
5712083a09 asoc: Fix LSM2 mixer control array
LSM2 mixer control mapping for VA_CDC_DMA_TX_0
was added in MI2S controls. Move it out to
fix the concurrency issues seen in SVA.

Change-Id: I1e375b2ea86755b935f3d706d2955ad4aa6ef42f
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2020-10-13 11:59:49 +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
qctecmdr
7990d81f20 Merge "ASoC: msm: update quin tdm slot for single lane" 2020-10-12 10:10:29 -07:00
Manisha Agarwal
da866c30a6 q6afe: add support for lc3 codec playback
Add support for lc3 codec playback.

Change-Id: I96ee7bb869c89c71bf8ee986529bf8575efd4b5b
Signed-off-by: Manisha Agarwal <maniagar@codeaurora.org>
2020-10-12 21:39:47 +05:30
qctecmdr
7f2fb6f8ee Merge "dsp: update cal data lock when deregister cvp calibration" 2020-10-12 08:55:34 -07:00
qctecmdr
3da75fbefe Merge "asoc: Add 32bit support in meta i2s" 2020-10-12 08:55:34 -07:00
Meng Wang
a34f3576dc asoc: routing: remove unnecessary routing for TDM_TX
Remove unnecessary routing for TDM_TX to reduce error
log during bootup.

Change-Id: I1e8c9e2caccd77405a82696c86c4cf2ed29c3ce6
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-10-12 15:42:06 +08:00
Prasad Kumpatla
51cbf9ddff 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-09 10:55:26 -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
Ritu Sharma
2922723c6f ipc: Remove adsp/modem up check in gpr_send_pkt
During SSR up, gpr-lite tries to register with audio_notifier during
gpr_probe, audio_notifier needs notifier_mutex during registration,
this mutex can also be held by audio_notifer callback. In some corner
cases, it was never getting unlocked from audio_notifier_callback,
because clk_enable/disable calls will call gpr_send_pkt, but as ADSP up
command is still not received by gpr-lite, it was returning back that
command with error code -ENETRESET. This creates a deadlock situation,
to avoid such corner cases, remove check from gpr_send_pkt. GPR clients
can ensure apm is up before sending the data.

Change-Id: I8893cc33de30883f17da2e4a11a036bcdfb69780
Signed-off-by: Ritu Sharma <ritushar@codeaurora.org>
2020-10-08 18:41:12 +05:30
Linux Build Service Account
51e80f180a Merge ab02a0d9c1 on remote branch
Change-Id: Iead80efbe86dda699575a57d054f157faf996eeb
2020-10-08 05:34:40 -07:00
Vangala, Amarnath
aba0be655a asoc: holi: use new pm_qos API
This change ensure all concurrent low latency/
 ultra low latency use cases run on core 1 and 2.

Change-Id: I187787ea609768bbfb6098a844dab4ebef611a9c
2020-10-08 14:00:47 +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
ab02a0d9c1 Merge "dsp: Add param header size based on the instance id support" 2020-10-07 01:58:57 -07:00
qctecmdr
3da951c1fe Merge "ASoC: bolero: Make tx swr gpio as wakeup capable" 2020-10-07 01:58:57 -07:00
qctecmdr
80e8add847 Merge "asoc: msm: add routing rules for QUIN_AUX_PCM" 2020-10-07 01:58:57 -07:00