Skip to content
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

Enable NETC support for i.MX95 EKV M7 #81113

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

Conversation

yangbolu1991
Copy link
Contributor

This PR is to enable NETC support for i.MX95 EKV M7.
There are dependencies of this PR.

Current PR already cherry-pick scmi changes and updated west.yml to address the dependency for CI.
And will drop them once they are merged.

Thanks.

@zephyrbot
Copy link
Collaborator

zephyrbot commented Nov 8, 2024

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_nxp zephyrproject-rtos/hal_nxp@9dc7449 (master) zephyrproject-rtos/hal_nxp#499 zephyrproject-rtos/hal_nxp#499/files

DNM label due to: 1 project with PR revision

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@yangbolu1991
Copy link
Contributor Author

Updated to v2. Changes,

  • Rebased on latest scmi patches. And addressed west.yml conflict.

Thanks.

@decsny decsny requested review from LaurentiuM1234 and removed request for yvanderv December 17, 2024 17:33
@mmahadevan108
Copy link
Collaborator

Please help address the CI failures.

@yangbolu1991 yangbolu1991 dismissed stale reviews from dleach02 and mmahadevan108 via 70104e8 January 17, 2025 04:47
@zephyrbot zephyrbot added area: ARM ARM (32-bit) Architecture area: Architectures area: Interrupt Controller DNM This PR should not be merged (Do Not Merge) labels Jan 17, 2025
@yangbolu1991
Copy link
Contributor Author

yangbolu1991 commented Jan 17, 2025

Sory, I have an update on the PR.

Updated to v3. Changes,

Already ported #84017 here for CI.
Thank you very much.

@yangbolu1991
Copy link
Contributor Author

Updated to v4. Changes include,

  • Rebased.
  • Added one more patch to exclude tests not suit for multilevel interrupts.

Dependency (ported here for CI):

Thank you very much.

@fabiobaltieri fabiobaltieri added DNM (manifest) This PR should not be merged (controlled by action-manifest) and removed DNM This PR should not be merged (Do Not Merge) labels Feb 4, 2025
Updated hal_nxp to support i.MX95 NETC.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Custom irq control for multi-level interrupts should be allowed.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Multi-level interrupts should be handled in irq init. Only level1
interrupts going directly to interrupt controller need to be
initialized.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Added ARM Cortex-M support for intc_nxp_irqsteer driver.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Current system INTID calcualtion only worked for SoCs whose extended
interrupts started from IRQ 0.
Otherwise, FSL_FEATURE_IRQSTEER_IRQ_START_INDEX should be added for
system INTID.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Added support to get irq from dts node, because some platforms may
use multi-level interrupts, and the system INTID may not be connected
directly to interrupt controller.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Added power domain node and i.MX95 power domain header file.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Added NETC device tree node, and IRQSTEER node.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Enabled multi-level interrupts for m7 since IRQSTEER is used.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
i.MX95 M7 is using multi-level interrupts with custom
interrupt handling. So, arm_custom_interrupt and
arm_irq_vector_table tests should exclude it.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Added support for soc init for NETC.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Added board init for NETC.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Enabled NETC PSI0 for M7.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Updated imx95_evk doc and yml for NETC support on M7.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
@yangbolu1991
Copy link
Contributor Author

Updated to v5. Changes include,

  • Rebased as some changes already merged, and the dependency PR had update.

Dependency:

Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants