From 2a99d08872227e1e70e53889cf7c68b9205c1ee0 Mon Sep 17 00:00:00 2001 From: kettenis Date: Mon, 30 May 2022 17:44:10 +0000 Subject: [PATCH] sfgpio(4) --- share/man/man4/man4.riscv64/Makefile | 5 ++-- share/man/man4/man4.riscv64/sfgpio.4 | 43 ++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 share/man/man4/man4.riscv64/sfgpio.4 diff --git a/share/man/man4/man4.riscv64/Makefile b/share/man/man4/man4.riscv64/Makefile index c6d30a2f9a7..7f9b1fc29e7 100644 --- a/share/man/man4/man4.riscv64/Makefile +++ b/share/man/man4/man4.riscv64/Makefile @@ -1,6 +1,7 @@ -# $OpenBSD: Makefile,v 1.6 2022/02/18 10:51:43 visa Exp $ +# $OpenBSD: Makefile,v 1.7 2022/05/30 17:44:10 kettenis Exp $ -MAN= intro.4 mpfclock.4 mpfgpio.4 mpfiic.4 plic.4 sfcc.4 sfclock.4 sfuart.4 +MAN= intro.4 mpfclock.4 mpfgpio.4 mpfiic.4 plic.4 \ + sfcc.4 sfclock.4 sfgpio.4 sfuart.4 MANSUBDIR=riscv64 diff --git a/share/man/man4/man4.riscv64/sfgpio.4 b/share/man/man4/man4.riscv64/sfgpio.4 new file mode 100644 index 00000000000..3ff901760e4 --- /dev/null +++ b/share/man/man4/man4.riscv64/sfgpio.4 @@ -0,0 +1,43 @@ +.\" $OpenBSD: sfgpio.4,v 1.1 2022/05/30 17:44:10 kettenis 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: May 30 2022 $ +.Dt SFGPIO 4 riscv64 +.Os +.Sh NAME +.Nm sfgpio +.Nd SiFive GPIO controller +.Sh SYNOPSIS +.Cd "sfgpio* at fdt?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the GPIO ports found on SiFive SoCs. +It does not provide direct device driver entry points but makes its +functions available to other drivers. +.Sh SEE ALSO +.Xr intro 4 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 7.2 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Mark Kettenis Aq Mt kettenis@openbsd.org . -- 2.20.1