mirror of
https://github.com/armbian/linux-cix.git
synced 2026-01-06 12:30:45 -08:00
ASoC: Intel: avs: PCI driver implementation
HD-Audio bus is a PCI device. Add all functions necessary to probe such device along with its removal sequence. Behaviour implemented for all standard operations is similar to existing solutions: sound/pci/hda and sound/soc/intel/skylake. Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Link: https://lore.kernel.org/r/20220516101116.190192-13-cezary.rojewski@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
beed983621
commit
1affc44ea5
@@ -15,7 +15,8 @@ enum {
|
||||
SND_INTEL_DSP_DRIVER_LEGACY,
|
||||
SND_INTEL_DSP_DRIVER_SST,
|
||||
SND_INTEL_DSP_DRIVER_SOF,
|
||||
SND_INTEL_DSP_DRIVER_LAST = SND_INTEL_DSP_DRIVER_SOF
|
||||
SND_INTEL_DSP_DRIVER_AVS,
|
||||
SND_INTEL_DSP_DRIVER_LAST = SND_INTEL_DSP_DRIVER_AVS
|
||||
};
|
||||
|
||||
#if IS_ENABLED(CONFIG_SND_INTEL_DSP_CONFIG)
|
||||
|
||||
@@ -216,6 +216,7 @@ config SND_SOC_INTEL_AVS
|
||||
depends on COMMON_CLK
|
||||
select SND_SOC_ACPI if ACPI
|
||||
select SND_SOC_TOPOLOGY
|
||||
select SND_HDA
|
||||
select SND_HDA_EXT_CORE
|
||||
select SND_HDA_DSP_LOADER
|
||||
select SND_INTEL_DSP_CONFIG
|
||||
|
||||
@@ -126,6 +126,7 @@ struct avs_dev {
|
||||
char **lib_names;
|
||||
|
||||
struct completion fw_ready;
|
||||
struct work_struct probe_work;
|
||||
|
||||
struct nhlt_acpi_table *nhlt;
|
||||
struct list_head comp_list;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -6,7 +6,6 @@
|
||||
// Amadeusz Slawinski <amadeuszx.slawinski@linux.intel.com>
|
||||
//
|
||||
|
||||
#include <linux/module.h>
|
||||
#include <sound/hdaudio_ext.h>
|
||||
#include "avs.h"
|
||||
#include "registers.h"
|
||||
@@ -322,5 +321,3 @@ int avs_dsp_delete_pipeline(struct avs_dev *adev, u8 instance_id)
|
||||
ida_free(&adev->ppl_ida, instance_id);
|
||||
return ret;
|
||||
}
|
||||
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#define AZX_PGCTL_LSRMD_MASK BIT(4)
|
||||
#define AZX_CGCTL_MISCBDCGE_MASK BIT(6)
|
||||
#define AZX_VS_EM2_L1SEN BIT(13)
|
||||
#define AZX_VS_EM2_DUM BIT(23)
|
||||
|
||||
/* Intel HD Audio General DSP Registers */
|
||||
#define AVS_ADSP_GEN_BASE 0x0
|
||||
|
||||
Reference in New Issue
Block a user