sof-of-dev.h 626 B

12345678910111213141516171819202122232425
  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. #ifndef __SOUND_SOC_SOF_OF_H
  9. #define __SOUND_SOC_SOF_OF_H
  10. struct snd_sof_of_mach {
  11. const char *compatible;
  12. const char *drv_name;
  13. const char *fw_filename;
  14. const char *sof_tplg_filename;
  15. };
  16. extern const struct dev_pm_ops sof_of_pm;
  17. int sof_of_probe(struct platform_device *pdev);
  18. int sof_of_remove(struct platform_device *pdev);
  19. void sof_of_shutdown(struct platform_device *pdev);
  20. #endif