Commit graph

3,190 commits

Author SHA1 Message Date
qctecmdr
bdda8db410 Merge "dsp: Add support for GET_PARAMS" 2020-08-11 05:57:23 -07:00
qctecmdr
d135c72b0b Merge "asoc: lahaina: use new pm_qos API to let audio ULL run on core 1 and 2" 2020-08-07 03:46:12 -07:00
qctecmdr
53ad10c501 Merge "asoc: lahaina: update log type to reduce log" 2020-08-07 03:46:12 -07:00
qctecmdr
a1cb6b5d86 Merge "asoc: routing: add missed widget connection" 2020-08-07 03:46:12 -07:00
qctecmdr
e97057aed1 Merge "asoc: add missed name for codec dma dais" 2020-08-07 03:46:12 -07:00
qctecmdr
07f045f49b Merge "asoc: add fe-dai multimedia31/32/33/34 and routing rules" 2020-08-07 03:46:12 -07:00
qctecmdr
de3c9d719e Merge "soc: swr-mstr: Fix random headset detection issue on scuba" 2020-08-07 03:46:12 -07:00
qctecmdr
70b35a5320 Merge "asoc: wcd937x: Add support to clear ack registers" 2020-08-07 03:46:12 -07:00
qctecmdr
cc39746bbd Merge "asoc: use the correct APR header structure for PSPD set params" 2020-08-07 03:46:12 -07:00
qctecmdr
5fbd9fb16f Merge "asoc: lahaina: add flag to indicate if wcd is disabled" 2020-08-05 09:48:33 -07:00
qctecmdr
759cdeeb90 Merge "ASOC: audio machine driver bringup" 2020-08-05 09:48:33 -07:00
qctecmdr
8b28c314d0 Merge "ASoC: wsa883x: Update register sequence to reduce CnP" 2020-08-05 09:48:32 -07:00
qctecmdr
3238629396 Merge "ASoC: swr-dmic: Update soundwire mic probe sequence" 2020-08-05 09:48:32 -07:00
George Gao
bb5c832e51 asoc: lahaina: use new pm_qos API to let audio ULL run on core 1 and 2
The sound core driver used old pm_qos APIs which does not have CPU afinity mask.
As a result, ULL playback runs on all cpu cores.
This change uses new API call with affinity to core-1/2.

Change-Id: If59b6f32a421038c0f89611d160e4031e03a10ce
Signed-off-by: George Gao <georgao@codeaurora.org>
2020-08-05 01:35:25 -07:00
Harshal Ahire
2fdf19ac8e dsp: Add support for GET_PARAMS
Add support to query module parameters from ADSP.

Change-Id: Ie63dd95cf27277f9c836becc98952d48971a3ec3
Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
2020-08-04 21:03:04 +05:30
Vangala, Amarnath
60eaa6b160 asoc: wcd937x: Add support to clear ack registers
WCD937x codec requires clear registers to be written '1' and
'0' for clearing interrupts. Enable clear_ack flag in regmap
irq chip structure for wcd937x.

Change-Id: I0a2e4fc85fe6dca75885b5300840669afeabc80c
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-08-04 16:14:51 +05:30
Guodong Hu
84e0e29f39 asoc: add fe-dai multimedia31/32/33/34 and routing rules
Add more FE-DAI to support concurrent audio for
lxc host and containers.

Change-Id: I8988a9e15675b23a99621db12ee9a4b500c4a12b
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2020-08-03 21:45:43 -07:00
Vatsal Bucha
d4b25f9f73 soc: swr-mstr: Fix random headset detection issue on scuba
When headset is inserted and reboot device sometimes
headset is not detected after reboot as host_irq from
swr slave gets masked. This is because of cmd error seen
after clearing all irq which results in fifo flush.
Read swrslave irq before clearing so as to resolve cmd error.
Also enable host irq after clearing enum interrupt at master.
This ensures irq is properly enabled.

Change-Id: Id66029c65c4d813391bfeb8c0c619560f298eeab
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-08-04 07:50:37 +05:30
Meng Wang
d2e050bfc0 asoc: routing: add missed widget connection
Add missed frontend for QUIN_TDM_RX_1 and MultiMedia30
to reduce error log during bootup.

Change-Id: Ibe675df1b719dda3fd940cf0fd392018f9a99e63
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-08-03 15:31:13 +08:00
qctecmdr
d6f802b1cb Merge "asoc: wsa881x: correction to codec name." 2020-07-31 03:41:23 -07:00
qctecmdr
6d8a12d43b Merge "asoc: wcd937x: add dummy widgets to codec input and outputs" 2020-07-31 03:41:23 -07:00
qctecmdr
1fdec48b8b Merge "asoc: machine driver updates from lahaina to holi." 2020-07-31 03:41:23 -07:00
qctecmdr
be469faa06 Merge "asoc: holi: disable wsa macro" 2020-07-31 03:41:23 -07:00
Meng Wang
f018ce04f6 asoc: lahaina: update log type to reduce log
Update log type to reduce error log during bootup.

Change-Id: I9e95ea8d121f7dbf15d5c02268d7f8dc67d840e0
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-07-31 10:47:28 +08:00
Meng Wang
7cf70c060c asoc: add missed name for codec dma dais
Add missed name for codec dma dais to reduce warning
log during bootup.

Change-Id: Ie95100a359fa992d323e68b98e3f76b202846337
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-07-31 10:19:20 +08:00
qctecmdr
5f61bf8378 Merge "ASoC: add null check for component prefix" 2020-07-30 01:29:54 -07:00
qctecmdr
4e91300a68 Merge "dsp: add support for CMA heap allocation during call" 2020-07-30 01:29:53 -07:00
qctecmdr
d0dcd129ba Merge "asoc: wcd938x: reverse datapath_control and connect_port for teardown" 2020-07-30 01:29:53 -07:00
Meng Wang
7f0ed8f900 asoc: lahaina: add flag to indicate if wcd is disabled
On some lahaina devices, wcd codec is disabled and it would cause
issue when trying to use wcd widgets. Add flag to indicate if wcd
is disabled

Change-Id: Id19d0bd83728b10b457767f7d43cba8dac916772
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-07-30 08:11:58 +08:00
Xiaoyu Ye
7f362c71b1 asoc: use the correct APR header structure for PSPD set params
Fucntion msm_qti_pp_send_chmix_cfg_cmd() uses the param_hdr_v3
as the APR header structure for PSPD MtMx set params command.
This structure is the incorrect one which causes ADSP to parse
the PSDP set params payload wrongly and results failure for
non-LPI headset SVA. Use param_hdr_v1 instead to match the
one that ADSP uses to parse the PSPD set params payload.

Change-Id: Icc1d0b50193ab28e33007ca474eeebcb61e4d634
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2020-07-29 02:29:48 -07:00
Sudheer Papothi
ea214d5c91 ASoC: wsa883x: Update register sequence to reduce CnP
Update register sequence of WSA883x codec to reduce CnP
during bringup and teardown of speaker path.

Change-Id: I348a55e1324b5c26a36b8d7c78edf52a66e40381
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-07-28 23:10:01 -07:00
qctecmdr
1b6c22837e Merge "ASoC: Add port params for shima" 2020-07-28 22:40:06 -07:00
qctecmdr
f887c3029e Merge "ASoC: va-macro: Do not register for event listener for shima" 2020-07-28 22:40:06 -07:00
qctecmdr
18eded0d2f Merge "soc: swr-mstr: Avoid overflow during swr fifo read/write" 2020-07-28 22:40:06 -07:00
qctecmdr
8a4d49de4c Merge "ASoC: rouleur: Update hph registers based on foundry id" 2020-07-28 22:40:06 -07:00
Vangala, Amarnath
03d0a8e7f2 asoc: holi: disable wsa macro
Remove compilation flag for wsa macro for holi.

Change-Id: I54d3a7414bb2fd86af15b7028773447b9a0373d7
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-07-28 18:39:36 +05:30
Vangala, Amarnath
8b88a0f8a8 asoc: wsa881x: correction to codec name.
Minor correction to the codec name.

Change-Id: I6007ac716e12ec2fc2e66d805ced8f77529174dd
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-07-28 18:35:48 +05:30
Vangala, Amarnath
83efb2ee63 asoc: wcd937x: add dummy widgets to codec input and outputs
With multicodec approach, codec widgets are added much earlier during sound
card registration than aux codec approach. The connections between bolero and wcd938x
are done via device tree at a later point. DAPM does power checkup for codec widgets
before the codec-codec path is connected. This results in wcd937x dapm inputs/output
to be considered as endpoints, which results in playback/record failure once after
bootup. Hence, add dummy output/input widgets to wcd937x dapm inputs/output which are not
codec endpoints.

Change-Id: I8589f9a33261531eaad74e8f12ef1825fa90a014
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-07-28 18:26:56 +05:30
Vangala, Amarnath
7901d6f802 asoc: machine driver updates from lahaina to holi.
Add disable flag for WCD.
Update DAI link for WSA.

Change-Id: I6d4f3375ec1c1a650338feed67d41d616e5375e7
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
2020-07-28 18:17:18 +05:30
Meng Wang
94bb2f8fb6 asoc: wcd938x: reverse datapath_control and connect_port for teardown
swr_slvdev_datapath_control should be called after
wcd938x_tx_connect_port to cleanup disconnected ports.

Change-Id: I53e6e9140ed0be5a0a0704358e3e7f600ab62863
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-07-28 09:36:55 +08:00
qctecmdr
ca5e93ad66 Merge "asoc: machine driver and bring up changes for holi." 2020-07-27 05:45:14 -07:00
qctecmdr
cb97be6e28 Merge "asoc: lahaina: remove unnecessary ignore suspend for wsa widgets" 2020-07-27 05:45:11 -07:00
qctecmdr
7a1646e344 Merge "ASoC: codecs: rate limit error msg in hdmi codec" 2020-07-27 05:45:11 -07:00
qctecmdr
b0fed904c1 Merge "ASoC: bolero: Add LPI mode for VoLTE usecase" 2020-07-27 05:45:11 -07:00
qctecmdr
a15eb28837 Merge "ASoC: swr-haptics: Remove disable regulator during system suspend" 2020-07-27 05:45:11 -07:00
qctecmdr
d839e618a0 Merge "adsp-loader: Fix compilation error in adsp loader" 2020-07-27 05:45:11 -07:00
qctecmdr
e20df1da06 Merge "asoc: dsp: Fix possible invalid memory access due to race condition" 2020-07-27 05:45:11 -07:00
qctecmdr
b7285dc596 Merge "ASoC: Add tdm dynamic configuration support" 2020-07-27 05:45:11 -07:00
Fei Tong
8840f67db8 ASOC: audio machine driver bringup
Change-Id: I279cff9648f93bd2a90b11efd6b1a529b3a04430
2020-07-26 21:02:20 -07:00
Kunlei Zhang
d9bf6df220 dsp: add support for CMA heap allocation during call
Add support for CMA heap allocation during call.

Change-Id: I65cd291a9db56bf53d9bb9b4e6c7236da9d7288c
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
2020-07-27 11:53:28 +08:00