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
Introduce support for NXP MR-CANHUBK3 board #58332
Merged
mmahadevan108
merged 12 commits into
zephyrproject-rtos:main
from
nxp-zephyr:mr_canhubk3_minimal
Jul 6, 2023
Merged
Introduce support for NXP MR-CANHUBK3 board #58332
mmahadevan108
merged 12 commits into
zephyrproject-rtos:main
from
nxp-zephyr:mr_canhubk3_minimal
Jul 6, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
manuargue
requested review from
nashif,
mnkp,
carlescufi,
galak,
MaureenHelm,
gmarull and
dcpleung
as code owners
May 26, 2023 16:14
zephyrbot
added
area: Devicetree Binding
PR modifies or adds a Device Tree binding
platform: NXP
NXP
manifest-hal_nxp
area: Pinctrl
area: Interrupt Controller
area: GPIO
area: Clock Control
labels
May 26, 2023
zephyrbot
requested review from
danieldegrasse,
dbaluta,
decsny,
DerekSnell,
dleach02,
EmilioCBen,
mmahadevan108 and
yvanderv
May 26, 2023 16:14
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. |
manuargue
force-pushed
the
mr_canhubk3_minimal
branch
3 times, most recently
from
May 30, 2023 11:39
f42022c
to
d810be2
Compare
manuargue
force-pushed
the
mr_canhubk3_minimal
branch
from
June 13, 2023 08:58
d810be2
to
88075b4
Compare
manuargue
force-pushed
the
mr_canhubk3_minimal
branch
from
June 30, 2023 14:58
13dbc35
to
5197bff
Compare
rebased to pick up changes from #59876 |
@manuargue can you please update |
manuargue
force-pushed
the
mr_canhubk3_minimal
branch
from
July 4, 2023 21:38
5197bff
to
eb32fc0
Compare
The S32K3 MCUs are 32-bit Arm Cortex-M7-based microcontrollers with a focus on automotive and industrial applications. The S32K344 features a lock-step core, internal flash, RAM and TCM with ECC. Co-authored-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com> Co-authored-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com> Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
Introduce minimal power initialization for NXP S32 SoCs and allow to reset the SoC through the sys_reboot() API. Presently only S32K3 SoCs is supported but it can be extended later to other NXP S32 SoCs, hence it's placed in a common directory. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
NXP MR-CANHUBK3 is an evaluation board for mobile robotics applications. It features an NXP S32K344 MCU based on an Arm Cortex-M7 core (lock-step). By default, this board configuration uses Lauterbach TRACE32 West runner for flashing and debugging applications, but other debuggers can be used to download the program to flash. Co-authored-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com> Co-authored-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com> Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
The clock controller is a singleton controller for all the system-level clocks (XOSC, PLL, CGM, etc) to provide run-time information to the peripheral device drivers about the module's clocks. Clock configuration is not yet supported. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
Enable clock control by default on S32K344 SoCs and add clock definitions. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
Unify the pinctrl_soc.h header for all the NXP S32 family by using the HAL macros that expose the features supported on specific devices. This approach still need a different binding for each device to expose in DT different properties and allowed values. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
Support pin control for NXP S32K3 devices and enable it by default on mr_canhubk3 board configuration. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
SIUL2 may require multiple interrupt handlers instead of a single one as currently supported for S32Z/E. This is needed to enable support on S32K3. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
Add GPIO support for mr_canhubk3 board and enable GPIO tests. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
Some NXP S32 devices share common harwdware blocks with other non-S32 devices which are already supported using MCUX-based drivers. In order to leverage existing support, allow to build with MCUX enabled for NXP S32 family. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
manuargue
force-pushed
the
mr_canhubk3_minimal
branch
from
July 5, 2023 17:39
eb32fc0
to
2cb1e15
Compare
danieldegrasse
previously approved these changes
Jul 5, 2023
Reuse existing MCUX-based shim driver for LPUART that is compatible with the hardware block in S32K344. DMA is not yet supported. Use the board's debug connector (P6 / LPUART2) as default console. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
Document current support for mr_canhubk3 board. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
manuargue
force-pushed
the
mr_canhubk3_minimal
branch
from
July 6, 2023 01:00
2cb1e15
to
8a75545
Compare
danieldegrasse
approved these changes
Jul 6, 2023
mmahadevan108
approved these changes
Jul 6, 2023
13 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: Clock Control
area: Devicetree Binding
PR modifies or adds a Device Tree binding
area: GPIO
area: Interrupt Controller
area: Pinctrl
manifest
manifest-hal_nxp
platform: NXP
NXP
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduce minimal support for NXP MR-CANHUBK3 board, including: GPIO, UART, pin control and clock control. This board is based on a NXP S32K344, so support for this SoC is also added. The S32K3 family share some fair amount of hardware blocks with other non-S32 devices so in order to reuse existing MCUX-based shim drivers, allow to build MCUX drivers for the NXP S32 family as well.