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>
45 lines
723 B
Text
45 lines
723 B
Text
# Copyright 2024 The ChromiumOS Authors
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config SOC_FAMILY_MTK
|
|
bool
|
|
|
|
config SOC_SERIES_MT8195
|
|
bool
|
|
select SOC_FAMILY_MTK
|
|
help
|
|
Mediatek MT8195 Audio DSP
|
|
|
|
config SOC_SERIES_MT818X
|
|
bool
|
|
select SOC_FAMILY_MTK
|
|
help
|
|
Mediatek MT818x Audio DSPs
|
|
|
|
config SOC_SERIES_MT8196
|
|
bool
|
|
select SOC_FAMILY_MTK
|
|
help
|
|
Mediatek MT8196 Audio DSPs
|
|
|
|
config SOC_MT8195
|
|
bool
|
|
select SOC_SERIES_MT8195
|
|
|
|
config SOC_MT8186
|
|
bool
|
|
select SOC_SERIES_MT818X
|
|
|
|
config SOC_MT8188
|
|
bool
|
|
select SOC_SERIES_MT818X
|
|
|
|
config SOC_MT8196
|
|
bool
|
|
select SOC_SERIES_MT8196
|
|
|
|
config SOC
|
|
default "mt8195" if SOC_MT8195
|
|
default "mt8186" if SOC_MT8186
|
|
default "mt8188" if SOC_MT8188
|
|
default "mt8196" if SOC_MT8196
|