From: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Add documentation of possible values for I2S interface types,
currently this is only documented for DMA module.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
---
include/uapi/sound/snd_ar_tokens.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/uapi/sound/snd_ar_tokens.h b/include/uapi/sound/snd_ar_tokens.h
index bc0b1bede00c..3aa5f4928a2b 100644
--- a/include/uapi/sound/snd_ar_tokens.h
+++ b/include/uapi/sound/snd_ar_tokens.h
@@ -118,6 +118,12 @@ enum ar_event_types {
* LPAIF_WSA = 2,
* LPAIF_VA = 3,
* LPAIF_AXI = 4
+ * Possible values for MI2S
+ * I2S_INTF_TYPE_PRIMARY = 0,
+ * I2S_INTF_TYPE_SECOINDARY = 1,
+ * I2S_INTF_TYPE_TERTINARY = 2,
+ * I2S_INTF_TYPE_QUATERNARY = 3,
+ * I2S_INTF_TYPE_QUINARY = 4,
*
* %AR_TKN_U32_MODULE_FMT_INTERLEAVE: PCM Interleaving
* PCM_INTERLEAVED = 1,
--
2.50.0
On 18/08/2025 13:28, srinivas.kandagatla@oss.qualcomm.com wrote:
> From: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
>
> Add documentation of possible values for I2S interface types,
> currently this is only documented for DMA module.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
> ---
> include/uapi/sound/snd_ar_tokens.h | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/include/uapi/sound/snd_ar_tokens.h b/include/uapi/sound/snd_ar_tokens.h
> index bc0b1bede00c..3aa5f4928a2b 100644
> --- a/include/uapi/sound/snd_ar_tokens.h
> +++ b/include/uapi/sound/snd_ar_tokens.h
> @@ -118,6 +118,12 @@ enum ar_event_types {
> * LPAIF_WSA = 2,
> * LPAIF_VA = 3,
> * LPAIF_AXI = 4
> + * Possible values for MI2S
> + * I2S_INTF_TYPE_PRIMARY = 0,
> + * I2S_INTF_TYPE_SECOINDARY = 1,
Typo: SECONDARY
> + * I2S_INTF_TYPE_TERTINARY = 2,
And TERTIARY?
Although, they come from audioreach.h so, well, eh...
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
thanks Krzysztof,
On 8/18/25 12:56 PM, Krzysztof Kozlowski wrote:
> On 18/08/2025 13:28, srinivas.kandagatla@oss.qualcomm.com wrote:
>> From: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
>>
>> Add documentation of possible values for I2S interface types,
>> currently this is only documented for DMA module.
>>
>> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
>> ---
>> include/uapi/sound/snd_ar_tokens.h | 6 ++++++
>> 1 file changed, 6 insertions(+)
>>
>> diff --git a/include/uapi/sound/snd_ar_tokens.h b/include/uapi/sound/snd_ar_tokens.h
>> index bc0b1bede00c..3aa5f4928a2b 100644
>> --- a/include/uapi/sound/snd_ar_tokens.h
>> +++ b/include/uapi/sound/snd_ar_tokens.h
>> @@ -118,6 +118,12 @@ enum ar_event_types {
>> * LPAIF_WSA = 2,
>> * LPAIF_VA = 3,
>> * LPAIF_AXI = 4
>> + * Possible values for MI2S
>> + * I2S_INTF_TYPE_PRIMARY = 0,
>> + * I2S_INTF_TYPE_SECOINDARY = 1,
>
> Typo: SECONDARY
>
>> + * I2S_INTF_TYPE_TERTINARY = 2,
>
> And TERTIARY?
>
> Although, they come from audioreach.h so, well, eh...
True, I was doing vi autofill.. we should fix the audioreach.h as well,
let me do that in v2.
thanks,
-srini
>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>
> Best regards,
> Krzysztof
© 2016 - 2026 Red Hat, Inc.