[PATCH v3 2/6] iio: trigger: add OF support

Linus Walleij linus.walleij at linaro.org
Tue Mar 14 08:22:54 PDT 2017


On Tue, Feb 28, 2017 at 5:51 PM, Fabrice Gasnier <fabrice.gasnier at st.com> 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 at st.com>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

This is very elegant.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list