The meaty patch is the first one, making the chip use exactly as much power as needed. The other two are a code cleanup and the addition of an optional GPIO reset pin. In v2, an interrupt is no longer required: If none is available, raw reads just sleep for the amount of time defined in the data sheet before reading registers. Vlad Dogaru (3): iio: sx9500: optimize power usage iio: sx9500: refactor GPIO interrupt code iio: sx9500: add GPIO reset pin drivers/iio/proximity/sx9500.c | 427 +++++++++++++++++++++++++++++++++-------- 1 file changed, 347 insertions(+), 80 deletions(-) -- 1.9.1 -- 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