summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2019-12-23 08:05:43 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2019-12-23 08:05:43 +0000
commit54a8a4670ad9f45c20946fd5715fbdb306a75ea3 (patch)
tree0a2995e59c9dae00aaeaf6fdffd80bce83729336 /share
parent5dfcefcd578ee48245f4c99b9cb4acf6105df54f (diff)
Add amdgpio(4), a driver for the GPIO controller found on newer AMD
AMD SoCs/chipsets. From James Hastings
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/Makefile4
-rw-r--r--share/man/man4/acpi.46
-rw-r--r--share/man/man4/amdgpio.449
3 files changed, 55 insertions, 4 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index 307bd44b66b..9d70964629a 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.746 2019/12/17 23:05:45 deraadt Exp $
+# $OpenBSD: Makefile,v 1.747 2019/12/23 08:05:42 kettenis Exp $
MAN= aac.4 abcrtc.4 ac97.4 acphy.4 acrtc.4 \
acpi.4 acpiac.4 acpials.4 acpiasus.4 acpibat.4 \
@@ -10,7 +10,7 @@ MAN= aac.4 abcrtc.4 ac97.4 acphy.4 acrtc.4 \
admtm.4 admtmp.4 admtt.4 adt.4 adtfsm.4 adv.4 age.4 alc.4 ale.4 \
aggr.4 agp.4 \
ahc.4 ahci.4 ahd.4 aibs.4 aic.4 \
- akbd.4 alipm.4 amas.4 amdiic.4 amdpm.4 ami.4 \
+ akbd.4 alipm.4 amas.4 amdgpio.4 amdiic.4 amdpm.4 ami.4 \
amlclock.4 amldwusb.4 amliic.4 amlmmc.4 amlpciephy.4 amlpinctrl.4 \
amlpwm.4 amlreset.4 amlrng.4 amluart.4 amlusbphy.4 \
amphy.4 ams.4 an.4 andl.4 aplgpio.4 aps.4 arc.4 arcofi.4 \
diff --git a/share/man/man4/acpi.4 b/share/man/man4/acpi.4
index 794e61ace1e..3ae7f624009 100644
--- a/share/man/man4/acpi.4
+++ b/share/man/man4/acpi.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: acpi.4,v 1.59 2019/06/24 21:33:27 kettenis Exp $
+.\" $OpenBSD: acpi.4,v 1.60 2019/12/23 08:05:42 kettenis Exp $
.\"
.\" Copyright (c) 2006 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: June 24 2019 $
+.Dd $Mdocdate: December 23 2019 $
.Dt ACPI 4
.Os
.Sh NAME
@@ -90,6 +90,8 @@ ACPI video
ACPI video output
.It Xr aibs 4
ASUSTeK AI Booster ACPI ATK0110 temperature, voltage, and fan sensor
+.It Xr amdgpio 4
+AMD GPIO controller
.It Xr aplgpio 4
Intel Apollo Lake GPIO controller
.It Xr bytgpio 4
diff --git a/share/man/man4/amdgpio.4 b/share/man/man4/amdgpio.4
new file mode 100644
index 00000000000..f7125c1af3b
--- /dev/null
+++ b/share/man/man4/amdgpio.4
@@ -0,0 +1,49 @@
+.\" $OpenBSD: amdgpio.4,v 1.1 2019/12/23 08:05:42 kettenis Exp $
+.\"
+.\" Copyright (c) 2019 James Hastings
+.\"
+.\" 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: December 23 2019 $
+.Dt AMDGPIO 4
+.Os
+.Sh NAME
+.Nm amdgpio
+.Nd AMD GPIO controller
+.Sh SYNOPSIS
+.Cd "amdgpio* at acpi?"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for the GPIO controller found on AMD chipsets.
+It does not provide direct device driver entry points but makes its
+functions available to
+.Xr acpi 4 .
+.Sh SEE ALSO
+.Xr acpi 4 ,
+.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 James Hastings
+based on the
+.Xr bytgpio 4
+driver by
+.An Mark Kettenis Aq Mt kettenis@openbsd.org .