Commit graph

1,320 commits

Author SHA1 Message Date
Linux Build Service Account
0c6654ade2 Merge "ASoC: wcd937x: Enable watchdog interrupt" 2019-01-06 06:32:26 -08:00
Linux Build Service Account
9cdd3ad6f9 Merge "asoc: dsp: ipc: Reduce wait timeout to 1 second" 2019-01-06 06:32:24 -08:00
Linux Build Service Account
a5443b30ea Merge "asoc: csra66x0: Support of sysfs interface" 2019-01-06 06:32:20 -08:00
Linux Build Service Account
b460c82036 Merge "audio-kernel: asoc: Remove extra const def" 2019-01-06 06:32:18 -08:00
Linux Build Service Account
20234e1e39 Merge "ASoC: bolero: Remove unwanted logs at bootup" 2019-01-06 06:32:10 -08:00
Linux Build Service Account
1d284cb3b5 Merge "asoc: sm6150: Add TX_CDC_DMA_TX_0 backend dailink" 2019-01-06 06:32:08 -08:00
Linux Build Service Account
624abc38c9 Merge "dsp: update EC reference port only if channels are configured" 2019-01-06 06:32:04 -08:00
Linux Build Service Account
a43f819ec7 Merge "soc: swr-mstr: Fix headset detection issue" 2019-01-06 06:31:59 -08:00
Linux Build Service Account
54b31be6db Merge "soc: swr-mstr: Hold suspend during hw wakeup interrupt" 2019-01-06 06:31:41 -08:00
Linux Build Service Account
8f31e89b77 Merge "asoc: wcd937x: Change voltage for micbias depending on dt value" 2019-01-06 06:31:32 -08:00
Linux Build Service Account
ec5e59e931 Merge "dsp: return ENETRESET error if apr is down" 2019-01-06 06:31:22 -08:00
Linux Build Service Account
b80e10875b Merge "Asoc: sm6150: Add compress capture support" 2019-01-06 06:31:11 -08:00
Linux Build Service Account
64ea866ad3 Merge "asoc: wsa881x: change WSA temparature log level to pr_debug" 2019-01-06 06:30:56 -08:00
Linux Build Service Account
d67f7487ef Merge "asoc: msm-dai-q6-v2: add a new VA macro DMA TX CPU DAI" 2019-01-06 06:30:41 -08:00
Xiaoyu Ye
a83ad85054 asoc: msm-dai-q6-v2: add a new VA macro DMA TX CPU DAI
VA macro in Kona has three DMA TX ports. Add a new VA
DMA TX CPU DAI in the DSP DAI driver to use it on Kona.

Change-Id: Ic144dbed1bd63af6f0150f854fdb74d57e156839
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2019-01-02 12:12:26 -08:00
Ramprasad Katkam
44b7a9602b soc: swr-mstr: Hold suspend during hw wakeup interrupt
Hold system suspend when hardware wakeup interrupt is
received to resume soundwire master.

Change-Id: I99a58aa7d28cfa514d72bacc8c6fc6e95fbe038a
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2019-01-02 01:34:02 -08:00
Ramprasad Katkam
b4c7c680ef soc: swr-mstr: switch to bank 0 before ssr/pdr
Do bank switch to default bank during ssr/pdr as master
is reset to default state. This avoids wrong state of
swr master during pdr.

Change-Id: I86a7bd53d471e9d864d25dcb84ad8fe12151cc0d
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2019-01-02 01:32:29 -08:00
Surendar Karka
de79a06acf dsp: update EC reference port only if channels are configured
ADM open is failed due to payload size not getting updated
with ec reference size. Update EC reference port only if
EC reference channels are configured.

Change-Id: Ic2dd6a3cf805c1ea40d71d0b62b6e867167d169e
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2019-01-02 17:23:23 +08:00
Vatsal Bucha
83e6ee1c40 asoc: sm6150: Add TX_CDC_DMA_TX_0 backend dailink
TX_CDC_DMA_TX_0 supports three channels, therefore it
can be used for rx_macro_echo. Add required backend dailink.
Also remove AMIC4 from ignore_suspend as it is not used for talos.

Change-Id: I74b7adca9fa4001866232c1a9173e865c2a169c4
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-01-02 17:19:44 +08:00
Vatsal Bucha
39ead2c1e8 ASoC: bolero: Remove unwanted logs at bootup
Correct name of widgets for tx macro from
TX SWR_MIC to TX SWR_DMIC. Also assign codec pointer
to rx_priv before calling rx_macro_init_bcl_pmic_reg.

Change-Id: I268d79413c53bcd2d8e7a391859b71b7a7e3f64e
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-01-02 17:16:23 +08:00
Vatsal Bucha
c2d6c22d1d asoc: bolero: Add routing for rx echo reference
Add mixer control and routing to enable echo reference
for rx_macro.

Change-Id: Ic1095eaa8024f2cb61722609daae94bc645b263b
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-01-02 17:13:18 +08:00
Derek Chen
0fc1535782 ASoC: msm: update quat/quin tdm slot config/mapping
Update QUAT and QUIN TDM slot configuration
and mapping information for A2B support.

Change-Id: I17a4019f961846477f880cb2a59bc4c8f4c2fe28
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-01-02 00:58:04 -08:00
Romed Schur
8883e449af asoc: csra66x0: Support of sysfs interface
Sysfs interface added to support filter register access.

Change-Id: I6dcbd3e728ab6c80c6a1d29f6fc2e795f4a09119
Signed-off-by: Romed Schur <rschur@codeaurora.org>
2019-01-02 16:49:23 +08:00
Josh Kirsch
ea69fedaa3 audio-kernel: asoc: Remove extra const def
Remove extra const definition. Causing compilation
error on ARM compiler.

Change-Id: I56961168c8a4fc1248d5d43661159b9cf1ff2d98
Signed-off-by: Josh Kirsch <jkirsch@codeaurora.org>
2019-01-02 16:23:11 +08:00
Vatsal Bucha
beccfad9b6 ASoC: wcd937x: Enable watchdog interrupt
Handle PDM watchdog interrupt. Enable watchdog
before analog PA is enabled and disable it
after analog PA is disabled so as to prevent false alarms.

CRs-Fixed: 2336526
Change-Id: I3c16a9dcd0f4f84bf8ad0bfde9560330c143cdf9
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-01-02 16:20:07 +08:00
Vignesh Kulothungan
0fcf2af3df asoc: dsp: ipc: Reduce wait timeout to 1 second
Reduce the amount of time driver waits to get a response from ADSP.
Current wait time in some cases is 5 secconds, which might cause
user space crashes in Android P. So reducing the timeout to
1 second.

CRs-Fixed: 2318751
Change-Id: I6b6789aa5b408659dd57f8f6b017df52d14b28aa
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-01-02 16:04:27 +08:00
Aditya Bavanari
3517b1102a soc: swr-mstr: Fix headset detection issue
Do not disable wake irq during registration of
wake up interrupt as it leads to multiple disable
calls of wake irq during boot up and headset detection
fails sometimes.

CRs-Fixed: 2356299
Change-Id: I79aa0ab46d26dc0e352d399e0d4381a11ed936f4
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2019-01-02 16:00:39 +08:00
Vatsal Bucha
1793ff07cb asoc: wcd937x: Change voltage for micbias depending on dt value
MICBIAS is always set to 1.8V. Change this voltage
depending on dt value for respective micbias.

Change-Id: I8eb1e71ae0256423bfd0bcc8ba2cd6bcc4a5ee61
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-01-02 15:57:20 +08:00
Laxminath Kasam
c910c02395 dsp: return ENETRESET error if apr is down
In SSR/PDR, return ENETRESET errno to
propagate this failure to userspace. After
audio HAL receives ENETRESET, it stops retry
for pcm_open continuously. Rate limit the logs
when apr send packet fails during PDR/SSR
usecases to avoid watchdog timeouts.

Change-Id: I03a80aef6ffedb4f15f953fff5213d6a3c9efc4b
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-01-02 15:44:42 +08:00
Md Mansoor Ahmed
fc75559916 Asoc: sm6150: Add compress capture support
Add FE dialinks to enable multi compress capture
sessions on sm6150 target.

Change-Id: Ib26fc6c84d7993c34725a3b67596d4f059aa286e
Signed-off-by: Md Mansoor Ahmed <mansoor@codeaurora.org>
2019-01-02 15:27:28 +08:00
Surendar Karka
809cb8ed58 asoc: wsa881x: change WSA temparature log level to pr_debug
Dmesg logs are getting flooded with WSA temparature
logs. Change the log level to pr_debug to get rid
of this messages.

Change-Id: Ia4ccca47c5e6e5d56883ff73e1ae4278ff855be3
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2019-01-02 15:21:25 +08:00
Sudheer Papothi
63f4815535 soc: swr-mstr: Support to execute commands on command ignore
If the optional commands/registers in soundwire slave(s) are not
implemented, then soundwire bus will ignore the corresponding
commands and executes the next commands in queue.

Change-Id: I24dd929975218a150717f03f5c17c2be173a5005
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-12-26 00:51:09 -08:00
Linux Build Service Account
bbcb107778 Merge "ASoC: msm: Get the soundwire port configuration" 2018-12-21 22:42:19 -08:00
Linux Build Service Account
04f35c8f15 Merge "ASoC: msm: add bolero codec functionality" 2018-12-21 22:42:18 -08:00
Linux Build Service Account
dd226cab67 Merge "ASoC: config: add config to compile audio drivers for kona" 2018-12-21 21:35:35 -08:00
Karthikeyan Mani
7eef68ef9e ASoC: msm: Get the soundwire port configuration
Send the kona platform specific soundwire port configuration
to the soundwire master driver through machine driver.

Change-Id: I1144d00b6bd430f330833141e681dcc93bfff9d2
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-12-21 12:03:51 -08:00
Linux Build Service Account
f6d54eff30 Merge "asoc: bolero: add support to enable VA MCLK MUX select on Kona" 2018-12-21 05:09:20 -08:00
Linux Build Service Account
7cbec036c1 Merge "ASoC: update symbolic link for internal.h, core.h and pinctrl-utils.h" 2018-12-21 05:09:18 -08:00
Meng Wang
b0e04799e4 ASoC: config: add config to compile audio drivers for kona
Add config to compile audio drivers for kona.

Change-Id: I3367a68d0109c80de8525fd74ebaef2959684865
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-21 12:19:44 +08:00
Vignesh Kulothungan
3e5ebbf466 ASoC: msm: add bolero codec functionality
Add codec specific functions for basic audio functionality on Kona.

Change-Id: I58a12010f5894341c59de3c70ada216b5ec764e6
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-12-20 15:52:28 -08:00
Vignesh Kulothungan
483a5595b2 ASoC: msm: add common dai's for kona
Add common front end and back end dais.
Add TDM, AUX PCM and MI2S dais.

Change-Id: I3ecbe10ea9246aadedd02a881c937ce69f33cbbe
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-12-20 15:28:02 -08:00
Meng Wang
19fa6defdc asoc: update kernel version for kona
Update kernel version for kona.

Change-Id: I490832f0a62f8f1b5cfe6fc6134e22cc5d8ae583
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-20 12:36:53 +08:00
Meng Wang
0862e6ad0a ASoC: update symbolic link for internal.h, core.h and pinctrl-utils.h
Update symbolic link for internal.h, core.h and pinctrl-utils.h for kona.

Change-Id: I3bb585700a531e97a0b1b163b191105628f3d22c
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-20 11:12:46 +08:00
Xiaoyu Ye
ccdb91522a asoc: bolero: add support to enable VA MCLK MUX select on Kona
VA macro is currently lacking capability to dynamically select
MCLK on Kona. Add support in VA macro driver to read MUX select
property from DT to enable dynamic MCLK MUX select.

Change-Id: I46d0b760119a2d8c2ed754ae9cb43ba717fa300b
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2018-12-18 17:46:23 -08:00
Linux Build Service Account
50840ecb1b Merge "asoc: update relative header files" 2018-12-18 11:22:16 -08:00
Linux Build Service Account
8bff0e6c89 Merge "ASoC: sm8250: Add soundwire port configuration" 2018-12-18 10:31:10 -08:00
Linux Build Service Account
4dbba562bf Merge "asoc: wcd938x: update wcd938x driver" 2018-12-18 09:57:55 -08:00
Linux Build Service Account
d130426de6 Merge "asoc: routing: add afe loopback for FM on kona" 2018-12-17 21:17:20 -08:00
Meng Wang
11a25cf657 asoc: update relative header files
Move all relative header files to include folder.

Change-Id: Ic61a61a88823b4749dbe8c1f680d08201a3b4a48
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-18 10:50:27 +08:00
Sudheer Papothi
d61f0a4c25 ASoC: sm8250: Add soundwire port configuration
Add soundwire port configuration for sm8250 target.

Change-Id: Id9554c1075d07adb2258a7450453032185f17e01
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-12-17 15:31:10 -08:00