soc: soundwire: Add support for PCM data type

Add support to enable PCM data transfer through soundwire interface.

Change-Id: I9b162beb7fcdc6bbb90303acb77c350dbcf8c490
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
This commit is contained in:
Sudheer Papothi
2019-10-26 00:20:42 +05:30
committed by Gerrit - the friendly Code Review server
parent 9d6350f7f0
commit 11d5299f26
3 changed files with 40 additions and 2 deletions

View File

@@ -70,6 +70,11 @@ enum {
SWR_VISENSE_PORT,
};
enum {
SWR_PDM = 0,
SWR_PCM,
};
struct usecase {
u8 num_port;
u8 num_ch;
@@ -91,6 +96,8 @@ struct swrm_mports {
u8 blk_pack_mode;
u8 word_length;
u8 lane_ctrl;
u8 dir;
u8 stream_type;
};
struct swrm_port_type {