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

arm64/imx9: Add LPSPI driver #12164

Merged
merged 1 commit into from
Apr 18, 2024
Merged

arm64/imx9: Add LPSPI driver #12164

merged 1 commit into from
Apr 18, 2024

Conversation

pussuw
Copy link
Contributor

@pussuw pussuw commented Apr 16, 2024

Summary

Add driver for LPSPI

Impact

Add new driver

Testing

imx93-evk

@pussuw pussuw force-pushed the imx9_lpspi branch 3 times, most recently from 6da28eb to a0f968a Compare April 17, 2024 08:19
/* Invoke SPI DMA */

imx9_lpspi_modifyreg32(priv, IMX9_LPSPI_DER_OFFSET,
0, LPSPI_DER_TDDE | LPSPI_DER_RDDE);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
0, LPSPI_DER_TDDE | LPSPI_DER_RDDE);
0, LPSPI_DER_TDDE | LPSPI_DER_RDDE);

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done


/* Enable SPI again */

imx9_lpspi_modifyreg32(priv, IMX9_LPSPI_CR_OFFSET, 0, LPSPI_CR_MEN); /* SPI alkaa lukeen fifoon tässä ? */
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove the comment or translate to English!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hups ;)

Add driver for LPSPI

Co-authored-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
@acassis acassis merged commit d73aab9 into apache:master Apr 18, 2024
26 checks passed
@pussuw pussuw deleted the imx9_lpspi branch April 18, 2024 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants