]> git.baikalelectronics.ru Git - kernel.git/commit
iio: adc: stm32: add trigger polarity extended attribute
authorFabrice Gasnier <fabrice.gasnier@st.com>
Thu, 26 Jan 2017 14:28:31 +0000 (15:28 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 28 Jan 2017 18:24:57 +0000 (18:24 +0000)
commit1ada5066c607bc068e828c91c8462b092134b5da
treeff6e70e59161d56b36a53de6fcbb6d2426956983
parent49fb6c4a30c336644d1bf9ad9fe1a37c397417de
iio: adc: stm32: add trigger polarity extended attribute

Define extended attribute so that user may choose rising, falling or both
edges for external trigger sources.
Default to rising edge in case it isn't set.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/ABI/testing/sysfs-bus-iio-adc-stm32 [new file with mode: 0644]
drivers/iio/adc/stm32-adc.c