Skip to content

Conversation

@decsny
Copy link
Member

@decsny decsny commented Jan 8, 2025

Some platforms have an LPSPI wrapped in lp flexcomm and an LPSPI not wrapped in lpflexcomm, on the same platform

Depends on: #82750

@decsny decsny force-pushed the lpspi_lp_flexcomm_inst branch from 5b19046 to e9e2887 Compare January 14, 2025 15:49
@decsny decsny marked this pull request as ready for review January 14, 2025 15:49
@zephyrbot zephyrbot added area: SPI SPI bus platform: NXP Drivers NXP Semiconductors, drivers labels Jan 14, 2025
@zephyrbot zephyrbot added area: I2C area: UART Universal Asynchronous Receiver-Transmitter labels Jan 14, 2025
@zephyrbot zephyrbot requested a review from dcpleung January 14, 2025 17:07
Determine proper irq setup depending whether the spi is wrapped in an
lpflexcomm or not on an instance basis since some platforms have some
wrapped and some not.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
Determine if lpflexcomm wrapped lpi2c by instance and connect
irq differently dependending on that to support platforms with
both flexcomm wrapped and unwrapped lpi2c's.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
Since some platforms may have some lpuart that are wrapped in lpflexcomm
and some that are not, then change the init code to determine how to
connect the interrupt on an instance basis.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
@decsny decsny force-pushed the lpspi_lp_flexcomm_inst branch from 0b5c6fa to ce7aae1 Compare January 14, 2025 17:16
@decsny
Copy link
Member Author

decsny commented Jan 14, 2025

added similar fixes for lpi2c and lpuart to the PR

@decsny decsny changed the title LPSPI check flexcomm wrapping and irq setup per instance LPFlexcomm peripherals check flexcomm wrapping and irq setup per instance Jan 14, 2025
@decsny decsny assigned dleach02 and unassigned tbursztyka Jan 21, 2025
@kartben kartben merged commit d02c48e into zephyrproject-rtos:main Jan 21, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: I2C area: SPI SPI bus area: UART Universal Asynchronous Receiver-Transmitter platform: NXP Drivers NXP Semiconductors, drivers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants