add support for getting the frequency of the clocks mventa uses.
authordlg <dlg@openbsd.org>
Sun, 5 Jun 2022 02:43:44 +0000 (02:43 +0000)
committerdlg <dlg@openbsd.org>
Sun, 5 Jun 2022 02:43:44 +0000 (02:43 +0000)
commitdbec3d1c96c526dd7d06d72a0118f8528d271036
treef8d166005cab793eeea00e993d90c08189c20521
parent34667e7ba05bab98e84383c53f45749b952ebb18
add support for getting the frequency of the clocks mventa uses.

mvneta does interrupt coalescing based on time as counted by these
clocks, so being able to ask how fast they tick is useful.

lots of help and ok kettenis@
sys/dev/fdt/mvclock.c