-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
Enable NETC support for i.MX95 EKV M7 #81113
Conversation
The following west manifest projects have changed revision in this Pull Request:
✅ All manifest checks OK Note: This message is automatically posted and updated by the Manifest GitHub Action. |
de83b79
to
bef32a2
Compare
Updated to v2. Changes,
Thanks. |
161e579
to
19a45ab
Compare
Rebased to try CI again. |
19a45ab
to
325200b
Compare
Rebased, thanks. |
@JiafeiPan , can you help review this PR. |
pinctrl-names = "default"; | ||
phy-handle = <&phy0>; | ||
phy-connection-type = "rgmii"; | ||
status = "okay"; |
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.
I suggest to disable all related nodes by default in board dts, and enable them in dts overlay, then can use "-DEXTRA_DTC_OVERLAY_FILE=enet1.overlay
" if needed.
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.
Thanks Jiafei. Will do that.
325200b
to
2535a5f
Compare
Updated to v7. Changes include,
Thanks. |
@@ -0,0 +1,17 @@ | |||
/* |
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.
We may have the other overlay for other features, I suggest to put all of them in "dts" sub-directory just like what the other platforms are using.
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.
okay, updated.
Thanks.
@@ -23,6 +23,24 @@ | |||
}; | |||
}; | |||
|
|||
&emdio { | |||
pinctrl-0 = <&emdio_default>; | |||
pinctrl-names = "default"; |
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.
I know these nodes are disabled in soc dts, but I prefer to put explict "disabled" status for these nodes to make it more readable for the user to know it is disabled currently.
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.
okay, updated.
Thanks.
2535a5f
to
f4bc6b7
Compare
Updated to v8. Changes include,
Thanks. |
Updated hal_nxp to support i.MX95 NETC. 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>
f4bc6b7
to
1d44cf2
Compare
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.