On 12/12/2012 08:49 PM, Denis Ciocca wrote: >> Usually you'd want to be able to sample both the accelerometer and gyro > sensors >> at the same time, so just one driver should be fine. >> >> Or have the gyro and accelerometer sensors completely separated register > maps >> and don't share any functionality? > > Some sensors doesn't share any functionality, simply share the same > interface or better the control registers for single sensor are separated. > I test this with the current driver but the second proble doesn't start! > Only one probe is mandatory? You can only have one device per I2C address and only one probe call per device. If you really want to use two separated drivers you could create a mfd device and one subdevice for the gyro and accelerometer. - Lars -- 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