1.\" $OpenBSD: nsclpcsio.4,v 1.11 2013/07/16 16:05:49 schwarze 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 $Mdocdate: July 16 2013 $ 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 "nsclpcsio* at isa?" 25.Cd "gpio* at nsclpcsio?" 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 33The GPIO logical device provides 29 I/O pins which can be accessed 34through the 35.Xr gpio 4 36framework. 37The 38.Xr gpioctl 8 39program 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.Sh AUTHORS 81.An -nosplit 82The 83.Nm 84driver was written by 85.An Matthias Drochner Aq Mt drochner@netbsd.org 86for 87.Nx 88and then ported to 89.Ox 3.5 90by 91.An Markus Friedl Aq Mt markus@openbsd.org . 92.Tn GPIO 93support was added in 94.Ox 3.6 95by 96.An Alexander Yurchenko Aq Mt grange@openbsd.org . 97