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)
Mon, Jul 20, 7:22 AM
Unknown Object (File)
Sun, Jul 19, 9:00 PM
Unknown Object (File)
Wed, Jul 15, 10:21 AM
Unknown Object (File)
Wed, Jul 15, 7:48 AM
Unknown Object (File)
Wed, Jul 15, 6:10 AM
Unknown Object (File)
Tue, Jul 14, 6:48 PM
Unknown Object (File)
Sat, Jul 4, 8:52 PM
Unknown Object (File)
Fri, Jul 3, 3:10 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.