Commit Graph

1278 Commitit

Tekijä SHA1 Viesti Päivämäärä
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
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
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
4c322b1c80 Soundwire: Fix soundwire master port configuration
Existing soundwire master controller driver uses static tables
directly for soundwire port configuration. But, this is not
scalable to add support for new targets. So, define platform
specific soundwire master port configuration from machine driver.

Change-Id: I37d499c77914b413e6e16ab2689dbaae8fcd194c
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-12-17 15:25:48 -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
Sudheer Papothi
3d1596e2c6 soc: swr-mstr: Add support for platform specific port configuration
Different platforms have different configuration for soundwire
ports. Add support to get the port configuration information
from the machine driver.

Change-Id: If2c006c4d4a43e2a8dc67c076f6d1c0f36eae16b
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-12-17 12:16:26 -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
d0dd6a6284 Merge "Soundwire: Check complete soundwire slave device ID" 2018-12-12 17:51:57 -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
ed9a9cce4a Merge "dsp: afe: Cleanup task_struct related implementation" 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
330cb583ff Merge "ipc: Add flag GCOV_PROFILE to makefile" 2018-12-12 08:52:04 -08:00
Linux Build Service Account
b5bb2c2fdd Merge "soc: Add flag GCOV_PROFILE to makefile" 2018-12-12 08:52:04 -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
d3a0e9fcca Merge "dsp: q6afe: return error on no configuration data" 2018-12-12 08:52:02 -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
818fc0c9ed Merge "soc: swr-wcd: Apply div2 setting on slave side before bank switch" 2018-12-12 08:51:58 -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
8e0420da9a Merge "soc: soundwire: Update samping interval of class-H port" 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
6b9ad6dba3 Merge "soc: swr-mstr: Store enabled interrupts information in master data" 2018-12-12 00:12:15 -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
Linux Build Service Account
02358ac5b8 Merge "SoC: soundwire: Add support for device wakeup" 2018-12-11 07:08:39 -08:00
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
Ramprasad Katkam
7e35478bf6 soc: swr-mstr: Store enabled interrupts information in master data
Store interrupt mask variable in master private data to
indicate the interrupts which are currently enabled. This
is to avoid reading interrupt enable register, which varies
on hardware version, for knowing the interrupt enabled info.

Change-Id: Ic990decd1b1112a1ad2a6af0d9b42269fe4e1b4c
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-12-11 17:32:21 +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
Karthikeyan Mani
0253cb9698 dsp: q6afe: return error on no configuration data
Move the return value to within the error check
condition to avoid returning error for valid
scenarios too.

Change-Id: I718786d9eb3c779a85da3a4cb3929806692f5424
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-12-11 00:09:46 -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