Commit graph

988 commits

Author SHA1 Message Date
Linux Build Service Account
516aa8be7c Merge "asoc: wcd937x: Fix pop on headphone playback start" 2018-10-08 23:04:31 -07:00
Linux Build Service Account
6f9a94c8ee Merge "soc: swr-mstr: Avoid handling redundant swr wakeup events" 2018-10-08 23:04:27 -07:00
Linux Build Service Account
38db822619 Merge "ASoC: wcd934x: Avoid soundwire enable when codec is in power collapse" 2018-10-08 23:04:23 -07:00
Linux Build Service Account
0deaed530a Merge "soc: make snd_event stub functions as static inline" 2018-10-07 21:19:49 -07:00
Linux Build Service Account
4073cd77cd Merge "asoc: csra66x0: Fix interrupt in multichannel case" 2018-10-07 21:19:48 -07:00
Linux Build Service Account
72a52601a1 Merge "asoc: codecs: Use sysfs instead of mixer_ctls for EP92 HDMI" 2018-10-07 21:19:47 -07:00
Linux Build Service Account
3bd2246b42 Merge "asoc: wcd937x: update access for wcd937x registers" 2018-10-07 21:19:46 -07:00
Linux Build Service Account
fe905271a8 Merge "dsp: Update AFE driver to support 16 ch" 2018-10-07 21:19:44 -07:00
Linux Build Service Account
82cd1e425e Merge "asoc: add support for Slimbus 9 port" 2018-10-07 21:19:42 -07:00
Ramprasad Katkam
cd61c6ef14 soc: swr-mstr: Avoid handling redundant swr wakeup events
It is sometimes observed that afe could send multiple wakeup
events at a time. Avoid this by handling wakeup event only once
per swr suspend.

Change-Id: Ieb9ed1b18c8c93cb7db4b75e3411cc25838be492
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-10-05 22:48:05 +05:30
Laxminath Kasam
248273c949 asoc: wcd937x: Fix pop on headphone playback start
Pop is observed on HPH playback start. Enable SWR port
config setup before HPH PA enable.

Change-Id: I2253be1c7e4d8df2bffd7bd0396ceb72a5018637
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-10-05 22:14:05 +05:30
Romed Schur
c9f4551452 asoc: csra66x0: Fix interrupt in multichannel case
If interrupt indicates a fault in multichannel case,
reset all cluster devices in a specific order.

Change-Id: I077ff65c5f2b5e656fcdf6533fde04eba426e322
Signed-off-by: Romed Schur <rschur@codeaurora.org>
2018-10-04 16:54:36 +02:00
Gerrit - the friendly Code Review server
58ff6ed45b Merge changes into audio-drivers.lnx.3.0 2018-10-04 07:49:44 -07:00
Linux Build Service Account
e91a85258f Merge "asoc: wcd-irq: Use non-sync disable irq api" 2018-10-04 07:47:04 -07:00
Linux Build Service Account
8b4e56f2c4 Merge "asoc: volume control support for transcode loopback FE" 2018-10-04 07:47:03 -07:00
Linux Build Service Account
f1de3e72f3 Merge "asoc: enable app type config for transcode loopback" 2018-10-04 07:47:02 -07:00
Linux Build Service Account
39ed36f371 Merge "asoc: qcs405: add machine driver support for compress loopback" 2018-10-04 07:46:58 -07:00
Linux Build Service Account
9501b03fb1 Merge "asoc: bolero: Fix slow playback on HPH" 2018-10-04 07:46:56 -07:00
Linux Build Service Account
3933347f55 Merge "asoc: codecs: add ignore suspend for bolero and wcd937x widgets" 2018-10-04 07:46:54 -07:00
Linux Build Service Account
5ff58d1a5d Merge "asoc: update log level to avoid execessive logging" 2018-10-04 07:46:53 -07:00
Linux Build Service Account
168576aeb9 Merge "soc: swr-mstr: Enable required soundwire master interrupts" 2018-10-04 07:46:52 -07:00
Dieter Luecking
fa7687b233 dsp: Update AFE driver to support 16 ch
AFE supports now MI2S interfaces with up to 16 channels.
Add new APR API functions to support this.
Add support for senary PCM/MI2S ports.

Change-Id: I18d48eed4e9a0476363220e959a0f254aa292056
Signed-off-by: Dieter Luecking <dieterl@codeaurora.org>
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-10-04 15:42:53 +02:00
Ralf Herz
e1f518308f asoc: codecs: Use sysfs instead of mixer_ctls for EP92 HDMI
The format change event signaling for EP92 HDMI input is adapted
to provide format information through sysfs nodes.
Chip configuration is done through sysfs as well.

Change-Id: I8c930ca5647899b4434272009699763c32fe9d04
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-10-04 14:30:13 +02:00
Surendar Karka
bcfd6862e4 asoc: volume control support for transcode loopback FE
Add stream volume control support for DSP transcode
loopback to enable mute configuration requirement.

Change-Id: I2003e40c9888245c1b12f0e7fbd364170d5008cf
Signed-off-by: Siddartha Shaik <sshaik@codeaurora.org>
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2018-10-04 11:17:55 +05:30
Surendar Karka
33dc09849e asoc: enable app type config for transcode loopback
Add app type configuration support for DSP transcode
loopback to enable the required PP topologies.

Change-Id: I60ee50d78ba3c0edc9df042a2a86e691d62f24b7
Signed-off-by: Siddartha Shaik <sshaik@codeaurora.org>
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2018-10-04 11:17:40 +05:30
Surendar Karka
eca0432ffb asoc: mixer control queue handling in sink stream
Mixer control queue handling is required only for
playback. Move mixer control queue handling to be
part of the playback stream in DSP transcode loopback
driver.

Change-Id: Ia8067237f80d509f969cf454f5afa08aaa6b0e52
Signed-off-by: Siddartha Shaik <sshaik@codeaurora.org>
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2018-10-04 11:17:31 +05:30
Surendar Karka
a0a952401f asoc: update passthrough mode in transcode loopback driver
Update passthrough mode to pick proper path type for
compressed input data port in transcode loopback driver
to support compressed input in DSP loopback.

Change-Id: Ib2f66b467456787e08265a0da2bd85bb881a5d61
Signed-off-by: Siddartha Shaik <sshaik@codeaurora.org>
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2018-10-04 11:15:40 +05:30
Surendar Karka
3ef3d81d0a asoc: add support for Slimbus 9 port
Add support for SLIMBUS_9 Rx and Tx ports for
audio drivers.

Change-Id: If2071983ab38cb0de76c8231ec86d5c662cce2af
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-10-03 03:48:31 -07:00
Surendar Karka
b0dd21f1a3 dsp: add support for Slimbus 9 port in AFE
Add support for SLIMBUS_9 Rx and Tx ports in AFE
driver.

Change-Id: I7a21c06fd67984ef60e7d40b61a100ddc48371fc
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-10-03 03:47:47 -07:00
Surendar Karka
b412979a8c asoc: qcs405: add machine driver support for compress loopback
Add new dailnks in machine driver to support
compress loopback usecase for HDMI and BT sink.

Change-Id: Ie9658b3c06fd8d9a68b9b2317fe2689fa34a96f5
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-10-03 03:46:44 -07:00
Surendar Karka
c1cde37a30 asoc: add new FE dais to support compress loopback
Add new FE dais and their routings to support
compress loopback usecase for HDMI and BT sink.

Change-Id: I95d683ff22cda0e7d52333e7dabbb7694cb254f3
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-10-03 03:45:40 -07:00
Laxminath Kasam
cf0c63d564 asoc: wcd937x: update access for wcd937x registers
Remove page registers from access table. Update
read/write access for registers as per HW spec.

Change-Id: I8c32b79e4f0d4e378df5c83f3934c68f6c72385f
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-10-03 15:15:04 +05:30
Mangesh Kunchamwar
eada51564e asoc: qcs405: add TDM Mics support
Add Quinary TDM support in QCS405 machine driver.

Change-Id: I36dcc27422124f55efb2c19bf0c73963c16c695c
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-10-03 13:37:20 +05:30
Vidyakumar Athota
8fb467f199 soc: make snd_event stub functions as static inline
Modify snd_event stub functions prototype as static inline
to make sure that there are no multiple definition errors
in the case of static compilation.

Change-Id: I0848be946b332df22c045b8e5fed4c39b7ee0fda
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-10-02 14:32:52 -07:00
Ramprasad Katkam
6af0c159a1 asoc: wcd-irq: Use non-sync disable irq api
wcd interrupts can be disabled in the same interrupt
context. So use non-sync disable irq api for disabling the
interrupts to avoid a deadlock.

Change-Id: I82dda8dbcd80ba18674eea00686f6a4f54a3b340
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-10-02 09:12:57 +05:30
Sudheer Papothi
2498e397f4 ASoC: wcd934x: Avoid soundwire enable when codec is in power collapse
During SSR, when the playback on speaker gets started before codec
is out of digital core power collapse, results in soundwire
register read/write failures. Check for codec power state before
enabling the soundwire during speaker device path enablement for
playback usecase to avoid soundwire register read/write failures.

Change-Id: I3b45ef0c34ad4f97aad89afaf719989ffbda7485
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-10-01 11:50:15 -07:00
Ramprasad Katkam
55ec68ca3c asoc: wcd937x: clear interrupts using regmap irq framework
Add proper way to clear interrupts using regmap irq framework,
to avoid mismatch between interrupts handled and interrupts
cleared. wcd937x requires writing '1' and then '0' to clear
interrupt. Set a new regmap irq flag 'clear_ack' to indicate this.

Change-Id: I1346dc66735d3b5788e1cc0cfef772c9deacbfc1
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-10-01 11:38:23 +05:30
Ramprasad Katkam
62d6d76b81 soc: swr-mstr: Add logic to recursively trigger slave irq handler
Soundwire slave interrupt is only edge type, so any pending slave
side interrupts could not cause a new slave interrupt, if
they are triggered before clearing of existing interrupts.
Recursively trigger slave irq until there are no pending slave
interrupts to handle this issue.

Change-Id: I254f2467f09172490796114b48f1f0feb604ad17
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-10-01 11:37:36 +05:30
Laxminath Kasam
638b56027e asoc: codecs: add ignore suspend for bolero and wcd937x widgets
Update ignore suspend for AIF in/out and dapm input/output
widgets for bolero and wcd937x codecs to avoid suspend
of codec during active usecase running even after APSS
goes to suspend.

CRs-Fixed: 2321226
Change-Id: I277129e8e657485c56414a385150c4da55382770
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-10-01 11:31:22 +05:30
Mangesh Kunchamwar
52a8c3f76f asoc: msm: routing: add support TDM Mics in routing driver
Add Quinary TDM support to enable TDM Mics in QCS405.

Change-Id: I7ce8f4e53bc37c4cf88eb0d15f8233db94ab4c63
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-09-28 19:49:01 +05:30
Mangesh Kunchamwar
f4feb27287 asoc: add support for TDM mics on QCS405
Add Quinary TDM for enabling TDM mics.

Change-Id: I4a4c74fc38c3c44ae594399103622ffa008d9566
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-09-28 19:48:50 +05:30
Laxminath Kasam
7b9cdb66e6 asoc: bolero: Fix slow playback on HPH
After switching from native to non-native clip,
observe slowness in clip playback content heard
on headphones. Update mclk_mux for enable sequence
based on native flag and for disable sequence
use the same setting done during enable.

CRs-Fixed: 2322232
Change-Id: I795e0620e0239b53cdfdadaf2d57acfb570c4c3b
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-09-28 16:34:26 +05:30
Ramprasad Katkam
debe893b7c soc: swr-mstr: Enable required soundwire master interrupts
Enable soundwire master interrupts by setting the interrupt
enable bits in new CPU_n interrupt register.

Change-Id: Iec2502129cd04da2c8cbc3d3f43278a2ed3ba7d6
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-09-28 13:41:23 +05:30
Vignesh Kulothungan
2ce6784865 asoc: update log level to avoid execessive logging
Excessive logging causes throttling during bootup.
Update log level from error to debug in get functions to
avoid excessive logging.

CRs-Fixed: 2321589
Change-Id: If2a23144adf76cdd9bb2d9048a967b63186d7f6e
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-09-27 09:56:25 -07:00
Linux Build Service Account
662dec1e1e Merge "config: sm6150: Enable compilation of snd_event" 2018-09-27 05:31:53 -07:00
Linux Build Service Account
ea24d6da52 Merge "asoc: sm6150: Add support for audio over display port" 2018-09-26 21:37:09 -07:00
Linux Build Service Account
eaf72d3218 Merge "asoc: fix routing error during switch from non-adm to adm path" 2018-09-26 21:37:07 -07:00
Linux Build Service Account
e5b3489f2f Merge "asoc: sm6150: Add SND event FWK support for talos" 2018-09-26 21:37:01 -07:00
Linux Build Service Account
649cf8acaa Merge "asoc: wcd934x: add SSR events to trigger to new swr master controller" 2018-09-26 21:37:00 -07:00
Linux Build Service Account
a984bd8837 Merge "asoc: sm6150: Add proper checks for ch_num" 2018-09-25 19:17:44 -07:00