diff mbox

iio: adc: stm32: add tim15 trigger

Message ID 1508326767-24215-1-git-send-email-fabrice.gasnier@st.com (mailing list archive)
State New, archived
Headers show

Commit Message

Fabrice Gasnier Oct. 18, 2017, 11:39 a.m. UTC
Add TIM15_TRGO trigger that is now supported on STM32H7.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
---
 drivers/iio/adc/stm32-adc.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Jonathan Cameron Oct. 21, 2017, 4:50 p.m. UTC | #1
On Wed, 18 Oct 2017 13:39:27 +0200
Fabrice Gasnier <fabrice.gasnier@st.com> wrote:

> Add TIM15_TRGO trigger that is now supported on STM32H7.
> 
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Applied to the togreg branch of iio.git and pushed out as
testing for the autobuilders to play with it.

Thanks,

Jonathan
> ---
>  drivers/iio/adc/stm32-adc.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/iio/adc/stm32-adc.c b/drivers/iio/adc/stm32-adc.c
> index cc7ca50..4725756 100644
> --- a/drivers/iio/adc/stm32-adc.c
> +++ b/drivers/iio/adc/stm32-adc.c
> @@ -501,6 +501,7 @@ struct stm32_adc_info {
>  	{ TIM2_TRGO, STM32_EXT11 },
>  	{ TIM4_TRGO, STM32_EXT12 },
>  	{ TIM6_TRGO, STM32_EXT13 },
> +	{ TIM15_TRGO, STM32_EXT14 },
>  	{ TIM3_CH4, STM32_EXT15 },
>  	{ LPTIM1_OUT, STM32_EXT18 },
>  	{ LPTIM2_OUT, STM32_EXT19 },

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/iio/adc/stm32-adc.c b/drivers/iio/adc/stm32-adc.c
index cc7ca50..4725756 100644
--- a/drivers/iio/adc/stm32-adc.c
+++ b/drivers/iio/adc/stm32-adc.c
@@ -501,6 +501,7 @@  struct stm32_adc_info {
 	{ TIM2_TRGO, STM32_EXT11 },
 	{ TIM4_TRGO, STM32_EXT12 },
 	{ TIM6_TRGO, STM32_EXT13 },
+	{ TIM15_TRGO, STM32_EXT14 },
 	{ TIM3_CH4, STM32_EXT15 },
 	{ LPTIM1_OUT, STM32_EXT18 },
 	{ LPTIM2_OUT, STM32_EXT19 },