1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * This file defines data structures used in Machine Driver for Intel
4  * platforms with Cirrus Logic Codecs.
5  *
6  * Copyright 2022 Intel Corporation.
7  */
8 #ifndef __SOF_CIRRUS_COMMON_H
9 #define __SOF_CIRRUS_COMMON_H
10 
11 #include <sound/soc.h>
12 
13 /*
14  * Cirrus Logic CS35L41/CS35L53
15  */
16 #define CS35L41_CODEC_DAI	"cs35l41-pcm"
17 #define CS35L41_DEV0_NAME	"i2c-CSC3541:00"
18 #define CS35L41_DEV1_NAME	"i2c-CSC3541:01"
19 #define CS35L41_DEV2_NAME	"i2c-CSC3541:02"
20 #define CS35L41_DEV3_NAME	"i2c-CSC3541:03"
21 
22 void cs35l41_set_dai_link(struct snd_soc_dai_link *link);
23 void cs35l41_set_codec_conf(struct snd_soc_card *card);
24 
25 #endif /* __SOF_CIRRUS_COMMON_H */
26