linux/include/sound/soc-acpi-intel-ssp-common.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright(c) 2023 Intel Corporation.
 */

#ifndef __LINUX_SND_SOC_ACPI_INTEL_SSP_COMMON_H
#define __LINUX_SND_SOC_ACPI_INTEL_SSP_COMMON_H

/* Cirrus Logic */
#define CS35L41_ACPI_HID
#define CS42L42_ACPI_HID

/* Dialog */
#define DA7219_ACPI_HID

/* Everest */
#define ES8316_ACPI_HID
#define ES8326_ACPI_HID
#define ES8336_ACPI_HID

#define MAX_98357A_ACPI_HID
#define MAX_98360A_ACPI_HID
#define MAX_98373_ACPI_HID
#define MAX_98390_ACPI_HID

/* Nuvoton */
#define NAU8318_ACPI_HID
#define NAU8825_ACPI_HID

/* Realtek */
#define RT1011_ACPI_HID
#define RT1015_ACPI_HID
#define RT1015P_ACPI_HID
#define RT1019P_ACPI_HID
#define RT1308_ACPI_HID
#define RT5650_ACPI_HID
#define RT5682_ACPI_HID
#define RT5682S_ACPI_HID

enum snd_soc_acpi_intel_codec {};

enum snd_soc_acpi_intel_codec
snd_soc_acpi_intel_detect_codec_type(struct device *dev);
enum snd_soc_acpi_intel_codec
snd_soc_acpi_intel_detect_amp_type(struct device *dev);

const char *
snd_soc_acpi_intel_get_codec_name(enum snd_soc_acpi_intel_codec codec_type);

const char *
snd_soc_acpi_intel_get_codec_tplg_suffix(enum snd_soc_acpi_intel_codec codec_type);
const char *
snd_soc_acpi_intel_get_amp_tplg_suffix(enum snd_soc_acpi_intel_codec codec_type);

#endif /* __LINUX_SND_SOC_ACPI_INTEL_SSP_COMMON_H */