-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There is resistance to having the top-level board/SOC in this scheme be an "audio DSP" (the real devices are integrated application processors running Linux with GPUs, etc...). So effect a big rename a-la HWMv2: + Board and SOC get the full product name and lose their "_adsp" suffix + "adsp" becomes a CPU Cluster underneath the SOC + All the various kconfigs get renamed accordingly The only user-visible impact is that the "board-only" name disappears, and you have to specify e.g. "mt8196/mt8196/adsp" to west (though you can elide the duplicate SOC name as use "mt8196//adsp" if desired). Signed-off-by: Andy Ross <[email protected]>
- Loading branch information
Showing
49 changed files
with
156 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../mediatek/mt8186_adsp/Kconfig.mt8186_adsp → boards/mediatek/mt8186/Kconfig.mt8186
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Copyright 2024 The ChromiumOS Authors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config BOARD_MT8186_ADSP | ||
select SOC_MT8186_ADSP | ||
config BOARD_MT8186 | ||
select SOC_MT8186 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
boards: | ||
- name: mt8186 | ||
vendor: mediatek | ||
socs: | ||
- name: mt8186 |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
.../mediatek/mt8188_adsp/Kconfig.mt8188_adsp → boards/mediatek/mt8188/Kconfig.mt8188
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Copyright 2024 The ChromiumOS Authors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config BOARD_MT8188_ADSP | ||
select SOC_MT8188_ADSP | ||
config BOARD_MT8188 | ||
select SOC_MT8188 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
boards: | ||
- name: mt8188 | ||
vendor: mediatek | ||
socs: | ||
- name: mt8188 |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
.../mediatek/mt8195_adsp/Kconfig.mt8195_adsp → boards/mediatek/mt8195/Kconfig.mt8195
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Copyright 2023 The ChromiumOS Authors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config BOARD_MT8195_ADSP | ||
select SOC_MT8195_ADSP | ||
config BOARD_MT8195 | ||
select SOC_MT8195 | ||
help | ||
Board with Mediatek MT8195 Audio DSP |
4 changes: 2 additions & 2 deletions
4
boards/mediatek/mt8195_adsp/board.yml → boards/mediatek/mt8195/board.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
boards: | ||
- name: mt8195_adsp | ||
- name: mt8195 | ||
full_name: MT8195 ADSP | ||
vendor: mediatek | ||
socs: | ||
- name: mt8195_adsp | ||
- name: mt8195 |
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
.../mediatek/mt8196_adsp/Kconfig.mt8196_adsp → boards/mediatek/mt8196/Kconfig.mt8196
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Copyright 2024 The ChromiumOS Authors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config BOARD_MT8196_ADSP | ||
select SOC_MT8196_ADSP | ||
config BOARD_MT8196 | ||
select SOC_MT8196 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
boards: | ||
- name: mt8196 | ||
vendor: mediatek | ||
socs: | ||
- name: mt8196 |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Copyright 2024 The ChromiumOS Authors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config SOC_FAMILY_MTK_ADSP | ||
config SOC_FAMILY_MTK | ||
select XTENSA | ||
select XTENSA_GEN_HANDLERS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# 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 |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ek/mtk_adsp/mt8186_adsp/Kconfig.defconfig → soc/mediatek/mt8xxx/mt8186/Kconfig.defconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* Copyright 2024 The ChromiumOS Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#ifndef ZEPHYR_SOC_MT8186_SOC_H | ||
#define ZEPHYR_SOC_MT8186_SOC_H | ||
|
||
#include "../soc.h" | ||
|
||
#endif /* ZEPHYR_SOC_MT8186_SOC_H */ |
2 changes: 1 addition & 1 deletion
2
...ek/mtk_adsp/mt8188_adsp/Kconfig.defconfig → soc/mediatek/mt8xxx/mt8188/Kconfig.defconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* Copyright 2024 The ChromiumOS Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#ifndef ZEPHYR_SOC_MT8188_SOC_H | ||
#define ZEPHYR_SOC_MT8188_SOC_H | ||
|
||
#include "../soc.h" | ||
|
||
#endif /* ZEPHYR_SOC_MT8188_SOC_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* Copyright 2023 The ChromiumOS Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#ifndef ZEPHYR_SOC_MT8195_SOC_H | ||
#define ZEPHYR_SOC_MT8195_SOC_H | ||
|
||
#include "../soc.h" | ||
|
||
#endif /* ZEPHYR_SOC_MT8195_SOC_H */ |
2 changes: 1 addition & 1 deletion
2
...ek/mtk_adsp/mt8196_adsp/Kconfig.defconfig → soc/mediatek/mt8xxx/mt8196/Kconfig.defconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* Copyright 2024 The ChromiumOS Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#ifndef ZEPHYR_SOC_MT8196_SOC_H | ||
#define ZEPHYR_SOC_MT8196_SOC_H | ||
|
||
#include "../soc.h" | ||
|
||
#endif /* ZEPHYR_SOC_MT8196_SOC_H */ |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
family: | ||
- name: mt8xxx | ||
series: | ||
- name: mt8195 | ||
socs: | ||
- name: mt8195 | ||
cpuclusters: | ||
- name: adsp | ||
- name: mt818x | ||
socs: | ||
- name: mt8186 | ||
cpuclusters: | ||
- name: adsp | ||
- name: mt8188 | ||
cpuclusters: | ||
- name: adsp | ||
- name: mt8196 | ||
socs: | ||
- name: mt8196 | ||
cpuclusters: | ||
- name: adsp |
Oops, something went wrong.