Re: [PATCH v1 2/2] iio: stm32 trigger: Add counter device

2017-03-20 Thread Jonathan Cameron
On 20/03/17 13:25, William Breathitt Gray wrote: > On Fri, Mar 17, 2017 at 03:36:05PM +0100, Benjamin Gaignard wrote: >> 2017-03-14 19:53 GMT+01:00 William Breathitt Gray : >>> On Sun, Mar 12, 2017 at 02:18:47PM +0100, Benjamin Gaignard wrote: 2017-03-05 13:04 GMT+01:00 Jonathan Cameron :

Re: [PATCH v1 2/2] iio: stm32 trigger: Add counter device

2017-03-20 Thread Jonathan Cameron
On 14/03/17 18:53, William Breathitt Gray wrote: > On Sun, Mar 12, 2017 at 02:18:47PM +0100, Benjamin Gaignard wrote: >> 2017-03-05 13:04 GMT+01:00 Jonathan Cameron : >>> On 01/03/17 14:45, Benjamin Gaignard wrote: One of the features of STM32 trigger hardware block is a counter that can

Re: [PATCH v1 2/2] iio: stm32 trigger: Add counter device

2017-03-20 Thread Jonathan Cameron
On 12/03/17 13:18, Benjamin Gaignard wrote: > 2017-03-05 13:04 GMT+01:00 Jonathan Cameron : >> On 01/03/17 14:45, Benjamin Gaignard wrote: >>> One of the features of STM32 trigger hardware block is a counter >>> that can counts up/down depending of the levels and edges of the >>> selected external

Re: [PATCH v1 2/2] iio: stm32 trigger: Add counter device

2017-03-20 Thread William Breathitt Gray
On Fri, Mar 17, 2017 at 03:36:05PM +0100, Benjamin Gaignard wrote: >2017-03-14 19:53 GMT+01:00 William Breathitt Gray : >> On Sun, Mar 12, 2017 at 02:18:47PM +0100, Benjamin Gaignard wrote: >>>2017-03-05 13:04 GMT+01:00 Jonathan Cameron : On 01/03/17 14:45, Benjamin Gaignard wrote: > One o

Re: [PATCH v1 2/2] iio: stm32 trigger: Add counter device

2017-03-17 Thread Benjamin Gaignard
2017-03-14 19:53 GMT+01:00 William Breathitt Gray : > On Sun, Mar 12, 2017 at 02:18:47PM +0100, Benjamin Gaignard wrote: >>2017-03-05 13:04 GMT+01:00 Jonathan Cameron : >>> On 01/03/17 14:45, Benjamin Gaignard wrote: One of the features of STM32 trigger hardware block is a counter that ca

Re: [PATCH v1 2/2] iio: stm32 trigger: Add counter device

2017-03-14 Thread William Breathitt Gray
On Sun, Mar 12, 2017 at 02:18:47PM +0100, Benjamin Gaignard wrote: >2017-03-05 13:04 GMT+01:00 Jonathan Cameron : >> On 01/03/17 14:45, Benjamin Gaignard wrote: >>> One of the features of STM32 trigger hardware block is a counter >>> that can counts up/down depending of the levels and edges of the

Re: [PATCH v1 2/2] iio: stm32 trigger: Add counter device

2017-03-12 Thread Benjamin Gaignard
2017-03-05 13:04 GMT+01:00 Jonathan Cameron : > On 01/03/17 14:45, Benjamin Gaignard wrote: >> One of the features of STM32 trigger hardware block is a counter >> that can counts up/down depending of the levels and edges of the >> selected external pins. >> >> This patch allow to read/write the cou

Re: [PATCH v1 2/2] iio: stm32 trigger: Add counter device

2017-03-05 Thread Jonathan Cameron
On 01/03/17 14:45, Benjamin Gaignard wrote: > One of the features of STM32 trigger hardware block is a counter > that can counts up/down depending of the levels and edges of the > selected external pins. > > This patch allow to read/write the counter, get the direction and > set the preset value.

[PATCH v1 2/2] iio: stm32 trigger: Add counter device

2017-03-01 Thread Benjamin Gaignard
One of the features of STM32 trigger hardware block is a counter that can counts up/down depending of the levels and edges of the selected external pins. This patch allow to read/write the counter, get the direction and set the preset value. When counting up preset value is the limit of the counte