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: 595169 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 0C83EC19F28 for ; Wed, 3 Aug 2022 15:56:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238154AbiHCP43 (ORCPT ); Wed, 3 Aug 2022 11:56:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237831AbiHCP4M (ORCPT ); Wed, 3 Aug 2022 11:56:12 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FFB2BC8F for ; Wed, 3 Aug 2022 08:56:02 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id v5so8937470wmj.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=0PcddBDbdv4kJfFO1rVnCU2a5O1JN8TIR7rRF+yjH3HTI0WOfSXenAQJjOApPbV+QK txtv2DR6CU4Ajm/RGw62NPHrYnVgLvrJaWkaKqc72Ym7LNioIGX2z6Bs/4LoJVdB3Ys2 zoafhxH00VxgPayYMgwGpAmi12UWfTwHJNkb+ow5qnYxYYtrm6CSkkCVAOnzxaLbSXxB jB7VPjNQDS0PPHeVFsTwUbE36vl108d/sfk+jcRbS18PFORXcirMbBMcMsZqMolC+ECT KPWkeWRcD85JREdiv/eGGOaqyb9jQsLL20HDM8FI7t1jtMOU3tX3iFsEmL0vMXCiBXpU NSqQ== X-Gm-Message-State: ACgBeo3yijibEuwIgL9Vn5rZlI/n+dmLlHQC6NjrEDZCVvdOCsmv8pKr Z+T778iFmOaV5nsd3ARPwOkZIw== 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: linux-gpio@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: