From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76D36C388F9 for ; Wed, 11 Nov 2020 21:06:38 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E18F820665 for ; Wed, 11 Nov 2020 21:06:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="3AWlBT4B" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E18F820665 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=qwPSro7Pm4X5AxgRCYYAwGgYpZIfI9G0Lc8Ui91VX/A=; b=3AWlBT4BJGBMSFQ/bH0Nh4saA UyUNCgSawFqP6oCgYcoY7PLEyWsRJc2rfp0A9ru/ea2GJQR2bcC4ECicOVheu7Nizp1UuM8RILYgD NP+/CRp++PukLv7LXgWjNOGhCxCNAvE/KR7kr4sm+GBqzpwt/a3sZH02Hq8yn/oHWUhWwo9p5wK0t MeThtrIk5n+TUBJToKboaAwplYzS5gMxdDo6BKeZ8mamNu4+ZkX0Bc7utEGPJ8UqFwCEpx2rnTysQ kdOh9gwR5J7momH7ddqZc8L5MPjws1uFxEqsSM132Dpgi2y30S9snf2ecMNpROVLEBzRFp5ZmnQZx AgvLsmhhw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcxJg-00005G-HI; Wed, 11 Nov 2020 21:06:08 +0000 Received: from mail-oi1-f195.google.com ([209.85.167.195]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcxJd-0008W6-9y for linux-arm-kernel@lists.infradead.org; Wed, 11 Nov 2020 21:06:07 +0000 Received: by mail-oi1-f195.google.com with SMTP id u127so3781817oib.6 for ; Wed, 11 Nov 2020 13:06:05 -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; bh=WYNczxSjDE23Pwjm/JYzPYiAl8+Mw5j0D8+bwmWHfpk=; b=t+bVXcra1wnzfCeFpbsLST4nyxDtCtDGOHfm0IHGNKvzsaeJnISdvEDo2a2mkGgBaF pNvqbhkg5giMuMlPYexAPG4Qot/O731tjjONSmFdzzxIDOF4nmI2ceB4vJZINVEHhIzz IWrgjFT0YAV+CK7BsqF4LvIrlyqvypX7g7bxaYR8vKHoHREFOT6zeTi5xFQi67xjWwEl 7lv9FbWML3FlDq74TUCdjyTPfAge4FvjFdgrRIsKs+vGqrp4INEXpIkPJ03D5vuFpqUS IMTgwlmu0OBido3tw2fV3082r97bZ5KiKxL0DNrAjPb1KxSLKRJwAimCEFPd8B2uCjaA vCFg== X-Gm-Message-State: AOAM5311v2ebaJ2fRCQ2eK+KIzFyJeTsHNP5o+4uDz4siTVQgTAnNScp ww4l+q2LNGRk2EjRBfoKuw== X-Google-Smtp-Source: ABdhPJzKxe8G0bEDi5iOyK9Zh2c59ErqGs3ZMcQtD3yw7+8doRWZsx/HDary7B0zdkaBRLQqFHt1Iw== X-Received: by 2002:aca:3a46:: with SMTP id h67mr3536472oia.21.1605128764582; Wed, 11 Nov 2020 13:06:04 -0800 (PST) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id n21sm661975oie.15.2020.11.11.13.06.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Nov 2020 13:06:03 -0800 (PST) Received: (nullmailer pid 2031561 invoked by uid 1000); Wed, 11 Nov 2020 21:06:02 -0000 Date: Wed, 11 Nov 2020 15:06:02 -0600 From: Rob Herring To: Daniel Palmer Subject: Re: [PATCH v3 2/5] dt-bindings: gpio: Binding for MStar MSC313 GPIO controller Message-ID: <20201111210602.GA1974594@bogus> References: <20201109121731.1537580-1-daniel@0x0f.com> <20201109121731.1537580-3-daniel@0x0f.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201109121731.1537580-3-daniel@0x0f.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201111_160605_369187_16D3759C X-CRM114-Status: GOOD ( 19.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Cc: devicetree@vger.kernel.org, maz@kernel.org, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, soc@kernel.org, w@1wt.eu, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Nov 09, 2020 at 09:17:28PM +0900, Daniel Palmer wrote: > Add a binding description for the MStar/SigmaStar GPIO controller > found in the MSC313 and later ARMv7 SoCs. > > Signed-off-by: Daniel Palmer > --- > .../bindings/gpio/mstar,msc313-gpio.yaml | 62 +++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 63 insertions(+) > create mode 100644 Documentation/devicetree/bindings/gpio/mstar,msc313-gpio.yaml > > diff --git a/Documentation/devicetree/bindings/gpio/mstar,msc313-gpio.yaml b/Documentation/devicetree/bindings/gpio/mstar,msc313-gpio.yaml > new file mode 100644 > index 000000000000..8c7cfe3a51b3 > --- /dev/null > +++ b/Documentation/devicetree/bindings/gpio/mstar,msc313-gpio.yaml > @@ -0,0 +1,62 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/gpio/mstar,msc313-gpio.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: MStar/SigmaStar GPIO controller > + > +maintainers: > + - Daniel Palmer > + > +properties: > + $nodename: > + pattern: "^gpio@[0-9a-f]+$" > + > + compatible: > + const: mstar,msc313-gpio > + > + reg: > + maxItems: 1 > + > + gpio-controller: true > + > + "#gpio-cells": > + const: 2 > + > + gpio-ranges: true > + > + gpio-ranges-group-names: > + $ref: /schemas/types.yaml#/definitions/string-array Not a standard property. Probably should be dropped, but why do you need this and what is it for? > + > + interrupt-controller: true > + > + "#interrupt-cells": > + const: 2 > + > +required: > + - compatible > + - reg > + - gpio-controller > + - "#gpio-cells" > + - interrupt-controller > + - "#interrupt-cells" > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + gpio: gpio@207800 { > + compatible = "mstar,msc313e-gpio"; > + #gpio-cells = <2>; > + reg = <0x207800 0x200>; > + gpio-controller; > + gpio-ranges = <&pinctrl 0 36 22>, > + <&pinctrl 22 63 4>, > + <&pinctrl 26 68 6>; > + #interrupt-cells = <2>; > + interrupt-controller; > + interrupt-parent = <&intc_fiq>; > + }; > diff --git a/MAINTAINERS b/MAINTAINERS > index db9c008a0395..87ca71f55de3 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -2131,6 +2131,7 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) > S: Maintained > W: http://linux-chenxing.org/ > F: Documentation/devicetree/bindings/arm/mstar/* > +F: Documentation/devicetree/bindings/gpio/mstar,msc313-gpio.yaml > F: arch/arm/boot/dts/mstar-* > F: arch/arm/mach-mstar/ > F: include/dt-bindings/gpio/msc313-gpio.h > -- > 2.29.2 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel