soc-acpi-intel-hda-match.c 934 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. // Copyright (c) 2018, Intel Corporation.
  3. /*
  4. * soc-acpi-intel-hda-match.c - tables and support for HDA+ACPI enumeration.
  5. *
  6. */
  7. #include <sound/soc-acpi.h>
  8. #include <sound/soc-acpi-intel-match.h>
  9. #include "../skylake/skl.h"
  10. static struct skl_machine_pdata hda_pdata = {
  11. .use_tplg_pcm = true,
  12. };
  13. struct snd_soc_acpi_mach snd_soc_acpi_intel_hda_machines[] = {
  14. {
  15. /* .id is not used in this file */
  16. .drv_name = "skl_hda_dsp_generic",
  17. /* .fw_filename is dynamically set in skylake driver */
  18. .sof_tplg_filename = "sof-hda-generic.tplg",
  19. /*
  20. * .machine_quirk and .quirk_data are not used here but
  21. * can be used if we need a more complicated machine driver
  22. * combining HDA+other device (e.g. DMIC).
  23. */
  24. .pdata = &hda_pdata,
  25. },
  26. {},
  27. };
  28. EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_hda_machines);
  29. MODULE_LICENSE("GPL v2");
  30. MODULE_DESCRIPTION("Intel Common ACPI Match module");