-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
drivers: ipm: remove nxp,imx-mu-rev2 compatible #64662
drivers: ipm: remove nxp,imx-mu-rev2 compatible #64662
Conversation
Remove nxp,imx-mu-rev2 compatible. This IP block is the same as the nxp,imx-mu device, and should be handled by the same compatible Instead, use CONFIG_HAS_MCUX to determine which HAL APIs should be used to interact with the messaging unit IP. Signed-off-by: Daniel DeGrasse <[email protected]>
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
@@ -6,7 +6,6 @@ zephyr_library() | |||
|
|||
zephyr_library_sources_ifdef(CONFIG_IPM_MCUX ipm_mcux.c) |
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 think there's a typo in commit message here: "The
driver can now be enabled with CONFIG_IPM_IMX_REV2." - s/CONFIG_IPM_IMX_REV2/_CONFIG_IPM_IMX
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.
There is, thanks for noticing. I've updated the PR
@danieldegrasse , please update |
Remove CONFIG_IPM_IMX_REV2, as this Kconfig is no longer needed. The driver can now be enabled with CONFIG_IPM_IMX. Update NXP HAL to remove this Kconfig as well. Signed-off-by: Daniel DeGrasse <[email protected]>
507059e
Done, thanks |
Remove
nxp,imx-mu-rev2
compatible. Thenxp,imx-mu
compatible already handles the same hardware, so we can simply useCONFIG_HAS_MCUX
to detect when we need to use legacy i.MX HAL APIs, versus when we can use MCUX HAL API for the messaging unit.