-
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: mcux: flexio: Added generic MCUX FlexIO driver #53748
Conversation
6acae79
to
202572f
Compare
The driver will not pass the tests until the drivers of HAL are enabled (zephyrproject-rtos/hal_nxp#205). |
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config SPI_MCUX_FLEXIO | ||
bool "MCUX FlexIO SPI driver" |
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.
Is this missing default y
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.
@danieldegrasse, Is it worth making this amendment to this PR?
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.
Yes- thank you for adding it. We should change the dependency here to be on DT_HAS_NXP_FLEXIO_SPI_ENABLED
though
drivers.spi.mcux_flexio_spi.loopback: | ||
extra_args: EXTRA_DTC_OVERLAY_FILE="overlay-mcux-flexio-spi.overlay" | ||
extra_configs: | ||
- CONFIG_SPI_MCUX_FLEXIO=y |
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.
Not needed if we default y
the driver Kconfig
a65ce04
to
c69a371
Compare
c69a371
to
62f5d32
Compare
@MikhailSiomin can you take a look at the twister failures? |
@danieldegrasse, It seems to me that failed tests are not related to changes in the PR. |
Added description of flexio peripherals for i.MX rt10xx and kinetis ke1xf series. Signed-off-by: Mikhail Siomin <[email protected]>
Added clock control support for flexIO for i.MX series. Signed-off-by: Mikhail Siomin <[email protected]>
62f5d32
to
f6ce599
Compare
Resolved merge conflicts. |
@MikhailSiomin , thank your contribution. The HAL PR has been merged. Can you please update the Zephyr side. |
Added FlexIO driver that distributes hardware resources between interfaces using them. Signed-off-by: Mikhail Siomin <[email protected]>
Added SPI driver using FlexIO. Signed-off-by: Mikhail Siomin <[email protected]>
Added FlexIO SPI test. Overlay in the tests for mimxrt1064_evk board only. Signed-off-by: Mikhail Siomin <[email protected]>
f754596
f6ce599
to
f754596
Compare
Thank you all for the work done on the PR. |
The driver has been tested on a mimxrt1064_evk board with 4 FlexIO SPI running at the same time.
prj.conf
:mimxrt1064_evk.overlay
:Signed-off-by: Mikhail Siomin [email protected]