From 3819564587feb59311ecc4de826cb4b970f76f3f Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 13 Apr 2026 09:25:26 +0000 Subject: [PATCH] add smtpinctrl(4); ok kettenis@ --- share/man/man4/man4.riscv64/Makefile | 4 +-- share/man/man4/man4.riscv64/smtpinctrl.4 | 42 ++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 share/man/man4/man4.riscv64/smtpinctrl.4 diff --git a/share/man/man4/man4.riscv64/Makefile b/share/man/man4/man4.riscv64/Makefile index eb1bfe38c87..76355d0b7cf 100644 --- a/share/man/man4/man4.riscv64/Makefile +++ b/share/man/man4/man4.riscv64/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.17 2026/04/06 21:49:50 kettenis Exp $ +# $OpenBSD: Makefile,v 1.18 2026/04/13 09:25:26 jsg Exp $ MAN= intro.4 mpfclock.4 mpfgpio.4 mpfiic.4 plic.4 \ sfcc.4 sfclock.4 sfgpio.4 sfuart.4 sgmsi.4 \ - smtclock.4 smtcomphy.4 smtgpio.4 smtiic.4 smtpmic.4 \ + smtclock.4 smtcomphy.4 smtgpio.4 smtiic.4 smtpinctrl.4 smtpmic.4 \ stfclock.4 stfpcie.4 stfpciephy.4 stfpinctrl.4 stfrng.4 MANSUBDIR=riscv64 diff --git a/share/man/man4/man4.riscv64/smtpinctrl.4 b/share/man/man4/man4.riscv64/smtpinctrl.4 new file mode 100644 index 00000000000..a8e9632af8e --- /dev/null +++ b/share/man/man4/man4.riscv64/smtpinctrl.4 @@ -0,0 +1,42 @@ +.\" $OpenBSD: smtpinctrl.4,v 1.1 2026/04/13 09:25:26 jsg Exp $ +.\" +.\" Copyright (c) 2022 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 13 2026 $ +.Dt SMTPINCTRL 4 riscv64 +.Os +.Sh NAME +.Nm smtpinctrl +.Nd SpacemiT K1 pin configuration +.Sh SYNOPSIS +.Cd "smtpinctrl* at fdt?" +.Sh DESCRIPTION +The +.Nm +driver uses pin control data from the device tree to configure +pins on the SpacemiT K1 SoC. +.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 .