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

Add initial support NXP MCXN947 #69890

Merged
merged 14 commits into from Mar 13, 2024

Conversation

mmahadevan108
Copy link
Collaborator

This PR adds initial support for UART console and GPIO for NXP MCXN947.

@zephyrbot
Copy link
Collaborator

zephyrbot commented Mar 7, 2024

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

Name Old Revision New Revision Diff
hal_nxp zephyrproject-rtos/hal_nxp@259bc15 zephyrproject-rtos/hal_nxp@3c4f74b (master) zephyrproject-rtos/hal_nxp@259bc153..3c4f74b4

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

@zephyrbot zephyrbot added manifest manifest-hal_nxp DNM This PR should not be merged (Do Not Merge) labels Mar 7, 2024
boards/nxp/frdm_mcxn947/board.cmake Outdated Show resolved Hide resolved
soc/nxp/mcx/nx4x/Kconfig.soc Outdated Show resolved Hide resolved
drivers/misc/mcux_lp_flexcomm/mcux_lp_flexcomm.h Outdated Show resolved Hide resolved
drivers/serial/uart_mcux_lpuart.c Outdated Show resolved Hide resolved
drivers/serial/uart_mcux_lpuart.c Outdated Show resolved Hide resolved
soc/nxp/mcx/mcxnx4x/linker.ld Outdated Show resolved Hide resolved
soc/nxp/mcx/mcxnx4x/Kconfig.soc Outdated Show resolved Hide resolved
soc/nxp/mcx/mcxnx4x/soc.c Outdated Show resolved Hide resolved
Copy link
Member

@decsny decsny left a comment

Choose a reason for hiding this comment

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

not all of the comments are blocking

blocking requested changes in this latest review:

  • copyrights
  • mfd instead of misc
  • log level configurability

drivers/clock_control/clock_control_mcux_syscon.c Outdated Show resolved Hide resolved
drivers/gpio/gpio_mcux.c Outdated Show resolved Hide resolved
drivers/misc/CMakeLists.txt Outdated Show resolved Hide resolved
drivers/serial/uart_mcux_lpuart.c Outdated Show resolved Hide resolved
drivers/misc/nxp_lp_flexcomm/nxp_lp_flexcomm.c Outdated Show resolved Hide resolved
drivers/misc/nxp_lp_flexcomm/nxp_lp_flexcomm.c Outdated Show resolved Hide resolved
drivers/misc/nxp_lp_flexcomm/nxp_lp_flexcomm.c Outdated Show resolved Hide resolved
drivers/misc/nxp_lp_flexcomm/nxp_lp_flexcomm.c Outdated Show resolved Hide resolved
drivers/misc/nxp_lp_flexcomm/nxp_lp_flexcomm.c Outdated Show resolved Hide resolved
decsny
decsny previously approved these changes Mar 13, 2024
mmahadevan108 and others added 14 commits March 13, 2024 11:55
This binding is for the NXP FlexComm Interface. The
driver will setup an interface for use as a UART, SPI
or I2C device.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
1. This driver allows to configure the Low Power Flexcomm
   interface as a UART, SPI or I2C device.
2. Manages the interrupts and dispatches it to the
   appropriate device driver.
3. A Flexcomm interface can be configured to be used as
   I2C and UART device. However a SPI device cannot be used
   concurrently with I2C or UART. Add checks for this feature.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
The Low Power Flexcomm driver manages the interrupt handling
and provides an API to register interrupt callbacks.
Register the NXP LPUART interrupt handler.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
1. Add support to enable PORT control clocks
2. Add support for LP Flexcomm
3. MCX family has a different Clock API for USDHC.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
Some NXP SoC's have a FlexComm interface which manages
interrupts.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
The enum define is not implemented with the same name on all SoC's.
Use the register define instead.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
Some versions that use the kinetis pinctrl use the
input buffer

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
MCX has more port modules which requires updating
the pinctrl driver

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
Add support for devices that use the kinetis
GPIO/PORT scheme but with the slight modification
that the interrupt control bits are in the GPIO
peripheral instead of the PORT peripheral.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
Add initial support for NXP MCXN94X

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
Add initial support for NXP MCXN947 SoC

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
Add support for frdm_mcxn947 board

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>`
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
Get HAL updates for MCXN947 support

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
Add documentation for FRDM-MCXN947

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
@zephyrbot zephyrbot removed the DNM This PR should not be merged (Do Not Merge) label Mar 13, 2024
@fabiobaltieri fabiobaltieri merged commit 870806c into zephyrproject-rtos:main Mar 13, 2024
23 of 24 checks passed
@mmahadevan108 mmahadevan108 deleted the Add_Support_MCXN947 branch March 14, 2024 13:45
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.

None yet

7 participants