Skip to content

stm32n6: Provide npu driver #93591

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

erwango
Copy link
Member

@erwango erwango commented Jul 23, 2025

Add NPU driver for STM32N6 with matching dts conpatible and description.

erwango added 3 commits July 24, 2025 11:29
Provide Neural-ART driver for STM32N6.
This driver handles unit initialization (clock, rif).

Signed-off-by: Erwan Gouriou <[email protected]>
Provide binding for `st,stm32-npu` compatible and node in SoC dtsi.

Signed-off-by: Erwan Gouriou <[email protected]>
Those memories should be disabled by default and enabled
at application level.

Incidentally, fix the way Kconfig symbol is enabled as
we should not parse status of ramcfg, but status of enabled
memory nodes.

Signed-off-by: Erwan Gouriou <[email protected]>
Copy link


config STM32N6_NPU
bool "Neural-ART accelerator (NPU)"
select USE_STM32_HAL_RIF
Copy link

@avolmat-st avolmat-st Aug 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be better to mention select RESET here as well ?
I faced an issue with another driver which didn't have select RESET, leading to failure to initialized once I disabled the CONFIG_SERIAL, cf #94041

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: STM32 ST Micro STM32
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants