Page MenuHomeFreeBSD

ofw_cpu: Add support for getting cpu clock via clock property
ClosedPublic

Authored by manu on Jul 19 2018, 11:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 15 2023, 8:48 AM
Unknown Object (File)
Nov 26 2023, 4:23 PM
Unknown Object (File)
Sep 26 2023, 8:16 AM
Unknown Object (File)
Sep 12 2023, 4:15 AM
Unknown Object (File)
Sep 1 2023, 5:10 AM
Unknown Object (File)
Aug 24 2023, 11:23 AM
Unknown Object (File)
Aug 7 2023, 12:27 PM
Unknown Object (File)
Jul 3 2023, 6:44 PM
Subscribers

Details

Summary

Nominal Mhz is either expressed via the clock-frequency property or can be get via the clock property that holds the cpu clock.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18164
Build 17899: arc lint + arc unit

Event Timeline

Since I'm not familiar with the clock code, where is EXT_RESOURCES defined? Can we just use that code unconditionally?

Since I'm not familiar with the clock code, where is EXT_RESOURCES defined? Can we just use that code unconditionally?

It's defined in kernel configs.
Currently it's defined for arm/GENERIC and arm64/GENERIC
We should probably switch to being defined by default but not before 12.0 I think.

This revision is now accepted and ready to land.Jul 31 2018, 8:40 PM
This revision was automatically updated to reflect the committed changes.