Page MenuHomeFreeBSD

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

Authored by manu on Feb 28 2017, 9:05 AM.
Tags
Referenced Files
F106100709: D9833.diff
Wed, Dec 25, 10:07 AM
Unknown Object (File)
Tue, Dec 10, 3:18 PM
Unknown Object (File)
Tue, Dec 10, 7:42 AM
Unknown Object (File)
Sep 19 2024, 5:40 PM
Unknown Object (File)
Sep 19 2024, 3:21 PM
Unknown Object (File)
Sep 11 2024, 10:03 AM
Unknown Object (File)
Sep 8 2024, 5:30 AM
Unknown Object (File)
Sep 8 2024, 12:29 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.