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

drivers: ipm: remove nxp,imx-mu-rev2 compatible #64662

Merged
merged 2 commits into from
Nov 6, 2023
Merged

drivers: ipm: remove nxp,imx-mu-rev2 compatible #64662

merged 2 commits into from
Nov 6, 2023

Conversation

danieldegrasse
Copy link
Collaborator

Remove nxp,imx-mu-rev2 compatible. The nxp,imx-mu compatible already handles the same hardware, so we can simply use CONFIG_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.

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]>
@zephyrbot
Copy link
Collaborator

zephyrbot commented Oct 31, 2023

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff
hal_nxp zephyrproject-rtos/hal_nxp@ad142f5 zephyrproject-rtos/hal_nxp@361ccc5 (master) zephyrproject-rtos/[email protected]

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

dcpleung
dcpleung previously approved these changes Oct 31, 2023
@dcpleung dcpleung assigned dleach02 and unassigned dcpleung Oct 31, 2023
@@ -6,7 +6,6 @@ zephyr_library()

zephyr_library_sources_ifdef(CONFIG_IPM_MCUX ipm_mcux.c)
Copy link
Collaborator

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

Copy link
Collaborator Author

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

iuliana-prodan
iuliana-prodan previously approved these changes Nov 1, 2023
dleach02
dleach02 previously approved these changes Nov 2, 2023
@mmahadevan108
Copy link
Collaborator

@danieldegrasse , please update west.yml

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]>
@danieldegrasse
Copy link
Collaborator Author

@danieldegrasse , please update west.yml

Done, thanks

@zephyrbot zephyrbot removed the DNM This PR should not be merged (Do Not Merge) label Nov 3, 2023
@carlescufi carlescufi merged commit 29ab2b1 into zephyrproject-rtos:main Nov 6, 2023
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Devicetree Binding PR modifies or adds a Device Tree binding area: IPM Inter-Processor Mailbox area: Xtensa Xtensa Architecture manifest manifest-hal_nxp platform: NXP NXP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants