summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2020-04-24 10:05:18 +0000
committerkettenis <kettenis@openbsd.org>2020-04-24 10:05:18 +0000
commit41af1e721dce003c036b6cfb4d1c7b1d3c932b3c (patch)
treee5b9d5b14937648189cb43ccba4fb45825b803f6
parentAdd bcmgpio(4). For now this driver only provides pinctrl functionality. (diff)
downloadwireguard-openbsd-41af1e721dce003c036b6cfb4d1c7b1d3c932b3c.tar.xz
wireguard-openbsd-41af1e721dce003c036b6cfb4d1c7b1d3c932b3c.zip
bcmgpio(4)
-rw-r--r--share/man/man4/Makefile6
-rw-r--r--share/man/man4/bcmgpio.445
2 files changed, 48 insertions, 3 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index 7a0ccd33a0c..a7a2000f01b 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.767 2020/04/22 10:10:41 kettenis Exp $
+# $OpenBSD: Makefile,v 1.768 2020/04/24 10:05:18 kettenis Exp $
MAN= aac.4 abcrtc.4 ac97.4 acphy.4 acrtc.4 \
acpi.4 acpiac.4 acpials.4 acpiasus.4 acpibat.4 \
@@ -17,8 +17,8 @@ MAN= aac.4 abcrtc.4 ac97.4 acphy.4 acrtc.4 \
asbtm.4 asmc.4 ast.4 atapiscsi.4 atphy.4 ath.4 athn.4 atu.4 atw.4 \
auacer.4 audio.4 aue.4 auglx.4 auich.4 auixp.4 autri.4 auvia.4 \
axe.4 axen.4 axppmic.4 azalia.4 \
- bce.4 bcmaux.4 bcmclock.4 bcmdmac.4 bcmdog.4 bcmirng.4 bcmmbox.4 \
- bcmpcie.4 bcmrng.4 bcmsdhost.4 bcmtemp.4 bdpmic.4 \
+ bce.4 bcmaux.4 bcmclock.4 bcmdmac.4 bcmdog.4 bcmgpio.4 bcmirng.4 \
+ bcmmbox.4 bcmpcie.4 bcmrng.4 bcmsdhost.4 bcmtemp.4 bdpmic.4 \
berkwdt.4 bge.4 bgw.4 bio.4 bpe.4 bktr.4 bmtphy.4 bnx.4 bnxt.4 \
boca.4 bpf.4 brgphy.4 bridge.4 brswphy.4 bse.4 bwfm.4 bwi.4 bytgpio.4 \
cac.4 cas.4 cardbus.4 carp.4 ccp.4 ccpmic.4 cd.4 cdce.4 cfxga.4 \
diff --git a/share/man/man4/bcmgpio.4 b/share/man/man4/bcmgpio.4
new file mode 100644
index 00000000000..97813cde01e
--- /dev/null
+++ b/share/man/man4/bcmgpio.4
@@ -0,0 +1,45 @@
+.\" $OpenBSD: bcmgpio.4,v 1.1 2020/04/24 10:05:18 kettenis Exp $
+.\"
+.\" Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
+.\"
+.\" 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 24 2020 $
+.Dt BCMGPIO 4
+.Os
+.Sh NAME
+.Nm bcmgpio
+.Nd Broadcom BCM283x GPIO controller
+.Sh SYNOPSIS
+.Cd "bcmgpio* at fdt?"
+.Sh DESCRIPTION
+The
+.Nm
+driver uses pin control data from the device tree to select one of
+multiple possible roles available for pins on Broadcom BCM283x and
+BCM2711 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 6.7 .
+.Sh AUTHORS
+.An -nosplit
+The
+.Nm
+driver was written by
+.An Mark Kettenis Aq Mt kettenis@openbsd.org .