-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
base: main
Are you sure you want to change the base?
stm32n6: Provide npu driver #93591
Conversation
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]>
|
|
||
config STM32N6_NPU | ||
bool "Neural-ART accelerator (NPU)" | ||
select USE_STM32_HAL_RIF |
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.
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
Add NPU driver for STM32N6 with matching dts conpatible and description.