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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 73C3CC6FD1C for ; Fri, 24 Mar 2023 21:56:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=jyPLRlHNPIN18pJt1Hzfx2Bylq0As9L7KlMYTII3xZQ=; b=ylOpjqcGbOCjML 9EynDUW2olyypEGwRbX1Z1itab8q6ssxL/JI5ZM3h2pnSL7/KG40FwFH0KMKfGPR8YQw4rDj2iqaV MUr94yNBnjpDB0SB3lmAiQzLmtnr/3thIRJ7+g2vqq8oqu2kdbYF6OaXV6eA3zVM5g7F4UU/Hi1Ya r94cP7SLhkZFUE3SgoFa1vgpsRCXH6jZHelUpXTgb7sQ6KtgrGUB9IFj2eQIst+ndK/YYC7RFx4fs +/oE9L6xIapX3Cb2FvZLc2L3NvClXKSVLsaL4crPjN5ETZtfl4G4H4R98tKvgae6CAmdpUn7YgK+p BVLuQIuz78Ox8DHSCYJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pfpNh-005gdR-1Z; Fri, 24 Mar 2023 21:55:29 +0000 Received: from mail-ot1-f51.google.com ([209.85.210.51]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pfpNd-005gcm-1W; Fri, 24 Mar 2023 21:55:27 +0000 Received: by mail-ot1-f51.google.com with SMTP id k14-20020a9d700e000000b0069faa923e7eso1607753otj.10; Fri, 24 Mar 2023 14:55:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679694922; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=cg1iyMYEgtsbLeRCpRhPaB9K329aNM5LHp0JzHXTovw=; b=3GA4YnU49SvJVQaTj9NQMSEuSmfTEgJ94tR+W2hUSTZTiMDtx/UhADJBU1zBfB2IkC KGHwTxoL6VX/NMQtToYG/w26KH4ck8VpLEMlBPL4con5rkdStWpShN2hxoELlP4Tlj6H DkiBl+PXiB7wAXXPVk3zQJInnjoDOcQ2lF0LUsgkpLf/3ZWYf0+lYkMVIZ5Tw5NK6By7 fw8CzoxizvT74CrxJeOebqQGEiyYNINDOnedT28mOuE6EojfL7iTHyq0EyXa/RpXU62I FP/87oNoqE/qlCJA3AAV+m14IXcT7zC1IIoTD4Eu+TuJ0rLjBKPvGFUn9u8YuCALAWNp siDw== X-Gm-Message-State: AO0yUKVbSmRax8HHUmj+GTqVVOk0U+Cjc1l1UL9+1alvOOz+7e+HosGj hlv22jKIKZKPpqXJWH0xDg== X-Google-Smtp-Source: AK7set9dYHYAM+jGb64LFJy7wftyFTrHGyla2bUb6XZxeJK54Y5Ubcj6Z23GeROLf7WDxg8xYzahkQ== X-Received: by 2002:a05:6830:148d:b0:69f:93bc:26be with SMTP id s13-20020a056830148d00b0069f93bc26bemr2504070otq.21.1679694922173; Fri, 24 Mar 2023 14:55:22 -0700 (PDT) Received: from robh_at_kernel.org ([2605:ef80:80f9:92f0:b372:78c0:69c1:66d6]) by smtp.gmail.com with ESMTPSA id b12-20020a9d6b8c000000b0069fa7b738b3sm2800448otq.27.2023.03.24.14.55.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Mar 2023 14:55:21 -0700 (PDT) Received: (nullmailer pid 49167 invoked by uid 1000); Fri, 24 Mar 2023 21:55:19 -0000 Date: Fri, 24 Mar 2023 16:55:19 -0500 From: Rob Herring To: Heiner Kallweit Cc: Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Linus Walleij , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "open list:ARM/Amlogic Meson..." , "linux-gpio@vger.kernel.org" Subject: Re: [PATCH v6] dt-bindings: pinctrl: Convert Amlogic Meson pinctrl binding Message-ID: <20230324215519.GA41513-robh@kernel.org> References: <4fdb1416-b806-c9d3-dc1d-80875b01ac3a@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4fdb1416-b806-c9d3-dc1d-80875b01ac3a@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230324_145525_535717_072E91B8 X-CRM114-Status: GOOD ( 17.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Sat, Mar 18, 2023 at 12:10:59AM +0100, Heiner Kallweit wrote: > Convert Amlogic Meson pin controller binding to yaml. > > Signed-off-by: Heiner Kallweit > --- > v2: > - consider that more than one compatible can be set > - remove bus part from example > v3: > - remove minItem/maxItem properties for compatible > v4: > - split patch to be able to deal with the different reg/reg-names > v5: > - remove compatible definition from common yaml > - move pincfg-node and pinmux-node definition to meson-gpio object definition > v6: > - add meson-pins definition > - change usage of unevaluatedProperties > --- > .../pinctrl/amlogic,meson-pinctrl-a1.yaml | 65 +++++++++++++ > .../pinctrl/amlogic,meson-pinctrl-common.yaml | 57 +++++++++++ > .../amlogic,meson-pinctrl-g12a-aobus.yaml | 66 +++++++++++++ > .../amlogic,meson-pinctrl-g12a-periphs.yaml | 70 ++++++++++++++ > .../pinctrl/amlogic,meson8-pinctrl-aobus.yaml | 74 +++++++++++++++ > .../pinctrl/amlogic,meson8-pinctrl-cbus.yaml | 76 +++++++++++++++ > .../bindings/pinctrl/meson,pinctrl.txt | 94 ------------------- > 7 files changed, 408 insertions(+), 94 deletions(-) > create mode 100644 Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-a1.yaml > create mode 100644 Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-common.yaml > create mode 100644 Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-g12a-aobus.yaml > create mode 100644 Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-g12a-periphs.yaml > create mode 100644 Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-aobus.yaml > create mode 100644 Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-cbus.yaml > delete mode 100644 Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt > > diff --git a/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-a1.yaml b/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-a1.yaml > new file mode 100644 > index 000000000..7dccf18c9 > --- /dev/null > +++ b/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-a1.yaml > @@ -0,0 +1,65 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/pinctrl/amlogic,meson-pinctrl-a1.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Amlogic Meson A1 pinmux controller > + > +maintainers: > + - Neil Armstrong > + > +allOf: > + - $ref: amlogic,meson-pinctrl-common.yaml# > + > +properties: > + compatible: > + enum: > + - amlogic,meson-a1-periphs-pinctrl > + - amlogic,meson-s4-periphs-pinctrl > + > +required: > + - compatible > + > +patternProperties: > + "^bank@[0-9a-z]+$": > + $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio unevaluatedProperties: false And other meson-gpio references. With that, Reviewed-by: Rob Herring _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel