From patchwork Tue Jul 19 21:49:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 12923138 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 83038C43334 for ; Tue, 19 Jul 2022 21:51:53 +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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=84gcC4XUKrbJ4CiHt4LoYuT78k5GmlkSN0+Tz9CCRT8=; b=bbB5f8XQo6wvYN uo5COBv6sxZjqW1UIW7nrkhFpAx+jvKfXm11xA2BUHLcY4NASxuUlHfmebGowYhocIYV5TcOsK+9F qJdKGvCTN+0lNJjYk27MZoBw53JsLFwQEQM53Qw0fZxQD2A67jC+0eT3D+aQR6m2dZar0A02LrIUJ PLzc31P2mv5z8zliMLnVMRguQph/QP+De7T0TG5LE6TQ3ANgmFORMWAuOsTRJUT8wYjP+eiypTvBa xKOOdePvvBandgOdToMFJCqm6Vou24VpvjWz4Bx/O2eXC3cB/wgTf4WHlLOhpeD4+XGtcqtBFsey8 LydSBIdQVfX0YeFn7bIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDv6h-00DPGu-4O; Tue, 19 Jul 2022 21:50:19 +0000 Received: from mail-io1-f46.google.com ([209.85.166.46]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDv6V-00DPA0-5A for linux-arm-kernel@lists.infradead.org; Tue, 19 Jul 2022 21:50:08 +0000 Received: by mail-io1-f46.google.com with SMTP id e69so5423723iof.5 for ; Tue, 19 Jul 2022 14:50:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uc8dTbCs7ii6OtIpUoNiWI+bZ2IGfa5Sn9yPhzaCkic=; b=dmDoAq1qrvEVDMK3uP1OdXYVyRdV1JKA9uWp/fFAQ9UVyCGQ/SbgCrWuB6Ra53ZNbO iHgS8jlGGZP4fhN9OG9sd2QJIBhd4EUeUiPShDtJcQUnDdA4XiFsecYTTH5HmwpALxFm t8N+Sq3zoAQAqNOWWLXc5wYlKVfSeR/aRX2ndYWEdAOuyMZlswBdT5y/ngh+4H2abTxg S2erd7ePsGafq9mFtxNYGty+ZYcLRsMYHZaUxkQghgcmRD/Z1OSefWc3lfdg+SCQ3twP BOpKVivBghtdszZBGRiALk416ARh/uk5biadpFCFB9x6bF4pyfjJS5HcR9//xB6anr90 9dxg== X-Gm-Message-State: AJIora+I+xvVZVXwnOJiQ1I5PTmhyavqhXVaZvOEE6vTl/kl69SzSZhw xjviP7P85M8UF9nxon2XHw== X-Google-Smtp-Source: AGRyM1sSjCNPW0y8claL4HT40MMZy1QtSqugJ1KONdXeSON48IRYgp7p0MLK3JCLiUcY4Abp5Db2Qg== X-Received: by 2002:a05:6638:168e:b0:341:5b82:a46f with SMTP id f14-20020a056638168e00b003415b82a46fmr9722732jat.201.1658267405972; Tue, 19 Jul 2022 14:50:05 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.248]) by smtp.googlemail.com with ESMTPSA id z8-20020a05660229c800b00674c8448c3csm7811758ioq.6.2022.07.19.14.50.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jul 2022 14:50:05 -0700 (PDT) From: Rob Herring To: Linus Walleij , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: pinctrl: st,stm32: Correct 'resets' property name Date: Tue, 19 Jul 2022 15:49:54 -0600 Message-Id: <20220719214955.1875020-1-robh@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220719_145007_218645_A5978E4A X-CRM114-Status: GOOD ( 12.38 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The correct property name for the reset binding is 'resets', not 'reset'. Assuming actual users are correct, this error didn't show up due to missing 'additionalProperties: false'. Fix the name and add missing 'additionalProperties'. Signed-off-by: Rob Herring --- .../devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml index 335ffc1353b5..d35dcc4f0242 100644 --- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml @@ -59,6 +59,7 @@ properties: patternProperties: '^gpio@[0-9a-f]*$': type: object + additionalProperties: false properties: gpio-controller: true '#gpio-cells': @@ -68,8 +69,7 @@ patternProperties: maxItems: 1 clocks: maxItems: 1 - reset: - minItems: 1 + resets: maxItems: 1 gpio-ranges: minItems: 1