Clock rework & AST2600 CLK + FMC Support#85
Draft
sinuscosinustan wants to merge 4 commits intomainfrom
Draft
Conversation
In order to support multiple platforms using different code paths, the functions must be moved into SoC-specific ones, and the generic functions will call the defined functions in `clk_ops`. Signed-off-by: Tan Siewert <tan@siewert.io>
The code was wrongfully marked as compatible for the AST2500, but it actually is for the AST2400. Either way, it seems that the AST2400 code worked (?) on the AST2500, at least to a specific grade. Rename the functions and the compatible to AST2400. The code for the AST2500 will be re-added in a later commit. Signed-off-by: Tan Siewert <tan@siewert.io>
ef534e9 to
cec1eef
Compare
The original implementation used for the AST2500 was the implementation for the AST2400 instead, and the compatibles were fixed. Re-add the support for the AST2500 SoC with the correct implementation for the clock. Signed-off-by: Tan Siewert <tan@siewert.io>
Most of the commands like writing to the FMC require the clock driver. Signed-off-by: Tan Siewert <tan@siewert.io>
cec1eef to
cd7e933
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The previous AST2500 clock implementation was actually for the AST2400 but somehow worked (lol).
This PR: