GPIO I2C controller
gpioiic* at gpio? offset 0 mask 0x3 flag 0x0
gpioiic* at gpio?
iic* at gpioiic?
driver allows bit-banging an I2C
bus as a master using two GPIO pins. By default the first pin is used as a
serial data (SDA) signal and the second as a serial clock (SCL). If the flag
locator is set to 0x01, the order of the SDA and SCL signals is reversed. Both
GPIO pins must be able to drive an output and the SDA pin must be also able to
read an input.
The pins can be specified in the kernel configuration with the
can also be specified when
is attached at runtime using the
device. Each bit in the
locator defines one pin; the pin number
is calculated as an addition of the bit position and the
locator. For example,
defines pin numbers 17 and 19.
driver first appeared in
driver was written by