Re: [RFC 3/4] dt-bindings: iio: add support for GPIO triggers

2017-02-23 Thread Fabrice Gasnier
On 02/23/2017 04:03 PM, Linus Walleij wrote: On Fri, Feb 17, 2017 at 5:03 PM, Fabrice Gasnier wrote: Document Industrial I/O GPIO trigger support. Signed-off-by: Fabrice Gasnier (...) +- gpio-trigger-rising-edge: A rising edge on GPIO will

Re: [RFC 3/4] dt-bindings: iio: add support for GPIO triggers

2017-02-23 Thread Fabrice Gasnier
On 02/23/2017 04:03 PM, Linus Walleij wrote: On Fri, Feb 17, 2017 at 5:03 PM, Fabrice Gasnier wrote: Document Industrial I/O GPIO trigger support. Signed-off-by: Fabrice Gasnier (...) +- gpio-trigger-rising-edge: A rising edge on GPIO will trigger. +- gpio-trigger-falling-edge: A falling

Re: [RFC 3/4] dt-bindings: iio: add support for GPIO triggers

2017-02-23 Thread Linus Walleij
On Fri, Feb 17, 2017 at 5:03 PM, Fabrice Gasnier wrote: > Document Industrial I/O GPIO trigger support. > > Signed-off-by: Fabrice Gasnier (...) > +- gpio-trigger-rising-edge: A rising edge on GPIO will trigger. > +- gpio-trigger-falling-edge: A

Re: [RFC 3/4] dt-bindings: iio: add support for GPIO triggers

2017-02-23 Thread Linus Walleij
On Fri, Feb 17, 2017 at 5:03 PM, Fabrice Gasnier wrote: > Document Industrial I/O GPIO trigger support. > > Signed-off-by: Fabrice Gasnier (...) > +- gpio-trigger-rising-edge: A rising edge on GPIO will trigger. > +- gpio-trigger-falling-edge: A falling edge on GPIO will trigger. > + Note:

Re: [RFC 3/4] dt-bindings: iio: add support for GPIO triggers

2017-02-18 Thread Jonathan Cameron
On 17/02/17 16:03, Fabrice Gasnier wrote: > Document Industrial I/O GPIO trigger support. > > Signed-off-by: Fabrice Gasnier Whilst I think this needs redoing for the interrupt trigger driver, please be aware that bindings must be OS agnostic i.e. you can't name things

Re: [RFC 3/4] dt-bindings: iio: add support for GPIO triggers

2017-02-18 Thread Jonathan Cameron
On 17/02/17 16:03, Fabrice Gasnier wrote: > Document Industrial I/O GPIO trigger support. > > Signed-off-by: Fabrice Gasnier Whilst I think this needs redoing for the interrupt trigger driver, please be aware that bindings must be OS agnostic i.e. you can't name things after linux specific

[RFC 3/4] dt-bindings: iio: add support for GPIO triggers

2017-02-17 Thread Fabrice Gasnier
Document Industrial I/O GPIO trigger support. Signed-off-by: Fabrice Gasnier --- .../bindings/iio/trigger/iio-trig-gpio.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644

[RFC 3/4] dt-bindings: iio: add support for GPIO triggers

2017-02-17 Thread Fabrice Gasnier
Document Industrial I/O GPIO trigger support. Signed-off-by: Fabrice Gasnier --- .../bindings/iio/trigger/iio-trig-gpio.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/trigger/iio-trig-gpio.txt diff --git