Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp543135pxv; Thu, 24 Jun 2021 13:51:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVp4LLjWTqvxIvFp9ALF95kb5nz0W2csL635hv+VAniA+a1es/5CwBUDGyzJDRRSr7BN7T X-Received: by 2002:a02:5e8a:: with SMTP id h132mr3856558jab.60.1624567913666; Thu, 24 Jun 2021 13:51:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624567913; cv=none; d=google.com; s=arc-20160816; b=HwV79AwB7qVBPacAMiIO0i7GRr6XijNNltnW4zw2uOuKOHPuBk+HRqXd6m4cS99ps1 JgA4624XhFK9mhn2xzZcbPNNWKTCRJ8ojpYugAwSguf8cfKlU2mTPRLQZNjHIlawtOPm pdenRVkHT0W2W1DzZBr753vUlNmfSCxXw8AOv4ejT0JCUwUEGOng/eOVcswdaNezVWtH 6gQCzji5MnFVdjprn76ZwmtkWYjY9w8KW3FBdvPTsUSdGeg0ASZri9bzC5RDSDfSLMNY YIucuWWWTRiucYdnC9UvbVhx38w6uod/oT12HBG1zv9OLyLMQac94LXM5TLKzzWILooB 3zSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=dOWNK4szL7NJozN67ySYH7Tt83tGGtejwTxVm+0NPmc=; b=gsZLvtYShwS2HBnNOYRdkaia8DAnUBlTGuCZNuIcGQ6m28GCAp7zdxl4G//WDYnFqz S8zYL86IoP04DUL5DleCzpRgfuIwIYGOR78uP2F7OKKjq+oXkRxlTHeYpK99dZmjQxJB nUjt0M9nZyOpOXeALKhYsZrB/+UJrZBgF9H8ozZB09bI+i4/oZEPDCit4FtINRjlD+kQ V8K/tTXaLU9lPrKO5ljx3qCWNykjR5hXk1ORe33a0v1PwY42ntXIU2E43HJhzXNYzBD0 9GJJ65DpndaHYMUhG1vvoHhKv7NlafPcvkiWaNLvxE32jkObS7yLNB89FHrjtfr2vkIr nQHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e21si4637302jam.39.2021.06.24.13.51.40; Thu, 24 Jun 2021 13:51:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232310AbhFXUxX (ORCPT + 99 others); Thu, 24 Jun 2021 16:53:23 -0400 Received: from mail-io1-f51.google.com ([209.85.166.51]:43839 "EHLO mail-io1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229525AbhFXUxT (ORCPT ); Thu, 24 Jun 2021 16:53:19 -0400 Received: by mail-io1-f51.google.com with SMTP id k16so9893318ios.10; Thu, 24 Jun 2021 13:50:59 -0700 (PDT) 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; bh=dOWNK4szL7NJozN67ySYH7Tt83tGGtejwTxVm+0NPmc=; b=g8lrEhI+j6rwtJXCOq27Mda5XI4GjqUECZ9R5SWGR6dpVnZD9HrjxxlRQxUfSwgUTK gQ9uLSXH8Nyw1xKhoLl82IE5Yb+zE/b2vcMeB1QNbNQ2DAEkHY69YrgbVoCEE8kvxIIa Qe/zlADYKK2TnDBlRWsHeCLVDfkvi0GxVkDmsX2yBoWeZAgrKVaLWWFDC8vX8lnlTXpF Bqe4GG+S4LQLbaa/2W2Xot/+HFXsiFparbwc9FIu2oDTa8pdsQhO2x/aoCQBvvf807i4 g+ngqRxgRJZgZjD3jrhprbiIuAAbGrr0+122TISXA7+wWazrvI92SiVGNmAm1LBOE/gl dM5Q== X-Gm-Message-State: AOAM532oNf6s/81hrW9F88uSeKwXAecY4Vr8al91Rz5xbqxqExW8tq2L SBrz3vYdeavWkqPcUqs5kw== X-Received: by 2002:a05:6638:13c3:: with SMTP id i3mr6369212jaj.140.1624567859160; Thu, 24 Jun 2021 13:50:59 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id q19sm1949433ios.11.2021.06.24.13.50.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Jun 2021 13:50:58 -0700 (PDT) Received: (nullmailer pid 1966245 invoked by uid 1000); Thu, 24 Jun 2021 20:50:55 -0000 Date: Thu, 24 Jun 2021 14:50:55 -0600 From: Rob Herring To: Piyush Mehta Cc: linus.walleij@linaro.org, bgolaszewski@baylibre.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, git@xilinx.com, sgoud@xilinx.com, michal.simek@xilinx.com Subject: Re: [PATCH 1/2] dt-bindings: gpio: Add binding documentation for modepin Message-ID: <20210624205055.GA1961487@robh.at.kernel.org> References: <20210615080553.2021061-1-piyush.mehta@xilinx.com> <20210615080553.2021061-2-piyush.mehta@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210615080553.2021061-2-piyush.mehta@xilinx.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 15, 2021 at 01:35:52PM +0530, Piyush Mehta wrote: > Add DT binding document for modepin GPIO controller. Please give some indication in the subject this is for Xilinx. > > Signed-off-by: Piyush Mehta > State: pending > --- > .../bindings/gpio/xlnx,zynqmp-gpio-modepin.yaml | 41 ++++++++++++++++++++++ > 1 file changed, 41 insertions(+) > create mode 100644 Documentation/devicetree/bindings/gpio/xlnx,zynqmp-gpio-modepin.yaml > > diff --git a/Documentation/devicetree/bindings/gpio/xlnx,zynqmp-gpio-modepin.yaml b/Documentation/devicetree/bindings/gpio/xlnx,zynqmp-gpio-modepin.yaml > new file mode 100644 > index 0000000..39d78f8 > --- /dev/null > +++ b/Documentation/devicetree/bindings/gpio/xlnx,zynqmp-gpio-modepin.yaml > @@ -0,0 +1,41 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/gpio/xlnx,zynqmp-gpio-modepin.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: ZynqMP Mode Pin GPIO controller > + > +description: > + PS_MODE is 4-bits boot mode pins sampled on POR deassertion. Mode Pin > + GPIO controller with configurable from numbers of pins (from 0 to 3 per > + PS_MODE). Every pin can be configured as input/output. And connected to other functions like GPIOs? > + > +maintainers: > + - Piyush Mehta > + > +properties: > + compatible: > + const: xlnx,zynqmp-gpio-modepin > + > + gpio-controller: true > + > + "#gpio-cells": > + const: 2 > + > +required: > + - compatible > + - gpio-controller > + - "#gpio-cells" > + > +additionalProperties: false > + > +examples: > + - | > + modepin_gpio: gpio { Drop unused labels. > + compatible = "xlnx,zynqmp-gpio-modepin"; > + gpio-controller; > + #gpio-cells = <2>; How does one access this h/w? > + }; > + > +... > -- > 2.7.4 > >