Skip to content

drivers: ptp_clock: Add NXP NETC PTP Clock Driver #89987

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

Merged
merged 4 commits into from
Jun 6, 2025

Conversation

ZhaoQiang-b45475
Copy link
Contributor

Add NETC PTP CLOCK driver

Copy link
Collaborator

@JiafeiPan JiafeiPan left a comment

Choose a reason for hiding this comment

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

Not sure whether this PR depends on hal_nxp fix: zephyrproject-rtos/hal_nxp#539, if yes, update hal_nxp revision in west.yml to be refs/pull/539/head, and the hal PR will be merged firstly, then merge this PR after updating hal_nxp revision.

Copy link

github-actions bot commented May 20, 2025

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

Name Old Revision New Revision Diff
hal_nxp zephyrproject-rtos/hal_nxp@e0b4343 zephyrproject-rtos/hal_nxp@5d05592 (master) zephyrproject-rtos/[email protected]

All manifest checks OK

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

@github-actions github-actions bot added manifest manifest-hal_nxp DNM (manifest) This PR should not be merged (controlled by action-manifest) labels May 20, 2025
@ZhaoQiang-b45475 ZhaoQiang-b45475 force-pushed the netc_ptp_clock branch 3 times, most recently from bde4225 to 02e5dfb Compare May 22, 2025 01:59
dleach02
dleach02 previously approved these changes Jun 3, 2025
dleach02
dleach02 previously approved these changes Jun 3, 2025
Copy link
Collaborator

@JiafeiPan JiafeiPan left a comment

Choose a reason for hiding this comment

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

Please rebase to trigger twister building again as there are twister issues.

maass-hamburg
maass-hamburg previously approved these changes Jun 4, 2025
@dleach02
Copy link
Member

dleach02 commented Jun 4, 2025

The rust problem was discussed in TSC today. Waiting on

@dleach02
Copy link
Member

dleach02 commented Jun 5, 2025

I've rebased so hopefully the CI failures will be addressed.

dleach02
dleach02 previously approved these changes Jun 5, 2025
JiafeiPan
JiafeiPan previously approved these changes Jun 5, 2025
Comment on lines 549 to 551
};
enetc_ptp_clock: ptp_clock@4ccc0000 {
Copy link
Collaborator

Choose a reason for hiding this comment

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

the blank line is now missing again

Copy link
Member

Choose a reason for hiding this comment

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

This was probably my fault in how I did a rebase without making sure I had the current branch. I'm going to leave this to @ZhaoQiang-b45475 to address while he address @yangbolu1991 comments.

Add Driver for NXP NETC PTP Clock device

Signed-off-by: Qiang Zhao <[email protected]>
Add binding for NXP NETC PTP Clock device

Signed-off-by: Qiang Zhao <[email protected]>
Added ptp_clock node on imx95 core m7

Signed-off-by: Qiang Zhao <[email protected]>
- Fix Frequency adjust issue for NETC PTP CLOCK

Signed-off-by: Qiang Zhao <[email protected]>
Copy link

sonarqubecloud bot commented Jun 6, 2025

@dleach02
Copy link
Member

dleach02 commented Jun 6, 2025

@maass-hamburg I believe your request has been addressed. Could you reapply your +1

@fabiobaltieri fabiobaltieri merged commit ace509f into zephyrproject-rtos:main Jun 6, 2025
32 checks passed
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.

7 participants