Commit Graph

6 Commits

Author SHA1 Message Date
mbalmer
9d8b69b23a Do not attach gpiosim(4) at root, but make it a pseudo device.
With help from Matthias Drochner, thanks!
2009-07-27 17:40:57 +00:00
mbalmer
8964d40bc5 Rework the GPIO framework. Tie it to the kauth(9) framework to control
access to the GPIO pins.  Device drivers using GPIO pins can now be
attached and detached at runtime.  GPIO pins can be named for easier
reference from userland programs.  Introduce a new gpiosim(4) driver,
which is used for development.

Reviewed by many.
2009-07-25 16:17:10 +00:00
riz
637bfc29f9 Dallas Semiconductor 1-Wire bus support, from OpenBSD. Currently includes
gpioow(4), attaching a bit-banging driver via a GPIO pin.  Also,
owtemp(4) which supports some of the 1-Wire temperature sensors, including
the DS18b20 and DS1920 - temperatures are returned via the envsys(4)
framework.

Original drivers by Alexander Yurchenko (grange@openbsd), with envsys(4)
support and a fix to the 1-wire search algorithm (for discovering
devices on the bus) by me.

As discussed on tech-kern earlier this week.
2006-04-07 18:55:21 +00:00
riz
74baa88e7d Flesh out the framework for attaching drivers to the GPIO pins.
From OpenBSD, Alexander Yurchenko <grange@openbsd
2006-02-20 03:18:36 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
jmcneill
bec79ef231 Import general purpose I/O framework from OpenBSD. 2005-09-27 02:34:02 +00:00