Re: [PATCH v1 0/2] iio: Add parent_trigger attribute to triggers

From: Lars-Peter Clausen
Date: Mon Feb 06 2017 - 09:26:21 EST


On 02/06/2017 03:21 PM, Benjamin Gaignard wrote:
> Thoses patches add parent_trigger attribute to IIO triggers.
> The goal is to allow triggers to use triggers like is this done for iio
> devices.
> With this patch it will be possible to chain triggers, for example
> stm32 triggers could be used as clock of an other triggers:
> echo "tim1_trgo" > trigger0/parent_trigger.

Can you explain how this is different to assigning the parent_trigger
directly to the device?