xref: /linux/sound/soc/intel/boards/sof_nuvoton_common.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * This file defines data structures used in Machine Driver for Intel
4  * platforms with Nuvoton Codecs.
5  *
6  * Copyright 2023 Intel Corporation.
7  */
8 #ifndef __SOF_NUVOTON_COMMON_H
9 #define __SOF_NUVOTON_COMMON_H
10 
11 #include <sound/soc.h>
12 #include <sound/soc-acpi-intel-ssp-common.h>
13 
14 /*
15  * Nuvoton NAU8318
16  */
17 #define NAU8318_CODEC_DAI	"nau8315-hifi"
18 #define NAU8318_DEV0_NAME	"i2c-" NAU8318_ACPI_HID ":00"
19 
20 void nau8318_set_dai_link(struct snd_soc_dai_link *link);
21 
22 #endif /* __SOF_NUVOTON_COMMON_H */
23