From b9b6c45f2766a3c8cb5a0b7c0e8bb753004b0ff2 Mon Sep 17 00:00:00 2001 From: kettenis Date: Mon, 6 Apr 2026 10:42:12 +0000 Subject: [PATCH] smtclock(4) --- share/man/man4/man4.riscv64/Makefile | 4 +-- share/man/man4/man4.riscv64/smtclock.4 | 42 ++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 share/man/man4/man4.riscv64/smtclock.4 diff --git a/share/man/man4/man4.riscv64/Makefile b/share/man/man4/man4.riscv64/Makefile index 9e7d0076c23..f45bf471dc9 100644 --- a/share/man/man4/man4.riscv64/Makefile +++ b/share/man/man4/man4.riscv64/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.13 2026/04/04 14:12:50 kettenis Exp $ +# $OpenBSD: Makefile,v 1.14 2026/04/06 10:42:12 kettenis Exp $ MAN= intro.4 mpfclock.4 mpfgpio.4 mpfiic.4 plic.4 \ sfcc.4 sfclock.4 sfgpio.4 sfuart.4 sgmsi.4 \ - smtgpio.4 \ + smtclock.4 smtgpio.4 \ stfclock.4 stfpcie.4 stfpciephy.4 stfpinctrl.4 stfrng.4 MANSUBDIR=riscv64 diff --git a/share/man/man4/man4.riscv64/smtclock.4 b/share/man/man4/man4.riscv64/smtclock.4 new file mode 100644 index 00000000000..803dceb3dd2 --- /dev/null +++ b/share/man/man4/man4.riscv64/smtclock.4 @@ -0,0 +1,42 @@ +.\" $OpenBSD: smtclock.4,v 1.1 2026/04/06 10:42:12 kettenis Exp $ +.\" +.\" Copyright (c) 2026 Mark Kettenis +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: April 6 2026 $ +.Dt SMTCLOCK 4 riscv64 +.Os +.Sh NAME +.Nm smtclock +.Nd SpacemiT clock controller +.Sh SYNOPSIS +.Cd "smtclock* at fdt?" +.Sh DESCRIPTION +The +.Nm +driver controls the clock signals for integrated components of +SpacemiT SoCs. +.Sh SEE ALSO +.Xr intro 4 +.Sh HISTORY +The +.Nm +device driver first appeared in +.Ox 7.9 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Mark Kettenis Aq Mt kettenis@openbsd.org .