Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1586949
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC 3/4] dt-bindings: iio: add support for GPIO triggers |
| Date | 2017-02-23 16:20 +0100 |
| Message-ID | <te3lw-323-15@gated-at.bofh.it> (permalink) |
| References | <tbTgC-6tv-5@gated-at.bofh.it> <tbTgC-6tv-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Feb 17, 2017 at 5:03 PM, Fabrice Gasnier <fabrice.gasnier@st.com> wrote: > Document Industrial I/O GPIO trigger support. > > Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> (...) > +- gpio-trigger-rising-edge: A rising edge on GPIO will trigger. > +- gpio-trigger-falling-edge: A falling edge on GPIO will trigger. > + Note: Both rising and falling edge may be used. In case none of > + rising or falling edge is selected, rising edge is selected by > + default. We have GPIO_ACTIVE*_HIGH and GPIO_ACTIVE_LOW in the gpios second cell already. Can't we simply use that and specify that for this usecase, reading that cell as GPIO_ACTIVE_HIGH == trigger on rising edge and GPIO_ACTIVE_LOW == trigger on falling edge? Yours, Linus Walleij
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC 0/4] iio: trigger: Add OF support and GPIO based trigger Fabrice Gasnier <fabrice.gasnier@st.com> - 2017-02-17 17:10 +0100
[RFC 1/4] dt-bindings: iio: introduce trigger providers, consumers Fabrice Gasnier <fabrice.gasnier@st.com> - 2017-02-17 17:10 +0100
[RFC 4/4] iio: trigger: add GPIO trigger Fabrice Gasnier <fabrice.gasnier@st.com> - 2017-02-17 17:10 +0100
Re: [RFC 4/4] iio: trigger: add GPIO trigger Lars-Peter Clausen <lars@metafoo.de> - 2017-02-17 17:20 +0100
Re: [RFC 4/4] iio: trigger: add GPIO trigger Jonathan Cameron <jic23@kernel.org> - 2017-02-18 20:30 +0100
Re: [RFC 4/4] iio: trigger: add GPIO trigger Fabrice Gasnier <fabrice.gasnier@st.com> - 2017-02-20 17:30 +0100
Re: [RFC 4/4] iio: trigger: add GPIO trigger Jonathan Cameron <jic23@kernel.org> - 2017-02-25 17:30 +0100
[RFC 2/4] iio: trigger: add OF support Fabrice Gasnier <fabrice.gasnier@st.com> - 2017-02-17 17:10 +0100
[RFC 3/4] dt-bindings: iio: add support for GPIO triggers Fabrice Gasnier <fabrice.gasnier@st.com> - 2017-02-17 17:10 +0100
Re: [RFC 3/4] dt-bindings: iio: add support for GPIO triggers Jonathan Cameron <jic23@kernel.org> - 2017-02-18 20:30 +0100
Re: [RFC 3/4] dt-bindings: iio: add support for GPIO triggers Linus Walleij <linus.walleij@linaro.org> - 2017-02-23 16:20 +0100
Re: [RFC 3/4] dt-bindings: iio: add support for GPIO triggers Fabrice Gasnier <fabrice.gasnier@st.com> - 2017-02-23 16:50 +0100
Re: [RFC 0/4] iio: trigger: Add OF support and GPIO based trigger Daniel Baluta <daniel.baluta@gmail.com> - 2017-02-17 17:30 +0100
Re: [RFC 0/4] iio: trigger: Add OF support and GPIO based trigger Jonathan Cameron <jic23@kernel.org> - 2017-02-18 20:20 +0100
csiph-web