Page MenuHomeFreeBSD

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

Authored by manu on Feb 28 2017, 9:05 AM.
Tags
Referenced Files
F151330315: D9833.diff
Tue, Apr 7, 3:49 PM
F151300497: D9833.diff
Tue, Apr 7, 10:30 AM
F151273603: D9833.id25989.diff
Tue, Apr 7, 6:20 AM
F151230271: D9833.id25989.diff
Tue, Apr 7, 12:19 AM
Unknown Object (File)
Fri, Apr 3, 11:17 PM
Unknown Object (File)
Fri, Apr 3, 5:38 PM
Unknown Object (File)
Fri, Apr 3, 10:58 AM
Unknown Object (File)
Sun, Mar 29, 9:54 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.