From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH 2/2] gpio: adnp: dt: Reference generic interrupt binding Date: Wed, 19 Sep 2012 10:45:16 -0500 Message-ID: <5059E88C.7090801@gmail.com> References: <1348045056-29769-1-git-send-email-thierry.reding@avionic-design.de> <1348045056-29769-2-git-send-email-thierry.reding@avionic-design.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1348045056-29769-2-git-send-email-thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Thierry Reding Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Linus Walleij , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org On 09/19/2012 03:57 AM, Thierry Reding wrote: > Instead of having to duplicate the description of the properties needed > for interrupt support, reference the new standard document. > > Cc: Linus Walleij > Cc: Grant Likely > Cc: Rob Herring > Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org > Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > Signed-off-by: Thierry Reding > --- > This patch should go through LinusW's tree because it already carries > the patch that created this documentation. > > Documentation/devicetree/bindings/gpio/gpio-adnp.txt | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/gpio/gpio-adnp.txt b/Documentation/devicetree/bindings/gpio/gpio-adnp.txt > index 5a09a21..625eee7 100644 > --- a/Documentation/devicetree/bindings/gpio/gpio-adnp.txt > +++ b/Documentation/devicetree/bindings/gpio/gpio-adnp.txt > @@ -11,6 +11,10 @@ Required properties: > - gpio-controller: Marks the device as a GPIO controller > - nr-gpios: The number of pins supported by the controller. > > +The GPIO exander can optionally be used as an interrupt controller, in s/exander/expander/ Otherwise, Acked-by: Rob Herring > +which case it uses the default two cell specifier as described in > +Documentation/devicetree/bindings/interrupt-controller/interrupts.txt. > + > Example: > > gpioext: gpio-controller@41 { >