From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH v3 11/11] dt-bindings: gpio: Add bindings for Cadence I3C gpio expander Date: Mon, 26 Mar 2018 13:35:53 +0200 Message-ID: References: <20180323110020.19080-1-boris.brezillon@bootlin.com> <20180323110020.19080-12-boris.brezillon@bootlin.com> <20180326132526.1634946e@bbrezillon> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <20180326132526.1634946e@bbrezillon> Sender: linux-kernel-owner@vger.kernel.org To: Boris Brezillon Cc: Wolfram Sang , Linux I2C , Jonathan Corbet , linux-doc@vger.kernel.org, Greg Kroah-Hartman , Arnd Bergmann , Przemyslaw Sroka , Arkadiusz Golec , Alan Douglas , Bartosz Folta , Damian Kos , Alicja Jurasik-Urbaniak , Cyprian Wronka , Suresh Punnoose , Rafal Ciepiela , Thomas Petazzoni , Nishanth Menon , Rob Herring , Pawel Moll , Mark Rutland , Ian List-Id: linux-gpio@vger.kernel.org Hi Boris, On Mon, Mar 26, 2018 at 1:25 PM, Boris Brezillon wrote: > On Mon, 26 Mar 2018 12:12:54 +0200 > Geert Uytterhoeven wrote: >> On Fri, Mar 23, 2018 at 12:00 PM, Boris Brezillon >> wrote: >> > Document the Cadence I3C gpio expander bindings. >> > >> > Signed-off-by: Boris Brezillon >> >> Thanks for your patch! >> >> > --- /dev/null >> > +++ b/Documentation/devicetree/bindings/gpio/gpio-cdns-i3c.txt >> >> > +- #interrupt-cells : Should be 2. The first cell is the GPIO number. >> > + The second cell bits[3:0] is used to specify trigger type and level flags: >> > + 1 = low-to-high edge triggered. >> > + 2 = high-to-low edge triggered. >> > + 3 = triggered on both edges. >> > + 4 = active high level-sensitive. >> > + 8 = active low level-sensitive. >> >> These are identical to the values in . >> Perhaps you can refer to those definitions? > > Well, I'm not sure this is allowed since DT bindings docs are > supposed to be OS-agnostic and macros defined in > are, AFAIK, only available to > Linux. If they're under include/dt-bindings/, they're part of the DT bindings. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds