From patchwork Wed Aug 3 15:55:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 595130 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3973AC3F6B0 for ; Wed, 3 Aug 2022 15:56:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237831AbiHCP43 (ORCPT ); Wed, 3 Aug 2022 11:56:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238387AbiHCP4N (ORCPT ); Wed, 3 Aug 2022 11:56:13 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90C4CBCB6 for ; Wed, 3 Aug 2022 08:56:02 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id m41-20020a05600c3b2900b003a4e094256eso1086125wms.0 for ; Wed, 03 Aug 2022 08:56:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conchuod.ie; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=mxMtG/Q251T7R62iX9Xk/wpEgTp311fOpnJ0ShthtKM=; b=B4+uBSxdHMiSA/FZHsjqRDTozx+JSIc1seFJm34ExPeztEVDD07wRjHK6FzULPj52N 0EMMYg3C77CqUFN29Loe0BUvz9T7wymLNRWvAVD/cIeIv0TUhupDo7MN1Pz5qwUDAn+7 BN5c/JV8oa3KMpsf5W+JM2rqd/VNTOpME5Zc9FtJVWEJYzaIQktD0/XCDYoLzNhYvn5f 7ftKrnOMC/S5QQvtkDaDyjY63dAnPxsBSjdnN9I0z+Meib5U4r1inilkPVme/npe8a6u JMfE2ZYEVFLITL4oLRmvF3dRRMEYgoAiwOlWNDjQDUXb8Q2Xk+rL21TfON4HgoYl27YA 0MOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=mxMtG/Q251T7R62iX9Xk/wpEgTp311fOpnJ0ShthtKM=; b=aFuhXBYffqyMdUgJ62roK8Uh1qqNTtVQO6QurOEaIRh4flGn42j9QwyxAYXjv9n8Xl 25MaSdWTmk0ZShrZ3dPD57KZ7bj+zJpnW4hWFShlxDLVNBkkloPo6hmGDK+5Tcv+9w5m 8nm27dtn0wf5ececU9ZaDaUK8/83uxpMj9NCmxb9B3PK39LXAzdLw6JVvTpE7/pEU0Ju 06JeDfge0zw1a+XFQ6Xc1K9YLbZFCMjPMYBEH05Zkm6mwnD3dmffu3f505rtEXO2B+M3 SG/px3QGeX1R749d+p+6pjwh0uzIj1wXX/ok/NTcWWo1Efy+hllMNUCX/c+gfaqNJV3M XZHA== X-Gm-Message-State: ACgBeo1fgouEvJW+UeA0ygjiKWmmK9b3i+HWQ1cni1LVQYy3DxsaYBxM HzoBhiIhtAlGW6F4EEjnz3x0xw== X-Google-Smtp-Source: AA6agR5BfqTfNvlJd1g6OG5xcTlUNOnmja0gCtgMu3jkzJTU+0HROXQ6ioslOvzyFPUGUa6hAhSIyA== X-Received: by 2002:a05:600c:19d2:b0:3a3:2cdb:cc02 with SMTP id u18-20020a05600c19d200b003a32cdbcc02mr3313498wmq.182.1659542160960; Wed, 03 Aug 2022 08:56:00 -0700 (PDT) Received: from henark71.. ([93.107.66.220]) by smtp.gmail.com with ESMTPSA id w13-20020adfee4d000000b0021f0af83142sm18107277wro.91.2022.08.03.08.55.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Aug 2022 08:56:00 -0700 (PDT) From: Conor Dooley To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Palmer Dabbelt , Paul Walmsley , Albert Ou , Conor Dooley , Atul Khare , Sagar Kadam Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH v4] dt-bindings: gpio: sifive: add gpio-line-names Date: Wed, 3 Aug 2022 16:55:40 +0100 Message-Id: <20220803155539.800766-1-mail@conchuod.ie> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Atul Khare Fix device tree schema validation messages like 'gpio-line-names' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: ... sifive,gpio.yaml'. The bindings were missing the gpio-line-names element, which was causing the dt-schema checker to trip-up. Acked-by: Rob Herring Signed-off-by: Atul Khare Signed-off-by: Conor Dooley --- Changes since v3[0]: - Dropped patch 1 & the now unneeded cover letter - Added Rob's Ack - Changed the patch title to include the subsystem 0 - https://lore.kernel.org/all/20220726170725.3245278-3-mail@conchuod.ie/ --- Documentation/devicetree/bindings/gpio/sifive,gpio.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/sifive,gpio.yaml b/Documentation/devicetree/bindings/gpio/sifive,gpio.yaml index 939e31c48081..fc095646adea 100644 --- a/Documentation/devicetree/bindings/gpio/sifive,gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/sifive,gpio.yaml @@ -46,6 +46,10 @@ properties: maximum: 32 default: 16 + gpio-line-names: + minItems: 1 + maxItems: 32 + gpio-controller: true required: