iio: trigger: stm32-timer: add support for STM32H7
authorFabrice Gasnier <fabrice.gasnier@st.com>
Thu, 3 Aug 2017 09:14:13 +0000 (11:14 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 12 Aug 2017 12:05:26 +0000 (13:05 +0100)
commit45fff14bab00eea97e0f60a2a5ba3eca97bd476a
treef672303e445d0f3e32d35802da8e947b99e5b599
parenta6bb1bb8514762693c253d7c6b8e104cc39c517b
iio: trigger: stm32-timer: add support for STM32H7

Add support for STM32H7 timer triggers:
- Add new valids_table
- Introduce compatible, with configuration data
- Extend up to 15 timers, available on STM32H7

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/trigger/stm32-timer-trigger.c
include/linux/iio/timer/stm32-timer-trigger.h