-
Notifications
You must be signed in to change notification settings - Fork 348
Add Zephyr support for Mediatek MT8365 platform #10285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Can one of the admins verify this patch?
|
Add Zephyr support for MTK MT8365 platform Signed-off-by: Andrew Perepech <[email protected]>
Add configuration for Mediatek MT8365 board Signed-off-by: Andrew Perepech <[email protected]>
Add MT8365 platform to the SOF Zephyr build script Signed-off-by: Andrew Perepech <[email protected]>
Allow creating DAI configs without .fs property. MT8365 afe_tdm_in and afe_tdm_out DAIs does not have register to configure sampling rate. Signed-off-by: Andrew Perepech <[email protected]>
sram0 memory region holds vectors and heap. On MT8365 platform it is assigned to DRAM. Allocate heap on MT8365 platform on ADSP SRAM instead. Signed-off-by: Andrew Perepech <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andrew-mtk the platform directory will be going away soon as all platform config will be defined in Zephyr. What drivers does Mediatek still have to upstream in Zephyr ?
|
test this please |
|
@andrew-mtk Given this config is in the "extra-configs" in the build script, there is no hard dependency to the Zephyr PRs. Let me know if you are ok to proceed and merge this to SOF (or do you want to wait until the Zephyr PRs are merged). I kicked the mandatory CIs and they should complete today. |
|
@kv2019i, I'm ok if you go ahead and merge this PR. |
|
@lgirdwood , Mediatek SOC still have dependency on AFE driver. The platform/mtk directory has implementation for DAI initialization code and IPC handlers. |
Ok, lets discuss this at next TSC meeting as we do still have some legacy non Zephyr drivers that are being used (and we really need to port these drivers into Zephyr and remove in SOF). One all drivers are in Zephyr, we can remove all abstraction, use native APIs and simplify code. |
|
@lrudyX this should not fail Intel CI as its not being tested, good to merge ? |
I will rerun tests |
Add Zephyr based SOF firmware support for Mediatek MT8365 platform. This PR depends on zephyrproject-rtos/zephyr#96824 and zephyrproject-rtos/hal_xtensa#36