-
Notifications
You must be signed in to change notification settings - Fork 15
Rework clock muxes into a chain structure #24
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
Conversation
|
Note, this is an early draft. I'd like to discuss the concept before finishing the conversion. This was not validated on the hw, so it can be buggy even for the reworked platforms. |
MarijnS95
left a comment
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.
Sounds like a good idea!
|
@MarijnS95 @konradybcio please review, I think I'm done with the implementation. |
MarijnS95
left a comment
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.
I haven't cross-checked every platform change, but the architectural rework and function implementations look fine to me!
Will try to test on a few platforms when I get the chance.
Enforcing a primary+leaf configuration does not walk for all the cases. Some clocks (msm8996 CPU) have more muxes to be powered on. Other (MCCC) do not require GCC at all. Make clock measurement more versatile by reworking GCC + optional leaf into a chain of muxes. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
|
Quickly tested on |
|
Tested on sm8550, works fine 👍 |
|
My primary testing targets were msm8996 and sm8250. |
Enforcing a primary+leaf configuration does not walk for all the cases. Some clocks (msm8996 CPU) have more muxes to be powered on. Other (MCCC) do not require GCC at all. Make clock measurement more versatile by reworking GCC + optional leaf into a chain of muxes.
cc @MarijnS95 @konradybcio-work