Page MenuHomeFreeBSD

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

Authored by manu on Feb 28 2017, 9:05 AM.
Tags
Referenced Files
F168542190: D9833.id25781.diff
Fri, Aug 28, 10:36 PM
Unknown Object (File)
Thu, Aug 27, 1:15 PM
Unknown Object (File)
Thu, Aug 27, 1:13 PM
Unknown Object (File)
Thu, Aug 27, 1:12 PM
Unknown Object (File)
Tue, Aug 18, 8:25 PM
Unknown Object (File)
Tue, Aug 18, 8:03 PM
Unknown Object (File)
Tue, Aug 18, 4:24 PM
Unknown Object (File)
Tue, Aug 18, 9:48 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.