-
Notifications
You must be signed in to change notification settings - Fork 7.8k
drivers: cc: mcux: Fix incorrect clock source of FlexSPI2 #79217
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: cc: mcux: Fix incorrect clock source of FlexSPI2 #79217
Conversation
Thanks for the fix, you have a few compliance issues that need to be fixed (you can fix up this commit and force push over the branch you sent the PR from):
As the error above hints, you can also run |
The clock control mcux rev2 returns FlexSPI1 clock rate when FlexSPI2 clock rate is requested. Signed-off-by: Martin Stumpf <[email protected]>
adc2760
to
f5267e3
Compare
This script (on windows) gives me a segmentation fault :/ I hope it's correct now |
Ah yeah, sorry- I should have made that clear in my first message, the script is only tested in linux :/ |
@danieldegrasse Will this be backported to 3.7? We encountered this issue at work on the 3.7 LTS release, and would like to stay upstream if possible and not on our own fork. |
to do that then you need to open a bug report issue and link it to this PR, and then have someone add the backport tag to this PR |
Due to the following in line
45
,FlexSPI2
actually returned the frequency ofFlexSPI1
:The fix is to adjust the
switch
case to match the#1 + instance
scheme of the other clocks.Needs backporting to 3.7.
Fixes ##79288