title: How do I write a new Linux driver for an i2c device?
body: <p>I have a usb device with some i2c control functions and I would like to add a userspace API for twiddling those bits. How do I add i2c support to my device's existing driver?</p>