Page MenuHomeFreeBSD

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

Authored by manu on Feb 28 2017, 9:05 AM.
Tags
Referenced Files
F114987692: D9833.id25989.diff
Sat, Apr 19, 8:39 AM
F114984181: D9833.id25781.diff
Sat, Apr 19, 7:48 AM
F114980042: D9833.id.diff
Sat, Apr 19, 6:41 AM
F114977936: D9833.diff
Sat, Apr 19, 6:06 AM
Unknown Object (File)
Fri, Mar 21, 5:44 PM
Unknown Object (File)
Mar 2 2025, 7:11 PM
Unknown Object (File)
Feb 9 2025, 8:03 PM
Unknown Object (File)
Jan 13 2025, 3:11 PM

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.