History log of /openbsd/sys/dev/gpio/gpioiic.c (Results 1 – 11 of 11)
Revision Date Author Comments
# 471aeecf 06-Apr-2022 naddy <naddy@openbsd.org>

constify struct cfattach


# e685b9a2 19-Apr-2013 miod <miod@openbsd.org>

In {gpio,gdium}iic_bb_read_bits(), report the state of the SCL bit in addition
to the state of the SDA bit; the MI i2c code is about to depend upon this.


# 7d434456 03-Oct-2011 matthieu <matthieu@openbsd.org>

Add a 'flag' locator to gpioiic(4), and define a first flag
value to swap the SDA and SCL pins assigment during attach.
Mostly from work with mbalmer@NetBSD.
ok miod@


# fca40c6a 24-Nov-2008 mbalmer <mbalmer@openbsd.org>

- Add two new ioctls to gpio(4), GPIOATTACH and GPIODETACH, to allow to attach
and detach devices on a gpiobus at runtime. The offset and mask locators
in kernel config files can still be used for s

- Add two new ioctls to gpio(4), GPIOATTACH and GPIODETACH, to allow to attach
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

show more ...


# 3e55d5fe 05-Jun-2007 jsg <jsg@openbsd.org>

Switch to rwlock(9)
ok grange@


# d822a645 20-Jan-2006 grange <grange@openbsd.org>

Add support for driving SDA in push-pull + tri-state mode.


# 1e79c56e 18-Jan-2006 grange <grange@openbsd.org>

Check that SDA pin is able to read input.


# 8940751d 17-Jan-2006 grange <grange@openbsd.org>

Make it detachable.


# 655215b6 15-Jan-2006 grange <grange@openbsd.org>

Nit.


# 4acbfa83 14-Jan-2006 grange <grange@openbsd.org>

Some improvements:
- use gpio_pin_caps() while configuring pins
- try to deal not only with open-drain outputs


# d011abfb 14-Jan-2006 grange <grange@openbsd.org>

Support for I2C bus bit-banging through the GPIO pins.
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

Support for I2C bus bit-banging through the GPIO pins.
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

show more ...