Skip to content

add GPIO support on i.MX 943 A-Core #89878

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

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

JiafeiPan
Copy link
Collaborator

This is a following up PR for #89778, in order to make the review easier, I move GPIO support in this PR, so please only review the last five patches in this PR, the other patches are in #89778.

JiafeiPan added 8 commits May 11, 2025 21:06
Tmp patch to depend on:
zephyrproject-rtos/hal_nxp#532

Signed-off-by: Jiafei Pan <[email protected]>
This patch add i.MX 943 soc support.

The i.MX 943 applications processors integrate up to four Arm Cortex-A55
cores and supports functional safety with built-in 2x Arm Cortex -M33 and
-M7 cores which can be configured as a safety island. Optimizing
performance and power efficiency for Industrial, IoT and automotive
devices, i.MX 943 processors are built with NXP’s innovative Energy Flex
architecture.

Signed-off-by: Jiafei Pan <[email protected]>
Added i.MX 943 Cortex-A Core dts file and clock binding header file.

Signed-off-by: Jiafei Pan <[email protected]>
The IMX943 EVK board is a design and evaluation platform based on the
NXP i.MX 943 processor.

Signed-off-by: Jiafei Pan <[email protected]>
Speficy CMSIS patch for Cortex-A Core support in mcux-sdk-ng.

Signed-off-by: Jiafei Pan <[email protected]>
i.MX943 uses MU1 hal driver.

Signed-off-by: Jiafei Pan <[email protected]>
If SCMI clock is used in Zephyr, it will not use hal clock API, so
disalbe hal clock driver and also disable driver clock control in all
the other hal drivers.

Signed-off-by: Jiafei Pan <[email protected]>
Disable power, memory and reset driver which are not used by i.MX 943 A55.

Signed-off-by: Jiafei Pan <[email protected]>
Copy link

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

Name Old Revision New Revision Diff
hal_nxp zephyrproject-rtos/hal_nxp@5e5a498 zephyrproject-rtos/hal_nxp#532 zephyrproject-rtos/hal_nxp#532/files

DNM label due to: 1 project with PR revision

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 13, 2025
JiafeiPan added 5 commits May 13, 2025 18:29
Added all GPIO device nodes in i.MX 943 Cortex-A Core SoC dts.

Signed-off-by: Jiafei Pan <[email protected]>
Add board overlay for i.MX943 EVK Cortex-A Core.

Signed-off-by: Jiafei Pan <[email protected]>
If the platform uses SCMI pinctrl driver, use default pad config value
for GPIO pad configuration.

Signed-off-by: Jiafei Pan <[email protected]>
The hardware don't support GPIO_DISCONNECTED.

Signed-off-by: Jiafei Pan <[email protected]>
…orted

If GPIO_DISCONNECTED is not supported by GPIO driver, then try to configure
the pin to be input, otherwise there will be some unstable signal between
two test pins.

Signed-off-by: Jiafei Pan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ARM64 ARM (64-bit) Architecture area: Clock Control area: GPIO DNM (manifest) This PR should not be merged (controlled by action-manifest) manifest manifest-hal_nxp platform: NXP Drivers NXP Semiconductors, drivers platform: NXP MPU platform: NXP NXP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants