Add Zephyr support for the Audio DSP on the MT8196 SOC. This is a very similar device to previous designs. Most of this patch is just DTS. The biggest delta is the more complicated second level interrupt controller, though it is still able to be represented using some vaguely clever DTS config over the older intc_mtk_adsp driver. Also the memory layout is slightly different, requiring a little indirection to set the initial boot stack address and log output buffer. And the timer "irq_ack" register bits moved. Signed-off-by: Andy Ross <andyross@google.com>
18 lines
284 B
Text
18 lines
284 B
Text
# Copyright 2024 The ChromiumOS Authors
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if SOC_MT8196
|
|
|
|
config LEGACY_MULTI_LEVEL_TABLE_GENERATION
|
|
default n
|
|
|
|
config NUM_2ND_LEVEL_AGGREGATORS
|
|
default 2
|
|
|
|
config 2ND_LVL_INTR_00_OFFSET
|
|
default 1
|
|
|
|
config 2ND_LVL_INTR_01_OFFSET
|
|
default 2
|
|
|
|
endif
|