iio: trigger: Add STM32 LPTimer trigger driver
authorFabrice Gasnier <fabrice.gasnier@st.com>
Mon, 28 Aug 2017 10:04:11 +0000 (12:04 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 4 Sep 2017 13:49:23 +0000 (14:49 +0100)
commitb01ced2b504b2592af6703533c62cb9d1cdc1c6c
treeb15f369215279e1dab029391ab9c52f402323c15
parent5dae3c90fe76f18815945177498e680e711a4347
iio: trigger: Add STM32 LPTimer trigger driver

Add support for LPTIMx_OUT triggers that can be found on some STM32
devices. These triggers can be used then by ADC or DAC.
Typical usage is to configure LPTimer as PWM output (via pwm-stm32-lp)
and have synchronised analog conversions with these triggers.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/iio/trigger/Kconfig
drivers/iio/trigger/Makefile
drivers/iio/trigger/stm32-lptimer-trigger.c [new file with mode: 0644]
include/linux/iio/timer/stm32-lptim-trigger.h [new file with mode: 0644]