Commit Graph

112 Commits

Author SHA1 Message Date
Linux Build Service Account
53f339b53b Merge "asoc: codecs: Add proper null checks and initialize variables" 2018-09-24 19:22:03 -07:00
Aditya Bavanari
4f3d5643bd asoc: codecs: Add support for BCL feature
Add mixer widgets, routing and mixer controls in order
to support BCL feature on WSA and RX macros
of bolero codec.

CRs-Fixed: 2225097
Change-Id: I463f89a517bb3878e51a6aca0c1d73bc652ab8c5
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-09-23 08:38:00 +05:30
Tanya Dixit
8530fb9b5d asoc: codecs: Add proper null checks and initialize variables
Add proper null checks and initialize variables
in rx-macro, tx-macro, va-macro and wcd937x drivers.

Change-Id: I90899c84d3391305b9a24d4b043adc08b7c0332a
Signed-off-by: Tanya Dixit <tdixit@codeaurora.org>
2018-09-17 06:25:33 -07:00
Laxminath Kasam
ac396d5734 asoc: bolero: add support for native playback
On bolero rx macro, add support to switch
mclk frequency based on native usecase active.

Change-Id: I2f915475dcfdadf1027507b7ed83a4a852ece1c7
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-09-12 11:39:32 +05:30
Ramprasad Katkam
9c2394a6e4 asoc: Talos-tanggu bringup fixes
Bringup fixes to enumerate tanggu codec on talos.

Change-Id: Ic9c43ec0b870f6fec3c6d21fd4d77606c7ed94b1
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-08-29 11:04:43 +05:30
Linux Build Service Account
fc9ba4e933 Merge "asoc: bolero: Update route map to enable MCLK for adie loopback" 2018-08-11 02:52:55 -07:00
Laxminath Kasam
59c7a1de15 asoc: bolero: Update AIF dai-id to start with value 1
ASoC core assigns dai id value to num_dais if
AIF dai-id passed is 0. Since we have different macros
passing AIF dai-id as 0, they are replaced in ASoC core.
To handle this, update AIF dai-id in respective macros
to start with value 1.

Change-Id: I222c088289292aa226c90710e56a8c94af5615cd
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-08-09 16:13:44 +05:30
Laxminath Kasam
fc281adbdd asoc: bolero: Update route map to enable MCLK for adie loopback
For ADIE loopback, MCLK needs to be enabled.
Associate the macro MCLK widgets to respective
rx and tx paths in route map.

Change-Id: I5632c3016146c5c5d822ae6fe438010904cf434b
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-08-07 22:20:10 +05:30
Laxminath Kasam
d2d8d9f683 asoc: bolero: Enable class-H for all interpolators
On bolero and tanggu combination, enable digital side
class-H by default.

Change-Id: I366a7217dbbe7640846275eea57ef0c61cfcdf5e
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-08-07 22:19:59 +05:30
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
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