Page MenuHomeFreeBSD

extres: clk: Export clkdom and clocks under sysctl.
ClosedPublic

Authored by manu on Feb 28 2017, 9:05 AM.
Tags
Referenced Files
Unknown Object (File)
Sun, Apr 26, 1:53 AM
Unknown Object (File)
Sat, Apr 25, 9:21 AM
Unknown Object (File)
Thu, Apr 23, 12:41 PM
Unknown Object (File)
Thu, Apr 23, 12:42 AM
Unknown Object (File)
Tue, Apr 21, 1:53 PM
Unknown Object (File)
Fri, Apr 10, 9:56 AM
Unknown Object (File)
Tue, Apr 7, 3:49 PM
Unknown Object (File)
Tue, Apr 7, 10:30 AM

Details

Summary

Each clock domain export a sysctl dev.clkdom.unit.clocks containing all the

clocks that they provide.
Each clocks are exported under the root node 'clock.' and have the following
children nodes :
- frequency
- parent (The selected parent, if any)
- parents (The list of parents, if any)
- childrens (The list of childrens, if any)
- enable_cnt (The enabled counter)

This give us the possibility to examine clocks at runtime and make graph of
the clock flow.
Test Plan

Tested on Allwinner board with EXT_RESOURCES>

Diff Detail

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

Event Timeline

manu retitled this revision from to extres: clk: Export clkdom and clocks under sysctl..
manu updated this object.
manu edited the test plan for this revision. (Show Details)
manu added reviewers: ARM, mmel.
manu set the repository for this revision to rS FreeBSD src repository - subversion.
manu added a project: ARM.
manu added a subscriber: ARM.
mmel edited edge metadata.

Perfect :)

This revision is now accepted and ready to land.Mar 2 2017, 5:18 PM
This revision was automatically updated to reflect the committed changes.