On Mon, Nov 16, 2015 at 3:34 PM, Giuseppe BARBA <giuseppe.barba@xxxxxx> wrote: > [Me] >> For the accelerometer I guessed it's the same as the other sensors, >> but as LSM303AGR also has DRDY for the magnetometer, I was >> wondering if there is a bit for IHL and OD also for the magnetometer >> side? > > Yes, the interrupt polarity is also present for magnetometer. > This is namely IEA bit in the register CTRL_REG_M (0x63), bit 2 (mask > 0x04). Following the bit description: > > Controls the polarity of the INT bit when an interrupt occurs. > Default: 0 > > If IEA = 0, then INT = 0 signals an interrupt > If IEA = 1, then INT = 1 signals an interrupt OK updated the patch, sending it out. But does it also have an Open Drain bit? Yours, Linus Walleij -- 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