diff options
author | 2022-11-11 12:26:47 +0800 | |
---|---|---|
committer | 2022-11-23 15:32:02 +0000 | |
commit | 8ebc90741e96646af7320336ac4433eea175390a (patch) | |
tree | 26e8bb25bd7a20c5759f8c6a348306cd4b7a2361 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | soundwire: intel_init: remove useless interrupt enablement in interrupt thread (diff) | |
download | wireguard-linux-8ebc90741e96646af7320336ac4433eea175390a.tar.xz wireguard-linux-8ebc90741e96646af7320336ac4433eea175390a.zip |
ASoC: SOF: Intel: hda: add per-chip enable_sdw_irq() callback
Different generations of Intel hardware rely on different programming
sequences to enable SoundWire IP. In existing hardware, the SoundWire
interrupt is enabled with a register field in the DSP register
space. With HDaudio multi-link extensions registers, the SoundWire
interrupt will be enabled with a generic interrupt enable field in
LCTL, without any dependency on the DSP being enabled.
Add a per-chip callback following the example of the check_sdw_irq()
model already upstream.
Note that the callback is not populated yet for MeteorLake (MTL) since
the interrupts are already enabled in the init. A follow-up patch will
move the functionality to this callback after a couple of cleanups.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20221111042653.45520-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions