Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2027936pxb; Wed, 2 Feb 2022 19:19:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJzU4v9f9nf17q0uAk7mjtzBH2RGFRshYAUz8wKBn3fuIVtnEX8SoGJJsvPTyrpBbzBH4Z55 X-Received: by 2002:a17:90b:3009:: with SMTP id hg9mr11498049pjb.68.1643858354457; Wed, 02 Feb 2022 19:19:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643858354; cv=none; d=google.com; s=arc-20160816; b=kOqm2IYN/U04znjoixTLmwfptSAO7HdcBjM3mG5X80852w/f3lG2beCzf8vgrVXGbN QDIpwWH2i6u6/19rMoOMpfBf5V4sBQK8T8rt9VhxukFim67TiHDrRAw2jGZ3pmFmlO0D 9PeYFPbsPtHRqdIaru2LrLblL2bwSMStX09QuRjaFXoDzu3jK3DL2ufuGHDi6fOQ36vo Mb3ZiARHNMkFX4f8DzomKfcc6qQyRFCwJoHmkcAwwmLKbzTbyn+t4FFjN6oqPczXQTWq Vfh2ZPCOYcHHcth68dohSV1n4TDjVBpBoQ900OHjuSBzuBW9QVK3n2eAEytA9JSMcMCj Z4Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=x9rntTeDhb6XRDh9/nW9Vd6mnOlOZBc9Iqn9gcca+t4=; b=j1g4zAJ4Y01gazAD377YqPYHvUCX+7tLZMVRYwHfy+RBblQTyMLaLWcn6nwWSCJXxj qFCsAkj3AtAvMrALq8LQYXQLHUynVGn+hYTvhXyWEm5t27TaJf941tUi1t4mAgmltw2j qQvdBtOYz3NJxYc+agkR/Xb2dAIRpqHfkKcm0dVVLvyJMD/rS/qwl9sLyekNmXTgHnWu C8WDeNZJeZifC3Fm+Ggai+2NluxBs+vDiKRx7Yb5QSvSa6EINjXSHdWXpbZUIIw0f+5L qQBcUVJJTqm/PpkCht8aQ9WxDSR4e5E+NV9vcQbr0mW4BeOKVO/t2G17ENCqY4abksJX PmlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=BHT96a9j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t20si5483716pgi.426.2022.02.02.19.19.03; Wed, 02 Feb 2022 19:19:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=BHT96a9j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245400AbiBBJRL (ORCPT + 99 others); Wed, 2 Feb 2022 04:17:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245394AbiBBJRH (ORCPT ); Wed, 2 Feb 2022 04:17:07 -0500 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74980C06173B for ; Wed, 2 Feb 2022 01:17:07 -0800 (PST) Received: by mail-ej1-x635.google.com with SMTP id s5so63086440ejx.2 for ; Wed, 02 Feb 2022 01:17:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=x9rntTeDhb6XRDh9/nW9Vd6mnOlOZBc9Iqn9gcca+t4=; b=BHT96a9j020XxUsQWDK20Qo2NUtO20lg55wm++jPoJnYThjUUezbh67CjJK7F0rhHM WMR0SlUFQ67HKnd5UAq3t8wQw0/IcfiDR64E3Bl3ek5iU+rwGtlsQZv4EhHS3HlLll70 vz81NfQyhvIr/DEWlvNCdVHwVdrYwjwE9rJGuyve+JUZRxMWWVM4Ob6EneixpLbaAEL3 mL8ezHkwZky0WbKNDvZRzGI3ZK6UaCQ70KIPB4ePlH3jMJWTS1GZycbEkrbm1j6fw1Um 8sXv5bQxeCXb57VdMFBZNPF2Oeyyi4RN6dtQaE8SAPEe1FFoplZ5LDWHWcIAME4ULSu0 Kj/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=x9rntTeDhb6XRDh9/nW9Vd6mnOlOZBc9Iqn9gcca+t4=; b=IOyujUqQQmRLhXHS/TC65rhZGWgE7Z6oZG1j588sP4c5v4Hgp/9rjhmfDThKBdhNG1 NOLuHv0k4Y+HiE5q/Vmk2Bfj1Ckw1amdKi3jDAb5h0zgADwPSzvApkZg8ZSItApI1mJF xNk0BJIgQ9bJWpJrM1q4oe9WNIy/L6oaNqdXTcowJY1BfIU1c1Jhx2HqnYZNY8qzGZxv dUfn5ySdilszVdJX6h41fSPOlAkXo6kRmgcwJAXe+iyKqVX2NbkQzNucZZYoBpMMGIiL YIH5bl2Ivh//bQQdz7pCcckquEHRGkGQ1yPtukYHESsfYWkMHsUhfohp1wLffGwa8DLa Pvrg== X-Gm-Message-State: AOAM5307UD0hbljtYQ8qMklZS7hp7yewRjg8v1RoaHne3tCeQ11fqxL4 wpI2pVKYaknHq9nwQr6YK0Tip23vGmSm2rmE7gi6cA== X-Received: by 2002:a17:907:6e1f:: with SMTP id sd31mr24802407ejc.286.1643793425982; Wed, 02 Feb 2022 01:17:05 -0800 (PST) MIME-Version: 1.0 References: <20220130145116.88406-1-nbd@nbd.name> <20220130145116.88406-12-nbd@nbd.name> In-Reply-To: <20220130145116.88406-12-nbd@nbd.name> From: Bartosz Golaszewski Date: Wed, 2 Feb 2022 10:16:55 +0100 Message-ID: Subject: Re: [PATCH v9 11/13] dt-bindings: arm: airoha: Add binding for Airoha GPIO controller To: Felix Fietkau Cc: Linus Walleij , Rob Herring , John Crispin , soc@kernel.org, "moderated list:ARM/Mediatek SoC..." , Linux ARM , Rob Herring , "open list:GPIO SUBSYSTEM" , devicetree , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 30, 2022 at 3:54 PM Felix Fietkau wrote: > > From: John Crispin > > Airoha's GPIO controller on their ARM EN7523 SoCs consists of two banks of 32 > GPIOs > > Reviewed-by: Linus Walleij > Reviewed-by: Rob Herring > Signed-off-by: John Crispin > Signed-off-by: Felix Fietkau > --- > .../bindings/gpio/airoha,en7523-gpio.yaml | 67 +++++++++++++++++++ > 1 file changed, 67 insertions(+) > create mode 100644 Documentation/devicetree/bindings/gpio/airoha,en7523-gpio.yaml > > diff --git a/Documentation/devicetree/bindings/gpio/airoha,en7523-gpio.yaml b/Documentation/devicetree/bindings/gpio/airoha,en7523-gpio.yaml > new file mode 100644 > index 000000000000..66c00ec85731 > --- /dev/null > +++ b/Documentation/devicetree/bindings/gpio/airoha,en7523-gpio.yaml > @@ -0,0 +1,67 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/gpio/airoha,en7523-gpio.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Airoha EN7523 GPIO controller > + > +maintainers: > + - John Crispin > + > +description: | > + Airoha's GPIO controller on their ARM EN7523 SoCs consists of two banks of 32 > + GPIOs. > + > +properties: > + $nodename: > + pattern: "^gpio@[0-9a-f]+$" > + > + compatible: > + items: > + - const: airoha,en7523-gpio > + > + reg: > + description: | > + The first tuple points to the input register. > + The second and third tuple point to the direction registers > + The fourth tuple points to the output register > + maxItems: 4 > + > + "#gpio-cells": > + const: 2 > + > + gpio-controller: true > + > +required: > + - compatible > + - reg > + - "#gpio-cells" > + - gpio-controller > + > +additionalProperties: false > + > +examples: > + - | > + gpio0: gpio@1fbf0200 { > + compatible = "airoha,en7523-gpio"; > + reg = <0x1fbf0204 0x4>, > + <0x1fbf0200 0x4>, > + <0x1fbf0220 0x4>, > + <0x1fbf0214 0x4>; > + gpio-controller; > + #gpio-cells = <2>; > + }; > + > + gpio1: gpio@1fbf0270 { > + compatible = "airoha,en7523-gpio"; > + reg = <0x1fbf0270 0x4>, > + <0x1fbf0260 0x4>, > + <0x1fbf0264 0x4>, > + <0x1fbf0278 0x4>; > + gpio-controller; > + #gpio-cells = <2>; > + }; > + > + I removed this unnecessary newline when applying. > +... > -- > 2.32.0 (Apple Git-132) > Queued for next, thanks! Bart