CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2016/05/16 15:38:35

Modified files:
        sys/arch/armv7/imx: imxiic.c 

Log message:
Make this actually work.  This makes the following changes:

- Move most of the bus setup stuff to imxiic_i2c_acquire_bus()
- Move the teardown to imxiic_i2c_release_bus()
- Always clear the IIF flag
- Allow cmd and data for write operations.

Some i2c operations are still rejected, but this works well enough to use
pcfrtc(4).

ok patrick@

Reply via email to