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