Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * This file defines data structures used in Machine Driver for Intel
0004  * platforms with Cirrus Logic Codecs.
0005  *
0006  * Copyright 2022 Intel Corporation.
0007  */
0008 #ifndef __SOF_CIRRUS_COMMON_H
0009 #define __SOF_CIRRUS_COMMON_H
0010 
0011 #include <sound/soc.h>
0012 
0013 /*
0014  * Cirrus Logic CS35L41/CS35L53
0015  */
0016 #define CS35L41_CODEC_DAI   "cs35l41-pcm"
0017 #define CS35L41_DEV0_NAME   "i2c-CSC3541:00"
0018 #define CS35L41_DEV1_NAME   "i2c-CSC3541:01"
0019 #define CS35L41_DEV2_NAME   "i2c-CSC3541:02"
0020 #define CS35L41_DEV3_NAME   "i2c-CSC3541:03"
0021 
0022 void cs35l41_set_dai_link(struct snd_soc_dai_link *link);
0023 void cs35l41_set_codec_conf(struct snd_soc_card *card);
0024 
0025 #endif /* __SOF_CIRRUS_COMMON_H */