On 04/20/2016 07:55 PM, Patrick Doyle wrote: > Hello, > I need to write a SPI mode Linux device driver for the Bosch BMI055 > IMU. I notice that an I2C version of the driver for this part exists > already (at least, in the 4.1 kernel I am using). I was wondering if > anyone knew of an existing SPI mode driver for this part, or if > anybody had some hints or direction that they could give me regarding > writing such a driver myself. The latest IIO tree has SPI support. See http://git.kernel.org/cgit/linux/kernel/git/jic23/iio.git/tree/drivers/iio/gyro/bmg160_spi.c -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html