1.\" $OpenBSD: nsclpcsio.4,v 1.10 2007/12/23 22:09:19 jmc Exp $ 2.\" 3.\" Copyright (c) 2004 Markus Friedl <markus@openbsd.org> 4.\" 5.\" Permission to use, copy, modify, and distribute this software for any 6.\" purpose with or without fee is hereby granted, provided that the above 7.\" copyright notice and this permission notice appear in all copies. 8.\" 9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16.\" 17.Dd April 29, 2011 18.Dt NSCLPCSIO 4 19.Os 20.Sh NAME 21.Nm nsclpcsio 22.Nd National Semiconductor PC87366 LPC Super I/O with GPIO 23.Sh SYNOPSIS 24.Cd device nsclpcsio0 at isa? port 0x2e 25.Cd device nsclpcsio1 at isa? port 0x4e 26.Sh DESCRIPTION 27The 28.Nm 29driver provides support for the National Semiconductor PC87366 LPC Super I/O. 30The Super I/O module incorporates several logical devices, the following 31ones are supported: GPIO, VLM and TMS. 32.Pp 33.\"The GPIO logical device provides 29 I/O pins which can be accessed 34.\"through the 35.\".Xr gpio 4 36.\"framework. 37.\"The 38.\".Xr gpioctl 8 39.\"program allows easy manipulation of the pins from userland. 40.\".Pp 41VLM and TMS logical devices provides hardware monitoring capabilities 42to be used with the 43.Xr sysctl 8 44interface. 45The following 17 monitoring sensors are available: 46.Bl -column "Sensor" "Units" "Typical" -offset indent 47.It Sy "Sensor" Ta Sy "Units" Ta Sy "Typical Use" 48.It Li "TSENS1" Ta "uK" Ta "Remote diode" 49.It Li "TSENS2" Ta "uK" Ta "Remote diode" 50.It Li "TNSC" Ta "uK" Ta "Local diode" 51.It Li "VSENS0" Ta "uV DC" Ta "External source" 52.It Li "VSENS1" Ta "uV DC" Ta "External source" 53.It Li "VSENS2" Ta "uV DC" Ta "External source" 54.It Li "VSENS3" Ta "uV DC" Ta "External source" 55.It Li "VSENS4" Ta "uV DC" Ta "External source" 56.It Li "VSENS5" Ta "uV DC" Ta "External source" 57.It Li "VSENS6" Ta "uV DC" Ta "External source" 58.It Li "VSB" Ta "uV DC" Ta "VSB" 59.It Li "VDD" Ta "uV DC" Ta "VDD" 60.It Li "VBAT" Ta "uV DC" Ta "VBAT" 61.It Li "AVDD" Ta "uV DC" Ta "AVDD" 62.It Li "TS1" Ta "uV DC" Ta "Thermistor" 63.It Li "TS2" Ta "uV DC" Ta "Thermistor" 64.It Li "TS3" Ta "uV DC" Ta "Thermistor" 65.El 66.Sh SEE ALSO 67.\".Xr gpio 4 , 68.Xr isa 4 , 69.\".Xr gpioctl 8 , 70.Xr sensorsd 8 , 71.Xr sysctl 8 72.Sh HISTORY 73The 74.Nm 75driver first appeared in 76.Nx 2.0 , 77.Ox 78support was added in 79.Ox 3.5 . 80.Pp 81It was imported into 82.Dx 2.5 . 83.Sh AUTHORS 84.An -nosplit 85The 86.Nm 87driver was written by 88.An Matthias Drochner Aq drochner@netbsd.org 89for 90.Nx 91and then ported to 92.Ox 3.5 93by 94.An Markus Friedl Aq markus@openbsd.org . 95.Tn GPIO 96support was added in 97.Ox 3.6 98by 99.An Alexander Yurchenko Aq grange@openbsd.org . 100