提交線圖

848 次程式碼提交

作者 SHA1 備註 日期
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
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
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
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
Sudheer Papothi
a3e969d6f0 ASoC: bolero: Add support to retrieve soundwire port configuration
Add support to get the platform specific soundwire port configuration
for soundwire master ports.

Change-Id: Ie1d32a77d534f6c3f397936b85c025b14d01f321
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-12-17 14:30:55 -08:00
Meng Wang
64e8c2b2af asoc: wcd938x: update wcd938x driver
Update wcd938x driver to fix compile error.

Change-Id: Ifc939a46d7e09852b147289dd9e69d2f56a67751
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-17 18:55:51 +08:00
Linux Build Service Account
28c3f72661 Merge "asoc: qcs405: add afe loopback support in machine driver" 2018-12-12 17:51:56 -08:00
Linux Build Service Account
6a7de3abe2 Merge "asoc: sm6150: use locked version of soc_find_component" 2018-12-12 08:52:07 -08:00
Linux Build Service Account
31611c4d92 Merge "ASoC: codecs: bolero: Fix playback issue over RX1" 2018-12-12 08:52:06 -08:00
Linux Build Service Account
5276dad6e9 Merge "ASoC: audio-ext-clk: Add support for external pll clk" 2018-12-12 08:52:05 -08:00
Linux Build Service Account
c4b85af5ea Merge "asoc: codecs: bolero: Update hph_pwr enum value same as class-H options" 2018-12-12 08:52:03 -08:00
Linux Build Service Account
e6de3f49bb Merge "asoc: codecs: Add ep92 version read and NULL check" 2018-12-12 08:52:02 -08:00
Linux Build Service Account
af3c54713f Merge "ASoC: Add TWS+ mono mode support" 2018-12-12 08:52:01 -08:00
Linux Build Service Account
adbf2f4288 Merge "ASoC: codecs: update max value for HPH volume" 2018-12-12 08:52:00 -08:00
Linux Build Service Account
0aaaf8eff1 Merge "asoc: codecs: bolero: Update channel mask for ec_ref port" 2018-12-12 08:51:59 -08:00
Linux Build Service Account
bed688a58c Merge "asoc: add support to get Direction of Arrival target scores" 2018-12-12 08:51:56 -08:00
Linux Build Service Account
a78f1d6599 Merge "asoc: set AFE_LOOPBACK_TX port id to EC ref port" 2018-12-12 08:51:55 -08:00
Linux Build Service Account
4e9e6445e9 Merge "asoc: add support for afe_loopback_tx BE dai" 2018-12-12 08:51:54 -08:00
Linux Build Service Account
e7b9f7aa96 Merge "asoc: sm6150: Add support for MI2S and TDM interfaces" 2018-12-12 08:51:53 -08:00
Linux Build Service Account
ee4bd965c8 Merge "asoc: sm6150: Initialize variable in msm_init_aux_dev" 2018-12-12 08:51:52 -08:00
Linux Build Service Account
2149e5be0c Merge "ASoC: wcd938x: Add support for codec wakeup" 2018-12-11 21:17:11 -08:00
Linux Build Service Account
8fcd1e0744 Merge "asoc: wcd937x: use swr device wakeup api" 2018-12-11 21:17:09 -08:00
Laxminath Kasam
5d9ea8df64 asoc: codecs: bolero: Update channel mask for ec_ref port
For get_channel_map API, return proper channel mask
and channel count for EC ref port on WSA macro.

Change-Id: Ia90f1a1c5e90075d08f01c50349d6a8479be7897
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-12-12 10:13:56 +08:00
Sudheer Papothi
d1c3e9b51e ASoC: wcd938x: Add support for codec wakeup
Add an API to wakeup codec from sleep.

Change-Id: I90de653947f794cbc4a47a91bd5f22251440ef75
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-12-11 18:12:20 -08:00
Sudheer Papothi
4d31c00084 asoc: wcd938x: Move APIs from internal header file
Move APIs from internal header file for access to other
audio modules.

Change-Id: Ib34d052e4beb63c6805abacc3c99dbff18c9af6c
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-12-11 18:11:53 -08:00
Sudheer Papothi
c9443c282a ASoC: wcd938x: Add support for wcd938x codec
WCD938x codec is a soundwire based codec that supports AMICs, DMICs,
Headphones, Ear and Aux paths. Add support to enable all device
paths of wcd938x codec.

Change-Id: I81b5e603ef73afba74b8d2274012752f9ca5cb6f
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-12-12 07:34:26 +05:30
Surendar Karka
ab44f1b566 asoc: qcs405: add afe loopback support in machine driver
Add machine driver changes for AFE Rx to
Tx loopback.

Change-Id: I033d0b769126c229a7734f50d48601e4bf9810bb
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-11 21:17:23 +08:00
Aditya Bavanari
32b3e5e2d6 asoc: sm6150: Initialize variable in msm_init_aux_dev
Initialize codec_max_aux_devs variable in msm_init_aux_dev
function to avoid uninitialized variable usage.

CRs-Fixed: 2357928
Change-Id: I4806f68dfaa9ea22c244fd6b102d8f0eed5abe0c
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-12-11 17:34:26 +08:00
Ralf Herz
1efff87050 asoc: codecs: Add ep92 version read and NULL check
Provide chipid and version info in sysfs.
Fix error handling and avoid polling when device is not present.

Change-Id: Ie31b14e494e527ede001c334e3617f16fd687a28
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
2018-12-11 17:28:37 +08:00
Surendar Karka
e7507516c4 asoc: set AFE_LOOPBACK_TX port id to EC ref port
- AFE_LOOPBACK_TX BE is the dummy backend created to
  establish the EC reference capture path. While
  opening COPP pass playback port id instead of
  AFE_LOOPBACK_TX to get reference stream data from
  AFE RX port.
- Add session type support in creating new COPP and
  while checking for existing COPP.

CRs-Fixed: 2080421
Change-Id: I979f3ce1009cc18ff14130bebb8bd51a78fbe5ac
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2018-12-11 17:07:01 +08:00
Aditya Bavanari
849a5fdeb1 asoc: sm6150: use locked version of soc_find_component
use soc_find_component locked version to ensure proper
access of component list while trying to find wsa or
aux codec components from the list.

Change-Id: I01303cbce13df45f290242776231d17aad68521e
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-12-11 00:12:34 -08:00
Laxminath Kasam
c21e98a1a4 asoc: codecs: bolero: Update hph_pwr enum value same as class-H options
Update hph_pwr enum value for LOHIFI as per
class-H power options to maintain consistent naming.

Change-Id: Ib7deb8d84bd1163a933d06ae92a51cb29b76e3c8
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-12-11 00:10:35 -08:00
Chaithanya Krishna Bacharaju
779b11e499 asoc: add support to get Direction of Arrival target scores
Add support to get DOA tracking monitor data.
This is required to support SVA LED display feature with
FFECNS/FFNS enabled.

Change-Id: I819cdd2971195653a955b22597d35b0fe521ec51
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
2018-12-11 00:07:46 -08:00
Meng Wang
2b901bc05b ASoC: codecs: update max value for HPH volume
On tavil, the range for HPHL/HPHR volume is 0 to 24.
Update max value for HPHL/HPHR Volume.

Change-Id: I03f2eb3f833e5dc93a7cddaba09e765aa6077616
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2018-12-11 00:05:32 -08:00
Surendar Karka
d47fda4407 asoc: add support for afe_loopback_tx BE dai
Add dai driver and routing driver changes for
afe loopback BE. This BE is used to capture
EC reference data.

Change-Id: Ia57f335bde5f8a47de0030fbf1cdb784c8821e17
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2018-12-10 23:58:04 -08:00
Aditya Bavanari
353a583a48 asoc: sm6150: Add support for MI2S and TDM interfaces
Add startup and shutdown functions for MI2S and
TDM interfaces and activate the respective
GPIOs.

CRs-Fixed: 2353292
Change-Id: I3eec88c851f0f34584c7a70d55ab8f1d5fc9dff4
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-12-10 23:55:49 -08:00
Vatsal Bucha
1a96a61236 ASoC: codecs: bolero: Fix playback issue over RX1
Mono playback over RX1 is not happening due to
incorrect channel mask sent to AFE. Update
channel mask for RX to enable playback.

Change-Id: I06eeb565149c635ddbcce39f4260f67b80474335
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-12-10 23:51:51 -08:00
Rohit kumar
68725bb2bf ASoC: audio-ext-clk: Add support for external pll clk
Add clock node to support external pll clock
source.

Change-Id: Ic524f61933d3834896bd113c60a0499915794d0d
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
2018-12-10 23:42:00 -08:00
Manisha Agarwal
d99fac0210 ASoC: Add TWS+ mono mode support
Add support to enable mono mode when one TWS+ earbud is
connected. Change the encoder config when device switches from two
earbuds to single earbud.

CRs-Fixed: 2341876
Change-Id: I880aa6a2767d88e99be2d80afff0e5fbec94b8a4
Signed-off-by: Manisha Agarwal <maniagar@codeaurora.org>
2018-12-10 23:36:26 -08:00
Meng Wang
18065271af asoc: remove find tag to fix compile error
Remove unused find tag to fix compile error.

Change-Id: Id4b6d210ef51f3ad419968a9413a691d7f7a779e
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-11 14:33:40 +08:00