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

251 Коміти

Автор SHA1 Повідомлення Дата
Linux Build Service Account
9293b8a210 Merge "ASoC: codecs: Compile wcd irq as part of CONFIG_SND_SOC_WCD_IRQ" 2018-08-07 06:18:45 -07:00
Linux Build Service Account
2e628184b9 Merge "asoc: bolero: Fix compile errors on rx/tx macro" 2018-08-02 23:45:43 -07:00
Linux Build Service Account
340b1f9238 Merge "asoc: codecs: delay codec irq handler during ssr" 2018-08-02 08:23:20 -07:00
Linux Build Service Account
c026f4c520 Merge "ASoC: codecs: Add IRQ utils support based on regmap" 2018-08-02 04:53:15 -07:00
Laxminath Kasam
b7f823c4d1 asoc: bolero: Fix compile errors on rx/tx macro
Fix compilation issue on bolero rx/tx macros.

Change-Id: I1bb9da552d4719ed3417a56fe77f147cab92dc1d
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-08-02 13:23:11 +05:30
Vatsal Bucha
ec5eab5556 ASoC: codecs: Compile wcd irq as part of CONFIG_SND_SOC_WCD_IRQ
Add separate config for generic IRQ using regmap-irq and
compile it as a part of wcd_core ko.

Change-Id: I844ad72bf039c851a67d968e4b67c10105389932
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-08-01 11:04:49 -07:00
Linux Build Service Account
6891816204 Merge "asoc: codecs: Add compile rules for RX/TX macro modules" 2018-08-01 04:54:23 -07:00
Linux Build Service Account
9264698ee1 Merge "asoc: audio-ext-clk: Add support for multiple lpass clock sources" 2018-08-01 04:54:13 -07:00
Linux Build Service Account
057e0e85de Merge "asoc: qcs405: Add support for ep92 HDMI bridge chip" 2018-07-31 17:56:23 -07:00
Vatsal Bucha
485ec2c851 ASoC: codecs: Add IRQ utils support based on regmap
Add irq utils support for tanggu codec. It is
based on regmap-irq framework.

Change-Id: I93ad71f41a8bf62313bee5b6c374809c93219f5c
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-07-31 03:44:52 -07:00
Aditya Bavanari
7259ca6cfe asoc: audio-ext-clk: Add support for multiple lpass clock sources
In bolero, Rx and Tx macros require multiple
lpass clock sources. Update audio clock driver
to support multiple lpass clock instances as required for
Rx and Tx macros.

Change-Id: Ia7d766c52c8edb65f3ceb0585c6fd5a2fee6c5a6
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-07-31 11:23:59 +05:30
Laxminath Kasam
144eabc3ee audio: Add support for audio on msmsteppe
Update config file and make rules for msmsteppe
compilation.

Change-Id: I374a0725a7dd36edc9e04652fb07dc719310565c
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-31 11:23:46 +05:30
Laxminath Kasam
f8ef43ea45 asoc: codecs: Add compile rules for RX/TX macro modules
Add compile rules for RX and TX macro drivers.

Change-Id: Icede86ab2f1e75e3b10f445cf01e204647a48471
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-30 16:13:06 +05:30
Laxminath Kasam
bee0819ac7 asoc: bolero: Add mclk switching support for rx-macro
RX macro supports both native and non-native family
sample rates. Add changes to support both family frequencies.
As soundwire is active for few seconds after teardown of a session
and say next session is of different family(native) which needs switching
the clock at soundwire before configure native MCLK frequency.

Change-Id: I7f6652f1569cfeef5075d92bfd2beadc203b7036
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-30 16:12:44 +05:30
Laxminath Kasam
a7ecc58a35 asoc: bolero: Add support for RX macro driver
Add support for RX digital portion to register
as macro to bolero codec. ASoC dapm and dai
functionality of RX macro is associated to
bolero codec itself.

Change-Id: Idb924b33cfc5d258d2f876a31603e724ad9699e9
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-30 16:12:17 +05:30
Laxminath Kasam
989fccf875 asoc: bolero: Add support for TX macro driver
Add support for TX digital portion to register
as macro to bolero codec. ASoC dapm and dai
functionality of TX macro is associated to
bolero codec itself.

Change-Id: I1e222610d1750eccd6822d9901b17ec2ea509389
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-30 15:52:23 +05:30
Ralf Herz
5f30251f7e asoc: codecs: codec driver support for ep92 HDMI bridge
Codec driver to support Explore EP92A6 HDMI bridge chip.

Change-Id: I18132ee465180703a018a4e3c1f3d6418253410c
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2018-07-27 19:16:38 +05:30
Linux Build Service Account
b5e037bd5e Merge "asoc: codecs: Fix recovery behavior for CSRA66X0" 2018-07-26 21:56:25 -07:00
Linux Build Service Account
aceb532f6b Merge "ASoC: audio-ext-clk: Replace clock dummy ops" 2018-07-26 21:22:01 -07:00
Karthikeyan Mani
9bc7b45fc9 asoc: codecs: delay codec irq handler during ssr
Put the irq handler of codec device to sleep if device is
not up, to allow other threads to execute meanwhile the device
will be up.

Change-Id: Ic7421bdf236be52070b6d5fcd774b0641368bf2b
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-07-26 14:53:29 -07:00
Romed Schur
20f6c1416f asoc: codecs: Fix recovery behavior for CSRA66X0
Fix recovery behavior for CSRA66X0 codec to
recover from fault state and add debugfs interface.

CRs-Fixed: 2283380
Change-Id: I796b9e3b36db851f2bf1469e324a7c347510e232
Signed-off-by: Romed Schur <rschur@codeaurora.org>
2018-07-23 16:17:20 +02:00
Linux Build Service Account
e7abe2550c Merge "asoc: audio-ext-clk: Add support for multiple lpass clock nodes" 2018-07-23 06:53:42 -07:00
Sudheer Papothi
9b51e3e0ca ASoC: audio-ext-clk: Replace clock dummy ops
Replace clock framework's clock dummy ops with audio external
clock ops to access correct structure that avoids out of bounds
memory access.

Change-Id: I51db63bba414cff0343cbf68e90b1e1bbf7929ac
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-07-21 05:20:10 +05:30
Linux Build Service Account
511613fe72 Merge "asoc: bolero: Fix wsa playback mute issue" 2018-07-19 23:19:52 -07:00
Laxminath Kasam
0c85700fdb asoc: bolero: Fix wsa playback mute issue
Update volatile registers list of bolero
VA and WSA macros. Fix sequence for wsa mute
and register access in regmap read/write.

Change-Id: I7984f7e2309933536f3855f6fd4a2e2fd1c4d13b
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-19 11:50:26 +05:30
Laxminath Kasam
d712cc7c15 asoc: audio-ext-clk: Add support for multiple lpass clock nodes
In bolero, for VA and WSA macros require multiple
lpass clock sources. Update audio clock driver
to support lpass clocks instances as required for
VA and WSA.

Change-Id: I7bb676dcbd5c0db09079dd73a30d1b47ce0f8ace
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-19 11:47:28 +05:30
Surendar Karka
0a915f8c68 asoc: ext-clk: dynamically configure clk parent name
Add support to dynamically configure clk parent name
from device tree.

Change-Id: I9ae0c34c248503625523a2d1e33d800b2138ed39
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2018-07-17 15:00:41 +05:30
Mangesh Kunchamwar
2f39a329bf asoc: bolero: Bringup fixes for qcs405
Add bringup fixes for va-macro micbias property setting.

Change-Id: Ie1c35d8519f819bed227885e1c2a18e3de7fd82a
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-11 00:47:57 +05:30
Linux Build Service Account
ab8586d542 Merge "asoc: bolero: Bringup fixes in Vipertooth" 2018-07-09 20:42:38 -07:00
Linux Build Service Account
8e4d9058d3 Merge "ASoC: wcd934x: skip mutex lock for WDSP boot timeout debug dump" 2018-07-09 11:56:34 -07:00
Mangesh Kunchamwar
a9c69199a7 asoc: bolero: Bringup fixes in Vipertooth
Add bringup fixes for bolero regmap and va-macro
micbias property setting.

Change-Id: I536b7bf6ff625da1f2f639a93cf1f9174cfd6447
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-09 09:16:20 -07:00
Linux Build Service Account
029bb3d3aa Merge "asoc: codecs: codec driver support for CSRA66X0" 2018-07-07 13:54:32 -07:00
Linux Build Service Account
4fae34670a Merge "asoc: ext-clk: Allow clock probe without pinctrl for lpass nodes" 2018-07-06 11:57:21 -07:00
Mangesh Kunchamwar
82f6168cf5 asoc: codecs: codec driver support for CSRA66X0
Codec driver to support direct digital
feedback amplifier (DDFA) CSRA66X0

CRs-Fixed: 2248380
Change-Id: I0aa1b5a2b6e18b6d2dcd5393a10b7d4aebb570e5
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-06 18:27:57 +05:30
Meng Wang
9836489e23 asoc: wcd-dsp-mgr: clear work queue for wcd dsp manager
wdsp_mgr_bind would schedule work to load wdsp firmware.
Before loading wdsp firmware, sound card registeration may fail.
wcd_dsp_cntl_deinit would get called to free cntl which would be used
in wdsp_load_fw_image which would cause kernel panic.
Clear work queue in wdsp_mgr_unbind to avoid kernel panic.

Change-Id: I6c052fa8ea1ff62a8b075ba191085612242a5005
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2018-07-03 12:23:37 -07:00
Karthikeyan Mani
3dd07e6937 asoc: mbhc: ignore mbhc event report during ssr
When ssr is in progress, during some race conditions
mbhc events are getting reported when codec is still
coming up. Ignore such events without reporting.

Change-Id: I3d3f78f97c2b855fc36a480f38c166bda2d979f0
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-07-02 11:22:40 -07:00
Xiaojun Sang
353723e8e0 ASoC: wcd934x: skip mutex lock for WDSP boot timeout debug dump
In the case of WDSP boot timeout, api_mutex and ssr_mutex have already
been acquired. There is no need to do mutex lock again during debug dump.
Check the signal enum to see if it's the internal WDSP boot timeout case.

Change-Id: I6fe5e77b1bff72ed5ad463bb1df76c6b02c84c92
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2018-06-29 17:17:22 -07:00
Mangesh Kunchamwar
daf02b01f2 asoc: fix compilation issues
Fix compilation issues for qcs405.

CRs-Fixed: 2248380
Change-Id: I1a4929dbcd888cb6be30a155d2f492cbf314a25a
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-06-28 19:59:16 +05:30
Linux Build Service Account
c232d1bb46 Merge "asoc: bolero: Add EC support for WSA macro" 2018-06-26 17:52:02 -07:00
Linux Build Service Account
7c20a7cc2e Merge "asoc: bolero: Update dmic sample rate config for VA macro" 2018-06-26 12:32:15 -07:00
Linux Build Service Account
eadfffe17a Merge "asoc: bolero: Add micbias support for VA DMICs" 2018-06-26 12:32:15 -07:00
Laxminath Kasam
36ab7bb29c asoc: bolero: Add EC support for WSA macro
WSA macro supports both ec_legacy and ec_hq.
Add support to capture echo for both types
based on mixer control value.

Change-Id: I3c8a6cd13dabbee3f3687d5e63dc6d4c7bbc4eef
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-06-26 13:51:29 +05:30
Laxminath Kasam
135d405d2e asoc: bolero: Update dmic sample rate config for VA macro
Add support for DMICs of different sampling rates
with respective clk_div config update in VA macro
register.

Change-Id: I8faa46774cf1fe561af3bd7a284bc7d37f85cb9d
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-06-25 03:42:34 -07:00
Laxminath Kasam
fa05d98918 asoc: bolero: Add micbias support for VA DMICs
Add support for regulator enable and disable to
source micbias for VA digital mics.

Change-Id: Ie25fb65103704b04127b23f4c515d6d270f4abf0
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-06-25 15:47:33 +05:30
Linux Build Service Account
d560c4b9ba Merge "asoc: bolero: Add codec entry for bolero for rtac support" 2018-06-22 14:43:04 -07:00
Linux Build Service Account
236a9e3943 Merge "asoc: wcd9335: register speaker wsa controls only if WSA attached" 2018-06-21 12:44:59 -07:00
Laxminath Kasam
21c8b22849 asoc: bolero: Add codec entry for bolero for rtac support
Add codec entry for bolero codec under proc codecs list.
Update the names of wsa-macro gain offset and mode for
wsa8810 variant to avoid conflict with wcd9335.

Change-Id: Icaa2ef7c2f7253060cd7cccd44130b0b12dc0713
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-06-21 18:52:24 +05:30
Laxminath Kasam
f2687c989a asoc: wcd9335: register speaker wsa controls only if WSA attached
In vipertooth, both wsa-macro and wcd9335 are present.
wcd9335 doesn't have wsa attached, and wsa-macro supports wsa
attached which defines spkr wsa controls. wcd9335 driver needs to
avoid register same controls if wsa is not attached to it.

Change-Id: Ia3db8982b5214ade95e6d8f27a44a68e20b772a0
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-06-21 18:36:52 +05:30
Linux Build Service Account
25a990e3c4 Merge "asoc: codecs: stub for WCD CPE core" 2018-06-19 15:52:38 -07:00
Linux Build Service Account
d69c855747 Merge "ASoC: Add support for audio drivers compilation on kernel-4.14" 2018-06-19 12:12:33 -07:00