Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4634175rwd; Tue, 30 May 2023 07:59:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Hu+arObdSNNzLSpQ5IZ7z2y/UFTiKAr8cFPMNQkyNciXp13k3oodg7puINUgVEyglXagw X-Received: by 2002:a05:6a00:1a11:b0:63d:3981:313d with SMTP id g17-20020a056a001a1100b0063d3981313dmr2878745pfv.10.1685458755714; Tue, 30 May 2023 07:59:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685458755; cv=none; d=google.com; s=arc-20160816; b=VOSkxylI6Cjq+B1mG5zxH7+Yzo5hn1XqfjF1GjvacflFR67joX0cwmonoIF9R896qC pL4l0NemTmNB6BJMUuC0Ui+/YgxJbV7Jc+U5LiWl0N4usO4IzyMcd4tTs67hpZKzfPNN gzU9TB1ozFAk0mEDfIaGs8XXV3TxWyFka3v9FJUw2W96VyuKmZEc4XLLjCH6HzH1u6uO pVq2YYEfLlrAJvfebEM3IgjGfXQXYNcavRK4HPXxRVcCgK05ea8WOrmycOi+4pE8EMJs oPY0qaIP3y2+SJC5ptpT7C2A3YidsSV8bt+Mg0P94ESqKxj86vDER+YbgI9GNKHN2S+X 0K9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=W1z7LKWFPOmfXdAKBPrDZn05nG/m3OsiksUdI+BUoo8=; b=sK+1rfMJotrkzQChDZHubT5/ItG6UgaIU4KvERHnwU3qGJcbN7YGXlvX/SlK2f66hO Ky6dHsH0xJywTnBROqiRwemzYa3tMHoZr5rLsThZnmdYoIgKZHZr7j6lWAXdO1GGlx3v MLaJHpy/JOpQK1QRXjbB+pieXlkZmxjibKIVr15HLdZ9vGMaKoJld/Ri5PjTkWnLJpj5 VDXsJ8lNuHmJ4e8VYKwfUFHjKYSeFgTg8Vj6aqD4ucBEGXRs3eYmlKmB/jKwJqCxXl7R V3CrW2Iwav/E4KL7oWubXkGgvntvJfIzzOfZa1fdMKPdG7vVsXbAzORty1dT4ZXgDJ8C mmGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=au3kKg8W; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b5-20020a63eb45000000b0053ef518d7fesi11237181pgk.804.2023.05.30.07.59.02; Tue, 30 May 2023 07:59:15 -0700 (PDT) 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=au3kKg8W; 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 S232782AbjE3Ota (ORCPT + 99 others); Tue, 30 May 2023 10:49:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232822AbjE3OtQ (ORCPT ); Tue, 30 May 2023 10:49:16 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91157107 for ; Tue, 30 May 2023 07:49:12 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2af2b74d258so49133281fa.3 for ; Tue, 30 May 2023 07:49:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685458150; x=1688050150; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=W1z7LKWFPOmfXdAKBPrDZn05nG/m3OsiksUdI+BUoo8=; b=au3kKg8W7QqZlM184Mf3plRAjYuxNOiScsb1NkoNQrKhB+QKk+18S6EtrPRE58o5Rs Q1/3o2Mjj9eY0FEkE53VAKcNAbApZFdG5q9x7+IyOwzMudLNMFi+sq4W0TzNG2QkGwHO YnGuPKIwQhukjOLKYlXmRBvdNvqokIHxeYfj7hwnQ4hepXuizdGpVCLTdZusUyau/TGP 3Vj4v3F4Sg6f3/X2GB+44fSqmHH9eyb+nkIEeJFVpK5Ifb5peDRxxdT/JHpLmKDfKEph /287kJIavDJMaiQ4wsKVKTqboEp2XQfs7llNgs/6FY4YQQ0C6Fz2iGXVoBHlZ2Iep6Ah ZkVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685458150; x=1688050150; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=W1z7LKWFPOmfXdAKBPrDZn05nG/m3OsiksUdI+BUoo8=; b=l9m/KrwI5Cm1Hn6nfrAZ/7CQ+TuWLEPWGrjRN4kr83WiCCWDRbd8CZ+y+9eMEg12I6 a2Nte3AbGx3DyFMZUZAne/1R6XQ7ATOIpYlxSHNIr6WgNlUyrRekSxylVM6WDJmgajmQ zBLf0iHbkgXszSsM3yf1tHPu+sZdtoLQ7pN3znlb0jhXzlla4VlnBw4N002iORJjxEGd wX5f+QO2R79kT/rPicJ2QGNjfl4l7Tg49wy8rB8zDyODy5JYFE0Rk0XEMxup8HvOE4QL vmo1KCQajbGnekISl8dQ7ajUHhbkunns0Zyfmsql5K5Vg6UMDBfR7a/uMEuLnUFIP+4D qieQ== X-Gm-Message-State: AC+VfDxCSLtUVIAMe0WJwhfDXrP/jctpaOb9Z6sUhDw4Uw6U8mbhMAv1 8lGIW5A2WffHp+bBJRth3Rxkpg== X-Received: by 2002:a2e:8382:0:b0:2ad:a12d:e458 with SMTP id x2-20020a2e8382000000b002ada12de458mr1016018ljg.41.1685458150736; Tue, 30 May 2023 07:49:10 -0700 (PDT) Received: from krzk-bin.. ([178.197.199.204]) by smtp.gmail.com with ESMTPSA id q21-20020aa7cc15000000b00514b2717ec6sm631283edt.28.2023.05.30.07.49.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 07:49:10 -0700 (PDT) From: Krzysztof Kozlowski To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Alessandro Zummo , Alexandre Belloni , Srinivas Kandagatla , Mark Brown , Dipen Patel , Wim Van Sebroeck , Guenter Roeck , Dilip Kota , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org, linux-rtc@vger.kernel.org, alsa-devel@alsa-project.org, linux-spi@vger.kernel.org, timestamp@lists.linux.dev, linux-watchdog@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring , Tony Lindgren , Oleksij Rempel Subject: [PATCH 5/7] spi: dt-bindings: restrict node name suffixes Date: Tue, 30 May 2023 16:48:49 +0200 Message-Id: <20230530144851.92059-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230530144851.92059-1-krzysztof.kozlowski@linaro.org> References: <20230530144851.92059-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Make the pattern matching node names a bit stricter to improve DTS consistency. The pattern is restricted to: 1. Only one unit address or one -N suffix, 2. -N suffixes to decimal numbers. Suggested-by: Rob Herring Signed-off-by: Krzysztof Kozlowski --- Cc: Tony Lindgren Cc: Oleksij Rempel --- Documentation/devicetree/bindings/spi/spi-controller.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi/spi-controller.yaml b/Documentation/devicetree/bindings/spi/spi-controller.yaml index 90945f59b7e8..524f6fe8c27b 100644 --- a/Documentation/devicetree/bindings/spi/spi-controller.yaml +++ b/Documentation/devicetree/bindings/spi/spi-controller.yaml @@ -17,7 +17,7 @@ description: | properties: $nodename: - pattern: "^spi(@.*|-[0-9a-f])*$" + pattern: "^spi(@.*|-([0-9]|[1-9][0-9]+))?$" "#address-cells": enum: [0, 1] -- 2.34.1