diff options
author | Pierre-Louis Bossart <[email protected]> | 2021-03-23 13:07:00 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2021-03-30 14:36:11 +0530 |
commit | 886ce97a36a05e7a9c9d5d894e72d31f50146f5d (patch) | |
tree | d43cb8dbb505cf70e85225212524851c672af54b | |
parent | f03690f4f6992225d05dbd1171212e5be5a370dd (diff) |
soundwire: add definition for DPn BlockPackingMode
For some reason we don't have an enum for this concept. Add
definitions following Table 102 of the SoundWire 1.2 specification.
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Signed-off-by: Bard Liao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
-rw-r--r-- | include/linux/soundwire/sdw.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/soundwire/sdw.h b/include/linux/soundwire/sdw.h index eaa1486bdca9..350436db6ddb 100644 --- a/include/linux/soundwire/sdw.h +++ b/include/linux/soundwire/sdw.h @@ -125,6 +125,12 @@ enum sdw_dpn_grouping { SDW_BLK_GRP_CNT_4 = 3, }; +/* block packing mode enum */ +enum sdw_dpn_pkg_mode { + SDW_BLK_PKG_PER_PORT = 0, + SDW_BLK_PKG_PER_CHANNEL = 1 +}; + /** * enum sdw_stream_type: data stream type * |