Commit Graph

832 Commitit

Tekijä SHA1 Viesti Päivämäärä
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
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
Ramprasad Katkam
b6dda1e6be asoc: wcd937x: use swr device wakeup api
Use device wakeup api exposed by soundwire to
vote and unvote for soundwire master for mbhc
operations.

Change-Id: Id83c8d3fb2eb351133790f69af56e4981bcac543
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-12-11 13:40:57 +08:00
Aditya Bavanari
ec279c7504 asoc: sm6150: Add logic to parse codec_max_aux_devs
Add parsing logic for codec_max_aux_devs in init_aux_dev
in order to identify whether auxilary codec is supported
or not for a target.

CRs-Fixed: 2353292
Change-Id: I88a84ab064da50ab243ad3f7d6b61cd03b9bbc77
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-12-10 18:55:46 -08:00
Linux Build Service Account
0044694430 Merge "asoc: Update file header to GPL-2.0-only" 2018-12-10 03:08:52 -08:00
Linux Build Service Account
600feffc9b Merge "ASoC: update machine driver for kernel-4.19" 2018-12-10 00:19:24 -08:00
Meng Wang
43bbb87652 asoc: Update file header to GPL-2.0-only
Update file header to GPL-2.0-only.

Change-Id: Ic1542a3209a5fe73c937a5b36491ede4a451936d
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-10 14:49:34 +08:00
Linux Build Service Account
52ce2f0fff Merge "ASoC: msm: add machine driver for kona" 2018-12-09 22:07:46 -08:00
Meng Wang
56a0f8f748 ASoC: update machine driver for kernel-4.19
snd_soc_codec is removed from kernel-4.19.
Update machine driver to fix compile error.

Change-Id: I1bdfda07c0d150d008c434c361142b655de1e9db
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-10 12:38:10 +08:00
Meng Wang
15c825d077 ASoC: codec: Update codec driver to component driver
Some alsa API are removed in kernel-4.19 which would cause
codec driver compile failure. Update codec driver to fix it.

Change-Id: Ie358ec1863082166958059c179300b453d2a03ad
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-08 03:15:55 -08:00
Meng Wang
ee084a068e ASoC: Change platform driver to component driver
snd_soc_platform_driver is removed in kernel-4.19.
Update snd_soc_platform_driver to snd_soc_component_driver.

Change-Id: I434b6fd173d1f4365a610d9164342d5d04d6c5bc
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-08 03:15:41 -08:00
Linux Build Service Account
6463cdbf2f Merge "ASoc: ep92: change setup_timer to timer_setup" 2018-12-07 13:20:52 -08:00
Linux Build Service Account
610822ab62 Merge "asoc: Avoid usage of variable length array" 2018-12-07 13:20:52 -08:00
Linux Build Service Account
355332ce80 Merge "ASoC: switch audio drivers to SPDX identifier" 2018-12-07 13:20:51 -08:00
Linux Build Service Account
c4ee98397f Merge "asoc: routing: update app type config get function" 2018-12-07 13:20:50 -08:00
Linux Build Service Account
6503d5b287 Merge "asoc: add snd_dec_ddp struct for AC3 and EC3 playback" 2018-12-07 13:20:48 -08:00
Vignesh Kulothungan
e9abcd0fbd ASoC: msm: add machine driver for kona
Add machine driver for Kona with stub codec.

Change-Id: Ic214324e22e2eaeaa2651e4fbeb8fd187aeb458e
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-12-07 11:43:23 -08:00