soc: intel_adsp: tools: cavstool.py: add RPL and ADL-N support

Add PCI device IDs for common Intel Raptor Lake variants and Alder Lake N.
These all have cAVS2.5 audio DSP.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
This commit is contained in:
Kai Vehmanen 2024-10-11 18:43:58 +03:00 committed by Alberto Escolar
parent 7ad012d3bb
commit 475878428c

View file

@ -217,7 +217,8 @@ def map_regs(log_only):
# Platform/quirk detection. ID lists cribbed from the SOF kernel driver # Platform/quirk detection. ID lists cribbed from the SOF kernel driver
global cavs25, ace15, ace20, ace30 global cavs25, ace15, ace20, ace30
did = int(open(f"{pcidir}/device").read().rstrip(), 16) did = int(open(f"{pcidir}/device").read().rstrip(), 16)
cavs25 = did in [ 0x43c8, 0x4b55, 0x4b58, 0x51c8, 0x7ad0, 0xa0c8 ] cavs25 = did in [ 0x43c8, 0x4b55, 0x4b58, 0x51c8, 0x51ca, 0x51cb, 0x51ce, 0x51cf, 0x54c8,
0x7ad0, 0xa0c8 ]
ace15 = did in [ 0x7728, 0x7f50, 0x7e28 ] ace15 = did in [ 0x7728, 0x7f50, 0x7e28 ]
ace20 = did in [ 0xa828 ] ace20 = did in [ 0xa828 ]
ace30 = did in [ 0xe428 ] ace30 = did in [ 0xe428 ]