-
Notifications
You must be signed in to change notification settings - Fork 68
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
schemas: introduce assigned-clock-rates-u64 #140
Conversation
@robherring do you have time to give a look on this? Thanks. |
To support rates that exceeds UINT32_MAX, introduce assigned-clock-rates-u64 Signed-off-by: Peng Fan <[email protected]>
BTW, before pinging someone you could answer to existing review. You do not need two reviewers telling you that 32-bit would not work. One reviewer is enough... |
dtschema/schemas/clock/clock.yaml
Outdated
@@ -129,6 +129,8 @@ properties: | |||
$ref: /schemas/types.yaml#/definitions/phandle-array | |||
assigned-clock-rates: | |||
$ref: /schemas/types.yaml#/definitions/uint32-array | |||
assigned-clock-rates-u64: | |||
$ref: /schemas/types.yaml#/definitions/uint32-array |
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.
So how does this exactly work for you? Can you show DTS example using this?
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.
`
assigned-clocks =<&scmi_clk IMX95_CLK_HSIOPLL_VCO>;
assigned-clock-rates-u64 = <0x1 0x1e1a3000>;
`
The linux patch: https://lore.kernel.org/all/[email protected]/
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.
So you can see it is not u32 value... Never mind.
@krzk sorry, I not see comment in this page before I asked Rob to comment. From go through this page, I only see Rob has a comment several hours before. |
|
To support rates that exceeds UINT32_MAX, introduce assigned-clock-rates-u64