Commit Graph

17 次程式碼提交

作者 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
Phani Kumar Uppalapati
7e30073003 asoc: kalama: add boolean flag for adding swr haptics dai-links
Change-Id: I460aa6baa015b79fd6b74bb8ac8827a5b82d34ea
2022-07-08 11:00:02 -07:00
qctecmdr
f3752c324e Merge "asoc: kalama: add wcd_disabled check in late_probe" 2022-05-16 17:12:48 -07:00
Vangala, Amarnath
9a5deb8cc6 asoc: codecs: support for cps soundwire port
Implement backend for CPS soundwire port in Bolero.

Change-Id: Ibbd38d067e46be1a71723de04a83bc83f0ec2925
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2022-05-12 21:38:25 +05:30
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
Phani Kumar Uppalapati
dbc14a1d20 ASoC: kalama: Add support for WSA883X speaker amp
Add support for WSA883X speaker amp on kalama platform.

Change-Id: I922b5aeaf264ae9b430f20e83ec99e3ced509dcc
2022-04-16 09:03:18 -07:00
Shazmaan Ali
a20e11e0c3 asoc: codecs: Replace dev_err/info with ratelimit prints
replace all dev(pr)_err/info logs
that could potentially flood kernel logs with
ratelimit functions dev_err_ratelimited and
dev_info_ratelimited

Change-Id: I32dc6002dead1a07622978c4de63d541c01982fd
Signed-off-by: Shazmaan Ali <quic_shazmaan@quicinc.com>
2022-04-13 12:43:20 -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
Srijan Magapu
4a4b666ba0 audio-kernel: I2S/TDM backend dai-links
Add support for I2S/TDM backend dai-links for Kalama target

Change-Id: I0504a030afc534207d2d40ba6fd7fcebb2bb40f1
2022-03-24 22:15:51 -07:00
Matthew Rice
dd886964e0 asoc: Fix PBR SWR port config
Update HSTOP from 0 to 8 to match configuration.
Also fix slave ch en from 2 ch to 1 ch.
This fix resolves port collision/bus clash issues.

Change-Id: I91c6fe80a9db88d029e4ef81c7a06480a767b170
Signed-off-by: Matthew Rice <quic_mrice@quicinc.com>
2022-02-28 08:36:55 -08:00
Matthew Rice
311264875e asoc: codecs: Change WSA config params acquisition
Update WSA rload, system gain, bat_cfg to get from wsa_macro device tree.
WSA Bat_cfg change to read from VPHX_SYS_EN_STATUS reg.
Add device tree parsing for these params in WSA macro
and WSA driver.
Remove machine driver method of sending the parameters.
Add default_dev_mode (spkr vs rcv) from device tree for WSA.
Move code from spkr event to userspace controls or probe.
Change system_gain and affected params when switching between
dev_modes.
These changes simplify configuration data and code and allow
more registers to be written during bootup or before playback.

Change-Id: I79966c704adfac1bf2d85aa6519ea574764c7a8b
Signed-off-by: Matthew Rice <quic_mrice@quicinc.com>
2022-01-20 21:29:37 -08:00
Junkai Cai
6086cb0692 asoc: skip audio-routing and late probe with stub soundcard
audio-rounting widgets are not expected to be defined when
it is using stub soundcard in RUMI validation.

Late probe is for WCD MBHC, which is also not enabled in the
RUMI validation.

Change-Id: Ibae76ef298aaa6db25eaef3d390fe885f8a06ad7
Signed-off-by: Junkai Cai <quic_junkai@quicinc.com>
2022-01-20 13:07:19 -08:00
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
Matthew Rice
a0a83d7e42 asoc: Update SWR Port Types for Kalama chipset
Add PBR, CPS port types and port parameters for WSA
Update RX and TX port types to include full list of ports

Change-Id: I5b69ee777addebcf4167dccd4ce4ab0af31b754d
Signed-off-by: Matthew Rice <quic_mrice@quicinc.com>
2021-12-09 08:54:57 -08:00
Matthew Rice
ce3f8d5504 asoc: kalama: Fix wsa configuration parameters
Previous parameters are not valid.

Change-Id: I08cfabaa4732d6eac47ea31dfff82343eeedf902
Signed-off-by: Matthew Rice <quic_mrice@quicinc.com>
2021-11-24 11:23:15 -08:00
Matthew Rice
1b69ddf3c3 asoc: Replace wsa883x with wsa884x in machine driver
Add bat_cfg, system_gain, and rload parameters to properly configure wsa884x

Change-Id: Ibb4de17a9935f178293bc17314784ff87a978815
Signed-off-by: Matthew Rice <mrice@quicinc.com>
2021-11-09 15:33:09 -08:00
Junkai Cai
9e6c568c5d asoc: Add machine driver for kalama target
Add a new machine driver file for kalama target

Change-Id: Id0087e3b4ce9c39398853d5cfa2318756f75c007
Signed-off-by: Junkai Cai <junkai@quicinc.com>
2021-10-28 16:51:34 -07:00