Re: [PATCH v1 2/2] iio: stm32 trigger: Implement validate_trigger function

2017-02-11 Thread Jonathan Cameron
On 06/02/17 14:21, Benjamin Gaignard wrote: > Add validate_trigger function in iio_trigger_ops to be able to accept > triggers as parents. > > Because the hardware have 8 different ways to use parent levels and > edges, this patch introduce "slave_mode" sysfs attribute for stm32 > triggers. I wond

[PATCH v1 2/2] iio: stm32 trigger: Implement validate_trigger function

2017-02-06 Thread Benjamin Gaignard
Add validate_trigger function in iio_trigger_ops to be able to accept triggers as parents. Because the hardware have 8 different ways to use parent levels and edges, this patch introduce "slave_mode" sysfs attribute for stm32 triggers. Signed-off-by: Benjamin Gaignard --- .../ABI/testing/sysfs-