diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2021-09-25 10:43:25 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2021-09-25 10:43:25 +0000 |
commit | 56b8112d6344bfc823f6b80ae3cd8990270344da (patch) | |
tree | fcc182c9df0f4c9408a50aa29d273b7ebf5f7453 /share | |
parent | a62a0892b022a6b9609cc58dd3ca63cb2641e6a5 (diff) |
Add gpioleds(4) for arm64
This driver provides support for LEDs connected to GPIO pins,
such as those found on the Pinebook Pro.
OK kettenis
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/Makefile | 4 | ||||
-rw-r--r-- | share/man/man4/gpioleds.4 | 45 |
2 files changed, 47 insertions, 2 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index 5fd83edae3d..e914597c3fa 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.806 2021/09/04 12:11:45 jmatthew Exp $ +# $OpenBSD: Makefile,v 1.807 2021/09/25 10:43:23 kn Exp $ MAN= aac.4 abcrtc.4 abl.4 ac97.4 acphy.4 acrtc.4 \ acpi.4 acpiac.4 acpials.4 acpiasus.4 acpibat.4 \ @@ -36,7 +36,7 @@ MAN= aac.4 abcrtc.4 abl.4 ac97.4 acphy.4 acrtc.4 \ fanpwr.4 fd.4 fdc.4 fec.4 fido.4 fins.4 fintek.4 fms.4 fusbtc.4 \ fuse.4 fxp.4 \ gdt.4 gentbi.4 gem.4 gfrtc.4 gif.4 glenv.4 glkgpio.4 gpio.4 gpiodcf.4 \ - gpioiic.4 gpioow.4 graphaudio.4 gre.4 gscsio.4 \ + gpioiic.4 gpioleds.4 gpioow.4 graphaudio.4 gre.4 gscsio.4 \ hds.4 hiclock.4 hidwusb.4 hifn.4 hil.4 hilid.4 hilkbd.4 hilms.4 \ hireset.4 hitemp.4 hme.4 hotplug.4 hsq.4 \ hvn.4 hvs.4 hyperv.4 \ diff --git a/share/man/man4/gpioleds.4 b/share/man/man4/gpioleds.4 new file mode 100644 index 00000000000..30f5bad7ac4 --- /dev/null +++ b/share/man/man4/gpioleds.4 @@ -0,0 +1,45 @@ +.\" $OpenBSD: gpioleds.4,v 1.1 2021/09/25 10:43:23 kn Exp $ +.\" +.\" Copyright (c) 2021 Klemens Nanni <kn@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: September 25 2021 $ +.Dt GPIOLEDS 4 +.Os +.Sh NAME +.Nm gpioleds +.Nd GPIO LEDs +.Sh SYNOPSIS +.Cd "gpioleds* at fdt?" +.Sh DESCRIPTION +The +.Nm +driver provides support for LEDs connected to GPIO pins. +.Pp +Currently, LEDs are only set to their default state, +e.g. to indicate the power status of the system. +.Sh SEE ALSO +.Xr gpio 4 , +.Xr intro 4 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 7.1 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Klemens Nanni Aq Mt kn@openbsd.org . |