Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4137218imu; Tue, 18 Dec 2018 09:36:02 -0800 (PST) X-Google-Smtp-Source: AFSGD/W+3MdeZjiMl1mH10dhXOy8eTkADMAD2+2f9nUuJ0k4NizESWVfzM6XJaCt3jLzYAtmoQLu X-Received: by 2002:a62:75d1:: with SMTP id q200mr17426197pfc.254.1545154562649; Tue, 18 Dec 2018 09:36:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545154562; cv=none; d=google.com; s=arc-20160816; b=KtiF3BfUJ+ZDKQbJKkJDxrf0g2jj9/qa+oiB1kNFwxkWu7i0uq/PZvFv+kt1ZcRG9z qc9WGma2XQ+wwDCaWXPJyZjfRvzyLhc3O1SYzuv9WDRSPfLxN0v9bQ520ak9xNsqYd5L YNxk3sKcbYz+9boO+8U8LVLdpyJqF6QKeKfGSCrMFjsEGIBlEiLgfr6Rm4cavUnlldZF LMjEkK4Q6KSGW/YPmP+/7BuDp5IA959itSuDUq9CFEMZy0Q2B4iNHkX7JDyaMHqV9lOJ cktRw5l/kzM+utpDd+JU1oldfZ+sQxrDPSxw2WlEk+m5co12ByMiC4JHwQkMpQz1Zq0o tURQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=tV8/DGJ53qwJSmkJnArvpr8WpIblVj5jGwXmw2hy6qc=; b=U9g1YKEQyCaQlfBvgm42yNUs/4N1NdjSBJmYBxciCG43tT/MEOXL5NhqgwIzXDcQcP +lk6X9I1vwG5bqaMRYxWmtfD3yiEnUwDw9W+ijtW6SHTSTaTwaf1j6JfJjgyBvVOXC1Z QzA0KXeJCQCgge56BFAH95CmN+Wum86fV5AZeRJ4nFoA3psPa4AiYZNDgjIMIP2xYqcw ObEztk7h8XxiQ9HTiP/AWapz2DHlB9dg3ziMKKhrwpb0CdkyuM/XV1NTsvCE3+rEWt01 D1pIdBayRR8nCP7Ijr4kefV5UsO70w1TKS12ivdnoASgU8DQ+SsjHMEzJBjb0gFJ2yCe aD0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 87si13889566pfs.7.2018.12.18.09.35.33; Tue, 18 Dec 2018 09:36:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727159AbeLRRda (ORCPT + 99 others); Tue, 18 Dec 2018 12:33:30 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:41445 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726555AbeLRRd3 (ORCPT ); Tue, 18 Dec 2018 12:33:29 -0500 Received: by mail-ot1-f67.google.com with SMTP id u16so16413677otk.8; Tue, 18 Dec 2018 09:33:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=tV8/DGJ53qwJSmkJnArvpr8WpIblVj5jGwXmw2hy6qc=; b=VfaOlPJtFGjvbA80IyIHNCdYwRWAKBndE+CvT+ZxGhIZDRsJCk8HfwX7sW0oCgz8SO jjINUqRvOwM8dDI93zjUbQjQMqLD+972x1OA1/XOjuHD3z+EZK2ukdztIVWioNYr+1NV /QqcBx664RaaRhygKEO5RLBrrVglXKE5QNYnE4dfmnu8jDpwyvQjKJWb0RQT5Ve8h70b Z3x+jonUrLStb+RBYLkdzVwAYmedB4B//VqVrWqhkp9KwXCBhLUJmKmaHPDH368X4iFS 9iuI6boDlzHAFg9H8NtmIgiVCoLsNy1LTVmEdG3GHhdLOqEVmhk1B5nqKTtZPKtDBKRe NAjQ== X-Gm-Message-State: AA+aEWZ6L8+n7FL16DumSnpQrAOsmvp2MfZvJaDYKDw2NVUR43a/G8+2 oqO9mOGncjpl9UT1nqJPIw== X-Received: by 2002:a9d:5415:: with SMTP id j21mr12304860oth.202.1545154409080; Tue, 18 Dec 2018 09:33:29 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id i22sm7678557otp.7.2018.12.18.09.33.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Dec 2018 09:33:28 -0800 (PST) Date: Tue, 18 Dec 2018 11:33:27 -0600 From: Rob Herring To: Jan Kotas Cc: linus.walleij@linaro.org, bgolaszewski@baylibre.com, mark.rutland@arm.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] dt-bindings: gpio: Add bindings for Cadence GPIO Message-ID: <20181218173327.GA29063@bogus> References: <20181217153652.20056-1-jank@cadence.com> <20181217153652.20056-2-jank@cadence.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181217153652.20056-2-jank@cadence.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 17, 2018 at 03:36:51PM +0000, Jan Kotas wrote: > This patch adds a DT binding documentation for > Cadence GPIO controller. > > Signed-off-by: Jan Kotas > --- > .../devicetree/bindings/gpio/cdns,gpio.txt | 44 ++++++++++++++++++++++ > 1 file changed, 44 insertions(+) > create mode 100644 Documentation/devicetree/bindings/gpio/cdns,gpio.txt > > diff --git a/Documentation/devicetree/bindings/gpio/cdns,gpio.txt b/Documentation/devicetree/bindings/gpio/cdns,gpio.txt > new file mode 100644 > index 000000000..c87a47827 > --- /dev/null > +++ b/Documentation/devicetree/bindings/gpio/cdns,gpio.txt > @@ -0,0 +1,44 @@ > +Cadence GPIO controller bindings > + > +Required properties: > +- compatible: should be "cdns,gpio-r1p02". > +- reg: the register base address and size. > +- #gpio-cells: should be 2. > + * first cell is the GPIO number. > + * second cell specifies the GPIO flags, as defined in > + . Only the GPIO_ACTIVE_HIGH > + and GPIO_ACTIVE_LOW flags are supported. > +- gpio-controller: marks the device as a GPIO controller. > +- clocks: should contain one entry referencing the peripheral clock driving > + the GPIO controller. > + > +Optional properties: > +- ngpios: integer number of gpio lines supported by this controller, up to 32. > +- interrupt-parent: phandle of the parent interrupt controller. Don't document interrupt-parent as it is implied and could be in a parent. Otherwise, Reviewed-by: Rob Herring Rob