Граф коммитов

25 Коммитов

Автор SHA1 Сообщение Дата
Ganapathiraju Sarath Varma
c5bab7cb06 asoc: pineapple: Get swr device num baced on wcd and wsa variant.
add support to get swr device num for wsa883x and
wsa884x based on the variant used.

Change-Id: Ib0a25a0692d968a3ae9a45c2a4754de8eef325ce
signed-off-by: sarath varma ganapahiraju <quic_ganavarm@quicinc.com>
2022-11-21 01:29:27 -08:00
Prasad Kumpatla
17130d8e4b asoc: kalama: add wcd_disabled check in late_probe
Add wcd_disabled check in late_probe to avoid checking
wcd component when WCD is disabled.

Change-Id: I0de73a09f1bdfffac1412a4c1f8f8ec5e64e4c4b
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2022-05-05 00:01:10 -07:00
Annemarie Porter
bb89ad1722 asoc: Add dummy PCM backend
Add dummy PCM backend definition for virtual devices.
This is being added to support echo reference capture.

Change-Id: I7830f9adf963397d06b837add3f9e1c0fe31563c
2022-04-01 07:37:47 +05:30
Srinivas Marka
86f969d03d asoc: add pm qos mixer controls
When device enters LPM, it hurts audio latency as
CPU spends more time in entering/exiting LPM.
Hence, for LL and/or ULL, LPM is disabled.
Add pm qos mixer controls for cpu affinity and
increase the delay for the cores to enter LPM mode.

Change-Id: I3aa2d17f6b3ec3ffad180205085bd2f4961858b7
Signed-off-by: Srinivas Marka <quic_smarka@quicinc.com>
2022-01-13 19:23:47 +05:30
Ganapathiraju Sarath Varma
01f04acb1d asoc: waipio: Initialize rtd value's before calling it.
Initialize the rtd values's to NULL while defining them.

Change-Id: I7404a0338f23736aa5b619454835f05cc09a5c2b
Signed-off-by: sarath varma ganapathiraju <ganavarm@codeaurora.org>
2021-09-23 15:48:04 +05:30
Zhou Song
49f8dbd278 asoc: waipio: Parse and Set reg info for UPD.
Parsing the reg info from devicetree and pack
the reg values to enabl/disable EAR PA and
send to dsp.

Change-Id: I463750c00d592adcea77551259994a2dfb5e4cf9
Signed-off-by: Zhou Song <zhous@codeaurora.org>
2021-09-15 22:25:42 -07:00
Srinivas Marka
c315833fa3 asoc: set card state to online after snd card registration
AGM might get initialized before sound card is populated
with all pcm nodes. This will lead to AGM parsing fewer
nodes and forms incomplete list of backends.

To avoid this, kernel module sets card status to ONLINE,
and AGM waits till the card status is ONLINE before parsing
for the pcm nodes.

Change-Id: I4b7f7085645706ba4351efe23ba048d3a177312c
Signed-off-by: Srinivas Marka <smarka@codeaurora.org>
2021-09-06 09:35:23 -07:00
Rohit kumar
a9873e4b9d asoc: Add virtual node for WSA RX0
Change-Id: I49a300ab37610c325178517147189d96422297af
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
2021-08-20 01:26:26 -07:00
Prasad Kumpatla
a40c1bebd9 asoc: msm_common: clock handling for tdm interface
Observed pop noise on TDM SPK AMP in the disable sequence. To resolve
the pop noise, TDM clock should be turned OFF after digital mute ,which is done
in machine driver for the disable sequence.

Change-Id: I9c8b5ef820cd8ec1e9a7d022e1938d53e2f401a1
Signed-off-by: Prasad Kumpatla <pkumpatl@codeaurora.org>
2021-07-19 15:26:42 +05:30
Junkai Cai
6b298688f8 asoc: update soc component for soundcard info and irq
NULL component is incorrectly used to create codec entry
and to register wake irqs, which causes issues including MBHC detection.

Change-Id: I2df5bef3b739637c41b9653458161e3facf89dd2
Signed-off-by: Junkai Cai <junkai@codeaurora.org>
2021-05-13 01:29:44 -07:00
Meng Wang
5c96dd01a1 Revert "asoc: disable pm qos voting in machine driver"
This reverts commit b81a91d450.

Change-Id: I98a7adc941f626bd467c6ecf7cf1120f1b9d0a33
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2021-05-12 10:50:58 -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
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
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
Linux Build Service Account
abe9637cc4 Merge "audio-kernel: Enable hdmi codec driver for taro" 2021-03-29 19:06:04 -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
Revathi Uddaraju
9d0e5be6b5 asoc: Add support for sysfs based SSR
Create sysfs node for SSR.

Change-Id: Ia181a51ae969632b739676b4b95e2bf0f50ce432
2021-02-22 01:57:49 -08:00
Phani Kumar Uppalapati
b81a91d450 asoc: disable pm qos voting in machine driver
Disable pm qos voting for audio threads in machine
driver.

Change-Id: I80310f65269a6fab2a97834bbed3f38d7e8182eb
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2021-02-22 00:45:03 -08:00
Vignesh Kulothungan
62e889a1ef ASoC: Update wsa and rx_tx init functions
Update dai link init functions of wsa and rx_tx codecs.
Update late probe function to use backend name to search for
pcm runtime.

Change-Id: Ia082ac233e61a28e76600977a024821689f8a218
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2021-02-21 20:44:42 -08:00
Vignesh Kulothungan
a3f4d551e2 ASoC: Add support for mi2s and tdm interfaces
Added dai link component definitions and dai links for mi2s/tdm
interfaces from primary to senary.

Change-Id: I7ea414e10180acce510375c671570b5a2062a9bd
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2021-01-21 11:31:55 -08:00
Sudheer Papothi
d9f356cb0a ASoC: waipio: Add dai links to enable speaker playback
Add dai link to enable speaker playback on four smart speaker amplifiers.

Change-Id: Ie8c875ba0724a80e61f1a1f21d615a3f2fcfbe5a
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2021-01-14 07:02:09 +05:30
Sudheer Papothi
78e6d7ec4b ASoC: lpass-cdc: Update digital codec driver name
Update LPASS digital codec driver name for proper enumeration.

Change-Id: Ied6a3697a5e47c0695b6339ec7b4b4561ef6ccbd
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2021-01-13 04:22:40 +05:30
Jyotirmoi Sarma
82cbe0a14f asoc: Changes to support lpass-cdc on machine driver
Add lpass-cdc APIs to replace bolero

Change-Id: I9d4a78d5fdae074c649580326d14b4241bdb3417
Signed-off-by: Jyotirmoi Sarma <jyosarma@codeaurora.org>
2020-12-17 04:39:24 -08:00
Jyotirmoi Sarma
884588750a asoc: Add machine driver for waipio target
Add a new machine driver file for waipio target

Change-Id: I0233dfdbf15b98b85d725f4dec823e52bfc6bff9
Signed-off-by: Jyotirmoi Sarma <jyosarma@codeaurora.org>
2020-12-14 17:03:27 +05:30