Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/sound/soc/intel/boards/sof_cirrus_common.h
26493 views
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
#include <sound/soc-acpi-intel-ssp-common.h>
13
14
/*
15
* Cirrus Logic CS35L41/CS35L53
16
*/
17
#define CS35L41_CODEC_DAI "cs35l41-pcm"
18
#define CS35L41_DEV0_NAME "i2c-" CS35L41_ACPI_HID ":00"
19
#define CS35L41_DEV1_NAME "i2c-" CS35L41_ACPI_HID ":01"
20
#define CS35L41_DEV2_NAME "i2c-" CS35L41_ACPI_HID ":02"
21
#define CS35L41_DEV3_NAME "i2c-" CS35L41_ACPI_HID ":03"
22
23
void cs35l41_set_dai_link(struct snd_soc_dai_link *link);
24
void cs35l41_set_codec_conf(struct snd_soc_card *card);
25
26
#endif /* __SOF_CIRRUS_COMMON_H */
27
28