summaryrefslogtreecommitdiff
path: root/sys/dev/gpio/gpioiic.c
AgeCommit message (Collapse)Author
2011-10-03Add a 'flag' locator to gpioiic(4), and define a first flagMatthieu Herrb
value to swap the SDA and SCL pins assigment during attach. Mostly from work with mbalmer@NetBSD. ok miod@
2008-11-24- Add two new ioctls to gpio(4), GPIOATTACH and GPIODETACH, to allow to attachMarc Balmer
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
2007-06-05Switch to rwlock(9)Jonathan Gray
ok grange@
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-14Some improvements:Alexander Yurchenko
- use gpio_pin_caps() while configuring pins - try to deal not only with open-drain outputs
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