ASoC: SOF: ipc: add ALH parameters
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 15 Aug 2019 15:50:30 +0000 (10:50 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 15 Aug 2019 16:55:02 +0000 (17:55 +0100)
The only configuration parameter is the ALH stream ID. No range
checking is done by the driver, the firmware should check that the
stream is valid for a specific hardware.

Bump the ABI Minor number to keep the alignment with SOF firmware

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190815155032.29181-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sof/dai-intel.h
include/sound/sof/dai.h
include/uapi/sound/sof/abi.h

index a81afd3..b03e2ec 100644 (file)
@@ -179,4 +179,13 @@ struct sof_ipc_dai_dmic_params {
        struct sof_ipc_dai_dmic_pdm_ctrl pdm[0];
 } __packed;
 
+/* ALH Configuration Request - SOF_IPC_DAI_ALH_CONFIG */
+struct sof_ipc_dai_alh_params {
+       struct sof_ipc_hdr hdr;
+       uint32_t stream_id;
+
+       /* reserved for future use */
+       uint32_t reserved[15];
+} __packed;
+
 #endif
index 3d174e2..da9825a 100644 (file)
@@ -70,6 +70,7 @@ struct sof_ipc_dai_config {
                struct sof_ipc_dai_ssp_params ssp;
                struct sof_ipc_dai_dmic_params dmic;
                struct sof_ipc_dai_hda_params hda;
+               struct sof_ipc_dai_alh_params alh;
        };
 } __packed;
 
index dff70a4..a0fe0d4 100644 (file)
@@ -26,7 +26,7 @@
 
 /* SOF ABI version major, minor and patch numbers */
 #define SOF_ABI_MAJOR 3
-#define SOF_ABI_MINOR 9
+#define SOF_ABI_MINOR 10
 #define SOF_ABI_PATCH 0
 
 /* SOF ABI version number. Format within 32bit word is MMmmmppp */