From patchwork Mon Nov 21 14:11:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 23776 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1612770wrr; Mon, 21 Nov 2022 06:14:55 -0800 (PST) X-Google-Smtp-Source: AA0mqf7HTv0L21yituUEylNKlZlKO5rVaI8fYqr2ROtxFNrIgNK0ayI5BBXUqxD99+G1tUQoPWFT X-Received: by 2002:a62:6d02:0:b0:562:3411:cb3a with SMTP id i2-20020a626d02000000b005623411cb3amr1526992pfc.60.1669040094816; Mon, 21 Nov 2022 06:14:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669040094; cv=none; d=google.com; s=arc-20160816; b=yuIBBROSksgbUUJiUcWXknULD+bLe51prmx+TbuUJFdu4QKWfi4PgF/PaLaHNWw24v Io9XM3SI8b2yl0vGYEe/vHq8oHpY8Rg4UMqtiozYKPduu46lVi1jQIMXU1+qNKy9oUC4 VC+HBJqd+ovJ46mE7m8NOTQQnETIr3NIi5s97HB9u0H4B/dbrM699Oypis7tcfyV8edQ wUFlY4l0U0hnn2uGQBfc7Gw4spOyg/aP3NyWBMAA4Atp7/JEtg19PEidcJpKDaFpoZJ6 bzfFmTCILtzN0mz3fCq351jWqeVnWaoWcvSwMW3Pn7HCPpaRbrOjOO2jit+qYo1jichp xlIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=a5k67QuDo1Qk0X7jO0qY2yfVnKcc1QrEolrR5Lw2lro=; b=TQEGt1bs3NnFaBgVwOtdUUjytyR1Shsae8ZMIiX0AQqB1zZwn3TiVxt4zsJUBWTNlw vPkF1UkZI4sBc3QC9pkQ2L5XakvF/IypI5hSS1GWLUKXxy4QBS7YxzSjaKSKNCFAVE0f BV0p2N0lHB6lnDK0pMxFJ0pFz+8R5He0BhihS0vUqQobXLNo6v6BjzHH4EgYgccA1yVU k0idCsv9XDZHTcASmQkBXS0UUnDq8HaouNYcd0At8elsoqns5/8AhY2nxAGHjmryuVM9 RYt51TJaknTLKH9VhWisy/iw/f2x8ov6K/a8UrJMaQrgPe8sxLfmOWS+ipVoGiUG7p/7 X2Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="wmd/Oi2S"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nl3-20020a17090b384300b0021322320f17si12107950pjb.17.2022.11.21.06.14.40; Mon, 21 Nov 2022 06:14:54 -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=@linaro.org header.s=google header.b="wmd/Oi2S"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230217AbiKUONy (ORCPT + 99 others); Mon, 21 Nov 2022 09:13:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230074AbiKUONT (ORCPT ); Mon, 21 Nov 2022 09:13:19 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A393D17891 for ; Mon, 21 Nov 2022 06:12:01 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id g12so20009915wrs.10 for ; Mon, 21 Nov 2022 06:12:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=a5k67QuDo1Qk0X7jO0qY2yfVnKcc1QrEolrR5Lw2lro=; b=wmd/Oi2SwzCm8Keu+nwhMNN4DJifRZBg++Z5GE6yRvbpKhw/BH5OjbRLuEzs+d/qyb kGxdb8pnKL2myAQixV6RdwXasmr3988IYpCelAJar+n8PiWSUX+ydgbRNlEoqDtkI9wx DzmYpOs5tHbqW/f8HNE2yxVGaR5OkZtYThkUTpIgZa8zpzCPChoo9ImNdT+sFn/ASEQM rCscish+YLIpKe5ptyQTyTBWIxGFNza33e9+sLNsjsZDDS/C2npCMKs/Uit25lpwm0zY WNEU/JPLF2B8HW0c9c/Veo0d4Aqu6L2j+v8UNVjz3zp0baeD+/D+ERZ5OEFQu0+pTbEC jk1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=a5k67QuDo1Qk0X7jO0qY2yfVnKcc1QrEolrR5Lw2lro=; b=LYBBxZH9UVmVaWOuAjRvgd+MITzrorn7cFV7C9VTx+JlEDk8C/ccuMsUnZoQyBFdk1 90kf842aZ5h7rn9OuR7p2dojTOzwQiXgv4KncfL1DyNxjHM2pG28Ta5KgTixUkrorF8t fX6PrylA/iKTaLgW56TvCgl5/xzRI2sUJ7pU25jG+2ZKBClf36vwtOb+qs0Pj25Z7gu1 k3aesFUeoVHG1tK41y8OPmsqOMNaYHvMfkQ4KsPzi0aijgB3k0dPDpAUsnWVyJcdwrjv tlqC04gYSislHrXuywJ2OQXulPNwC1UQrA/2+PUSYFuAjyag8iLqfLIz2kPnZzsk1YLV FJAg== X-Gm-Message-State: ANoB5pkFWuQaqaU5v38w1YpJ5tqOtEWQUN5zdDVX6ri9T7rmiOyWX5y1 Nw7apWNurN1s9Xf5WsRYAmBCBA== X-Received: by 2002:a05:6000:18c1:b0:236:5d8c:97fd with SMTP id w1-20020a05600018c100b002365d8c97fdmr11444879wrq.473.1669039920066; Mon, 21 Nov 2022 06:12:00 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id c18-20020adffb12000000b002365730eae8sm11248151wrr.55.2022.11.21.06.11.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Nov 2022 06:11:59 -0800 (PST) From: Neil Armstrong Date: Mon, 21 Nov 2022 15:11:57 +0100 Subject: [PATCH] dt-bindings: pinctrl: semtech,sx150xq: fix match patterns for 16 GPIOs matching MIME-Version: 1.0 Message-Id: <20221121-sx150xq_bindings_fixup-v1-0-e754f183b611@linaro.org> To: Krzysztof Kozlowski , Rob Herring , Linus Walleij Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sander Vanheule , linux-gpio@vger.kernel.org, Rob Herring , Neil Armstrong X-Mailer: b4 0.10.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750115386880429029?= X-GMAIL-MSGID: =?utf-8?q?1750115386880429029?= The current pattern for SX1503 and SX1509Q with 16 GPIOs only matches "gpio0", "gpio1", and "gpio5" instead of "gpio0" to "gpio15" included. Fix these patterns to match the whole 16 GPIO line names. Fixes: 29c10bcec50a ("dt-bindings: pinctrl: convert semtech,sx150xq bindings to dt-schema") Reported-by: Sander Vanheule Signed-off-by: Neil Armstrong --- To: Linus Walleij To: Rob Herring To: Krzysztof Kozlowski Cc: Rob Herring Cc: linux-gpio@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Sander Vanheule --- Documentation/devicetree/bindings/pinctrl/semtech,sx1501q.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- base-commit: b6b904083dfcffadc06928b46f7a6416beba0031 change-id: 20221121-sx150xq_bindings_fixup-5ec9e5c2375c Best regards, diff --git a/Documentation/devicetree/bindings/pinctrl/semtech,sx1501q.yaml b/Documentation/devicetree/bindings/pinctrl/semtech,sx1501q.yaml index df429a396ba3..0719c03d6f4b 100644 --- a/Documentation/devicetree/bindings/pinctrl/semtech,sx1501q.yaml +++ b/Documentation/devicetree/bindings/pinctrl/semtech,sx1501q.yaml @@ -140,7 +140,7 @@ allOf: properties: pins: items: - pattern: '^gpio[0-15]$' + pattern: '^(gpio[0-9]|gpio1[0-5])$' - if: properties: compatible: @@ -176,7 +176,7 @@ allOf: properties: pins: items: - pattern: '^(oscio|gpio[0-15])$' + pattern: '^(oscio|gpio[0-9]|gpio1[0-5])$' additionalProperties: false