summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorRaphael Graf <rapha@cvs.openbsd.org>2013-11-20 21:50:36 +0000
committerRaphael Graf <rapha@cvs.openbsd.org>2013-11-20 21:50:36 +0000
commitcf654c0c0898f6e9270d6e1dc044545e7e8cb231 (patch)
tree0fcf189d701c71baef044260ee5631deef8671cc /share/man
parentc05cf462d118fcde66428d72d471de60d450f294 (diff)
Add omgpio(4) manpage.
Help and ok jmc@, syl@
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man4/gpio.45
-rw-r--r--share/man/man4/man4.armv7/Makefile4
-rw-r--r--share/man/man4/man4.armv7/omgpio.450
3 files changed, 55 insertions, 4 deletions
diff --git a/share/man/man4/gpio.4 b/share/man/man4/gpio.4
index bad0ca7de3c..6ae92ba1183 100644
--- a/share/man/man4/gpio.4
+++ b/share/man/man4/gpio.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gpio.4,v 1.19 2013/07/16 16:05:48 schwarze Exp $
+.\" $OpenBSD: gpio.4,v 1.20 2013/11/20 21:50:35 rapha Exp $
.\"
.\" Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 16 2013 $
+.Dd $Mdocdate: November 20 2013 $
.Dt GPIO 4
.Os
.Sh NAME
@@ -27,6 +27,7 @@
.Cd "gpio* at gscpcib?" Pq i386
.Cd "gpio* at isagpio?"
.Cd "gpio* at nsclpcsio?"
+.Cd "gpio* at omgpio?" Pq armv7
.Cd "gpio* at pcagpio?"
.Cd "gpio* at pcaled?"
.Cd "gpio0 at voyager?" Pq loongson
diff --git a/share/man/man4/man4.armv7/Makefile b/share/man/man4/man4.armv7/Makefile
index 6101908127e..9d5e0cf892b 100644
--- a/share/man/man4/man4.armv7/Makefile
+++ b/share/man/man4/man4.armv7/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.2 2013/10/16 15:24:36 rapha Exp $
+# $OpenBSD: Makefile,v 1.3 2013/11/20 21:50:35 rapha Exp $
-MAN= cpsw.4 ommmc.4
+MAN= cpsw.4 omgpio.4 ommmc.4
MANSUBDIR=armv7
diff --git a/share/man/man4/man4.armv7/omgpio.4 b/share/man/man4/man4.armv7/omgpio.4
new file mode 100644
index 00000000000..bfeace49527
--- /dev/null
+++ b/share/man/man4/man4.armv7/omgpio.4
@@ -0,0 +1,50 @@
+.\" $OpenBSD: omgpio.4,v 1.1 2013/11/20 21:50:35 rapha Exp $
+.\"
+.\" Copyright (c) 2013 Raphael Graf <r@undefined.ch>
+.\"
+.\" 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: November 20 2013 $
+.Dt OMGPIO 4 armv7
+.Os
+.Sh NAME
+.Nm omgpio
+.Nd omap3, omap4 and am335x GPIO controller
+.Sh SYNOPSIS
+.Cd "omgpio* at omap?"
+.Cd "gpio* at omgpio?"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for the GPIO controllers found on omap3, omap4 and
+am334x SoCs.
+The devices have 32 pins which can be configured as either inputs or outputs,
+and accessed using
+.Xr gpioctl 8 .
+.\" Both values are made available through the
+.\" .Xr sysctl 8
+.\" interface.
+.Sh SEE ALSO
+.Xr gpio 4 ,
+.Xr gpioctl 8
+.Sh HISTORY
+The
+.Nm
+driver first appeared in
+.Ox 5.5 .
+.Sh AUTHORS
+.An -nosplit
+The
+.Nm
+driver was written by
+.An Dale Rahn Aq Mt drahn@dalerahn.com .