xref: /linux/sound/soc/sof/sof-of-dev.h (revision c48a7c44a1d02516309015b6134c9bb982e17008)
1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
2 /*
3  * This file is provided under a dual BSD/GPLv2 license.  When using or
4  * redistributing this file, you may do so under either license.
5  *
6  * Copyright 2021 NXP
7  */
8 
9 #ifndef __SOUND_SOC_SOF_OF_H
10 #define __SOUND_SOC_SOF_OF_H
11 
12 struct snd_sof_of_mach {
13 	const char *compatible;
14 	const char *drv_name;
15 	const char *fw_filename;
16 	const char *sof_tplg_filename;
17 };
18 
19 extern const struct dev_pm_ops sof_of_pm;
20 
21 int sof_of_probe(struct platform_device *pdev);
22 void sof_of_remove(struct platform_device *pdev);
23 void sof_of_shutdown(struct platform_device *pdev);
24 
25 #endif
26