e82907e7c1
Implement nau8318 support code in this common module so it could be shared between multiple SOF machine drivers. Signed-off-by: Brent Lu <brent.lu@intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20230915124852.1696857-14-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
23 lines
529 B
C
23 lines
529 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* This file defines data structures used in Machine Driver for Intel
|
|
* platforms with Nuvoton Codecs.
|
|
*
|
|
* Copyright 2023 Intel Corporation.
|
|
*/
|
|
#ifndef __SOF_NUVOTON_COMMON_H
|
|
#define __SOF_NUVOTON_COMMON_H
|
|
|
|
#include <sound/soc.h>
|
|
#include "sof_ssp_common.h"
|
|
|
|
/*
|
|
* Nuvoton NAU8318
|
|
*/
|
|
#define NAU8318_CODEC_DAI "nau8315-hifi"
|
|
#define NAU8318_DEV0_NAME "i2c-" NAU8318_ACPI_HID ":00"
|
|
|
|
void nau8318_set_dai_link(struct snd_soc_dai_link *link);
|
|
|
|
#endif /* __SOF_NUVOTON_COMMON_H */
|