Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756253Ab3HWTnw (ORCPT ); Fri, 23 Aug 2013 15:43:52 -0400 Received: from avon.wwwdotorg.org ([70.85.31.133]:37605 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754170Ab3HWTnu (ORCPT ); Fri, 23 Aug 2013 15:43:50 -0400 Message-ID: <5217BB73.8050907@wwwdotorg.org> Date: Fri, 23 Aug 2013 13:43:47 -0600 From: Stephen Warren User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Fabian Vogt CC: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, linus.walleij@linaro.org, grant.likely@linaro.org, pawel.moll@arm.com Subject: Re: [PATCH V3] gpio: New driver for LSI ZEVIO SoCs References: <1375879989-18606-1-git-send-email-fabian@ritter-vogt.de> In-Reply-To: <1375879989-18606-1-git-send-email-fabian@ritter-vogt.de> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1266 Lines: 35 On 08/07/2013 06:53 AM, Fabian Vogt wrote: > This driver supports the GPIO controller found in LSI ZEVIO SoCs. > It has been successfully tested on a TI nspire CX calculator. > diff --git a/Documentation/devicetree/bindings/gpio/gpio-zevio.txt b/Documentation/devicetree/bindings/gpio/gpio-zevio.txt > +Zevio GPIO controller > + > +Required properties: > +- compatible = "lsi,zevio-gpio" Is there only one zevio chip, or a series? Is "zevio" the full name of the chip, including any version number? > +- reg = > +- #gpio-cells = <2> > +- gpio-controller; > + > +Optional: > +- #ngpios = <32>: Number of GPIOs. Defaults to 32 if absent Perhaps one can derive that from the compatible value? The fact this property exists implies there's more than one zevio chip, so perhaps each should have an explicit compatible value described above? Is the GPIO block not also an interrupt source/controller? I see the following in the patch, and references to some IRQ registers... > + select GENERIC_IRQ_CHIP -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/