A first encoder IIO driver (104-quad-8) with a count channel already exist. STM32 driver have the same type of feature but with different counting modes. Some parts, like counting direction (up/down) could be generalized so move the corresponding documentation from driver file to sysfs-bus-iio. Benjamin Gaignard (2): iio: Generalize counting direction modes iio: stm32 trigger: Add counter device Documentation/ABI/testing/sysfs-bus-iio | 14 ++ .../ABI/testing/sysfs-bus-iio-counter-104-quad-8 | 8 - .../ABI/testing/sysfs-bus-iio-timer-stm32 | 40 ++++ drivers/iio/trigger/stm32-timer-trigger.c | 231 ++++++++++++++++++++- include/linux/mfd/stm32-timers.h | 2 + 5 files changed, 281 insertions(+), 14 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