summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/gpio.45
-rw-r--r--share/man/man4/man4.loongson/Makefile4
-rw-r--r--share/man/man4/man4.loongson/gdiumiic.452
-rw-r--r--share/man/man4/man4.loongson/smfb.48
-rw-r--r--share/man/man4/man4.loongson/voyager.471
5 files changed, 133 insertions, 7 deletions
diff --git a/share/man/man4/gpio.4 b/share/man/man4/gpio.4
index fe25e27863a..8986f53dfcd 100644
--- a/share/man/man4/gpio.4
+++ b/share/man/man4/gpio.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gpio.4,v 1.16 2009/12/12 03:19:29 krw Exp $
+.\" $OpenBSD: gpio.4,v 1.17 2010/02/18 23:05:04 miod 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: December 12 2009 $
+.Dd $Mdocdate: February 18 2010 $
.Dt GPIO 4
.Os
.Sh NAME
@@ -29,6 +29,7 @@
.Cd "gpio* at nsclpcsio?"
.Cd "gpio* at pcagpio?"
.Cd "gpio* at pcaled?"
+.Cd "gpio0 at voyager?" Pq loongson
.Pp
.Fd #include <sys/types.h>
.Fd #include <sys/gpio.h>
diff --git a/share/man/man4/man4.loongson/Makefile b/share/man/man4/man4.loongson/Makefile
index 7f37af135d5..9a19888184e 100644
--- a/share/man/man4/man4.loongson/Makefile
+++ b/share/man/man4/man4.loongson/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.1 2010/02/09 19:08:39 miod Exp $
+# $OpenBSD: Makefile,v 1.2 2010/02/18 23:05:06 miod Exp $
-MAN= autoconf.4 bonito.4 glxpcib.4 intro.4 mem.4 smfb.4
+MAN= autoconf.4 bonito.4 gdiumiic.4 glxpcib.4 intro.4 mem.4 smfb.4 voyager.4
MANSUBDIR=loongson
MLINKS+= mem.4 kmem.4
diff --git a/share/man/man4/man4.loongson/gdiumiic.4 b/share/man/man4/man4.loongson/gdiumiic.4
new file mode 100644
index 00000000000..f6e27c36412
--- /dev/null
+++ b/share/man/man4/man4.loongson/gdiumiic.4
@@ -0,0 +1,52 @@
+.\" $OpenBSD: gdiumiic.4,v 1.1 2010/02/18 23:05:06 miod Exp $
+.\"
+.\" Copyright (c) 2006 Alexander Yurchenko <grange@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: February 18 2010 $
+.Dt GDIUMIIC 4 loongson
+.Os
+.Sh NAME
+.Nm gdiumiic
+.Nd Gdium specific GPIO I2C controller
+.Sh SYNOPSIS
+.Cd "gdiumiic0 at gpio0 offset 6 mask 0x81"
+.Cd "gdiumiic0 at gpio0 offset 46 mask 0x03"
+.Cd "iic0 at gdiumiic0"
+.Sh DESCRIPTION
+The
+.Nm
+driver allows bit-banging an I2C bus as a master using two GPIO pins.
+The first pin is used as a serial clock (SCL) signal and the second as
+a serial data (SDA).
+Both GPIO pins must be able to drive an output and the SDA pin must be
+also able to read an input.
+.Pp
+The
+.Nm
+driver is derived from the
+.Nm gpioiic
+driver, using a different pin ordering, and knowledge of the Gdium I2C bus
+configuration.
+.Sh SEE ALSO
+.Xr gpio 4 ,
+.Xr gpioiic 4 ,
+.Xr iic 4 ,
+.Xr intro 4
+.Sh AUTHORS
+.An -nosplit
+The original
+.Nm gpioiic
+driver was written by
+.An Alexander Yurchenko Aq grange@openbsd.org .
diff --git a/share/man/man4/man4.loongson/smfb.4 b/share/man/man4/man4.loongson/smfb.4
index 277becbfd0e..a8d89701eba 100644
--- a/share/man/man4/man4.loongson/smfb.4
+++ b/share/man/man4/man4.loongson/smfb.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: smfb.4,v 1.2 2010/02/10 08:35:31 jmc Exp $
+.\" $OpenBSD: smfb.4,v 1.3 2010/02/18 23:05:06 miod Exp $
.\"
.\" Copyright (c) 2010 Miodrag Vallat.
.\"
@@ -14,14 +14,15 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: February 10 2010 $
+.Dd $Mdocdate: February 18 2010 $
.Dt SMFB 4 loongson
.Os
.Sh NAME
.Nm smfb
.Nd Silicon Motion frame buffer
.Sh SYNOPSIS
-.Cd "smfb* at pci?"
+.Cd "smfb* at pci?" Pq "SM712"
+.Cd "smfb* at voyager?" Pq "SM502"
.Sh DESCRIPTION
The
.Nm
@@ -41,5 +42,6 @@ color depth.
.Sh SEE ALSO
.Xr intro 4 ,
.Xr pci 4 ,
+.Xr voyager 4 ,
.Xr wscons 4 ,
.Xr wsdisplay 4
diff --git a/share/man/man4/man4.loongson/voyager.4 b/share/man/man4/man4.loongson/voyager.4
new file mode 100644
index 00000000000..24cfa5524a5
--- /dev/null
+++ b/share/man/man4/man4.loongson/voyager.4
@@ -0,0 +1,71 @@
+.\" $OpenBSD: voyager.4,v 1.1 2010/02/18 23:05:06 miod Exp $
+.\"
+.\" Copyright (c) 2010 Miodrag Vallat.
+.\"
+.\" 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: February 18 2010 $
+.Dt VOYAGER 4 loongson
+.Os
+.Sh NAME
+.Nm voyager
+.Nd Silicon Motion Mobile Multimedia Companion Chip
+.Sh SYNOPSIS
+.Cd "voyager* at pci?"
+.Cd "gpio0 at voyager?"
+.\" .Cd "iic* at voyager?"
+.\" .Cd "ohci* at voyager?"
+.Cd "smfb* at voyager?"
+.Sh DESCRIPTION
+The
+.Nm
+driver supports Silicon Motion SM502 MMCC device.
+.Pp
+This chip is intended to fulfill most of a modern laptop I/O needs, and
+provides:
+.Bl -bullet -compact
+.It
+a 2D
+.Xr smfb 4
+frame buffer with analog RGB and digital LCD panel interfaces
+.It
+a 8-bit parallel interface
+.It
+an USB controller
+.It
+two UART or IrDA ports
+.It
+two Zoom Video interfaces
+.It
+an AC97 or I2S audio codec
+.It
+two SSP
+.Pq Synchronous Serial Ports
+.It
+PWM
+.Pq Pulse Width Modulation
+.It
+64
+.Xr gpio 4
+pins.
+.El
+.Pp
+Not all the device interfaces are supported under
+.Ox .
+.Sh SEE ALSO
+.\" .Xr ac97 4 ,
+.Xr gpio 4 ,
+.Xr intro 4 ,
+.\" .Xr ohci 4 ,
+.Xr pci 4 ,
+.Xr smfb 4