Re: [PATCH v3 2/6] iio: trigger: add OF support
From: Linus Walleij
Date: Tue Mar 14 2017 - 11:25:52 EST
On Tue, Feb 28, 2017 at 5:51 PM, Fabrice Gasnier <fabrice.gasnier@xxxxxx> wrote:
> Provide OF support. Device drivers can get IIO triggers from dt.
> Introduce IIO trigger specifiers, so there are:
> - IIO trigger providers, e.g. dt nodes designated with
> #io-trigger-cells=<num of cells>
> - IIO trigger consumers, e.g. phandles listed in io-triggers = <...>.
> Those can be identified by names by using 'io-trigger-names'.
>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@xxxxxx>
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
This is very elegant.
Yours,
Linus Walleij