-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: mtk: add afe drivers for mt8196
Add AFE drivers for memif/singen control. Signed-off-by: Darren Ye <[email protected]>
- Loading branch information
Darren Ye
committed
Jan 16, 2025
1 parent
aef943d
commit d2ab33a
Showing
3 changed files
with
31 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,6 @@ endif() | |
if(CONFIG_MT8195) | ||
add_subdirectory(mt8195) | ||
endif() | ||
if(CONFIG_MT8196) | ||
add_subdirectory(mt8196) | ||
endif() |
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 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
if(CONFIG_TEST_SGEN) | ||
add_local_sources(sof afe-sgen.c) | ||
endif() |
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,23 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
/* | ||
* Copyright(c) 2024 MediaTek. All rights reserved. | ||
* | ||
* Author: Darren Ye <[email protected]> | ||
*/ | ||
|
||
#include <stdint.h> | ||
|
||
#include <sof/drivers/afe-sgen.h> | ||
#include <sof/lib/io.h> | ||
#include <sof/lib/uuid.h> | ||
#include <sof/trace/trace.h> | ||
#include <mt8196-afe-reg.h> | ||
#include <mt8196-afe-common.h> | ||
|
||
void afe_sinegen_enable(void) | ||
{ | ||
} | ||
|
||
void afe_sinegen_disable(void) | ||
{ | ||
} |