Skip to content

Commit e6feefa

Browse files
yaochunhungbroonie
authored andcommitted
ASoC: SOF: tokens: add token for Mediatek AFE
Add the definition for Mediatek audio front end(AFE) tokens,include AFE sampling rate, channels, and format. Signed-off-by: YC Hung <yc.hung@mediatek.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Link: https://lore.kernel.org/r/20211118100749.54628-3-daniel.baluta@oss.nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 32d7e03 commit e6feefa

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎include/uapi/sound/sof/tokens.h‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,9 @@
140140
#define SOF_TKN_INTEL_HDA_RATE 1500
141141
#define SOF_TKN_INTEL_HDA_CH 1501
142142

143+
/* AFE */
144+
#define SOF_TKN_MEDIATEK_AFE_RATE 1600
145+
#define SOF_TKN_MEDIATEK_AFE_CH 1601
146+
#define SOF_TKN_MEDIATEK_AFE_FORMAT 1602
147+
143148
#endif

0 commit comments

Comments
 (0)