summaryrefslogtreecommitdiffstats
path: root/sys/dev/gpio/gpioiic.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* In {gpio,gdium}iic_bb_read_bits(), report the state of the SCL bit in additionmiod2013-04-191-3/+10
| | | | to the state of the SDA bit; the MI i2c code is about to depend upon this.
* Add a 'flag' locator to gpioiic(4), and define a first flagmatthieu2011-10-031-10/+24
| | | | | | value to swap the SDA and SCL pins assigment during attach. Mostly from work with mbalmer@NetBSD. ok miod@
* - Add two new ioctls to gpio(4), GPIOATTACH and GPIODETACH, to allow to attachmbalmer2008-11-241-1/+5
| | | | | | | | | | | | and detach devices on a gpiobus at runtime. The offset and mask locators in kernel config files can still be used for static configuration, so this does not break existing custome kernel configs. - Have gpioow(4) unmap the pins it used from the gpiobus during detach Changes to gpioctl(8) will be a separate committ. ok uwe
* Switch to rwlock(9)jsg2007-06-051-5/+6
| | | | ok grange@
* Add support for driving SDA in push-pull + tri-state mode.grange2006-01-201-10/+16
|
* Check that SDA pin is able to read input.grange2006-01-181-1/+5
|
* Make it detachable.grange2006-01-171-2/+10
|
* Nit.grange2006-01-151-5/+2
|
* Some improvements:grange2006-01-141-5/+59
| | | | | - use gpio_pin_caps() while configuring pins - try to deal not only with open-drain outputs
* Support for I2C bus bit-banging through the GPIO pins.grange2006-01-141-0/+213
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