User: Password:
|
|
Subscribe / Log in / New account

The pin control subsystem

The pin control subsystem

Posted Nov 24, 2011 23:04 UTC (Thu) by djm (subscriber, #11651)
Parent article: The pin control subsystem

OpenBSD has had something like this for a few years in its gpio(4) device and associated gpioctl(8) utility. These allow configuration of device pins in various I/O modes and runtime attachment of I2C and Onewire drivers (iic(4) and onewire(4) respectively. The available I2C drivers are pretty skewed towards sensors one would find on a motherboard, but the kernel API is trivial to write drivers to (hell, even I wrote a couple).


(Log in to post comments)


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds