summaryrefslogtreecommitdiff
path: root/sys/dev/gpio
AgeCommit message (Collapse)Author
2007-06-05Switch to rwlock(9)Jonathan Gray
ok grange@
2006-06-23In a drivers activate() entry point, if on DVACT_DEACTIVATE it doesMiod Vallat
something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP; this very popular bug has been cut and pasted a lot of times... ok deraadt@ mickey@
2006-03-26Don't allow to change gpio pin state if /dev/gpio was openedAlexander Yurchenko
in read-only mode. Spotted by form@.
2006-03-04Dallas 1-Wire bus support. Includes the following drivers:Alexander Yurchenko
gpioow(4) 1-Wire bus bit-banging through GPIO pin onewire(4) 1-Wire bus driver owid(4) 1-Wire ID family type device owtemp(4) 1-Wire temperature family type device Drivers for RS-232 and USB bus masters will follow. ok deraadt@
2006-01-20Add support for driving SDA in push-pull + tri-state mode.Alexander Yurchenko
2006-01-18Check that SDA pin is able to read input.Alexander Yurchenko
2006-01-17Make it detachable.Alexander Yurchenko
2006-01-15Nit.Alexander Yurchenko
2006-01-14Add a comment.Alexander Yurchenko
2006-01-14Some improvements:Alexander Yurchenko
- use gpio_pin_caps() while configuring pins - try to deal not only with open-drain outputs
2006-01-14Add gpio_pin_caps() method to provide pin capabilities.Alexander Yurchenko
2006-01-14Support for I2C bus bit-banging through the GPIO pins.Alexander Yurchenko
Now Soekris people can enjoy our fancy I2C stuff, too: nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS gpio1 at nsclpcsio0: 29 pins gpioiic0 at gpio1 pins 17 19 iic0 at gpioiic0 maxds0 at iic0 addr 0x48: ds1624, starting maxds1 at iic0 addr 0x49: ds1624, starting
2006-01-05Finish framework for attaching kernel drivers to the GPIO pins.Alexander Yurchenko
Not used yet.
2005-03-08Cosmetics...Thierry Deval
Mainly remove space between locators parens, replace spaces with tabs where appropriate and consistently align dependencies.
2004-11-23Let gpio_detach() do something useful.Alexander Yurchenko
Tested by reyk@ on gpio@ath.
2004-11-22added detach function to support hotpluggable gpios.Reyk Floeter
ok grange@
2004-09-15Tweak in comment.Alexander Yurchenko
2004-06-03A framework for supporting various General Purpose Input/Output (GPIO)Alexander Yurchenko
devices. Such devices provide a set of pins that you can use to connect for example leds to it. The pins can be accessed either from userland through the /dev/gpio* device files or from the kernel drivers. The latter is necessary for implementing timing-sensitive things like i2c or 1-wire master controller. ok deraadt@