Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4628843rwd; Tue, 30 May 2023 07:54:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7rlOR64QXh7dDSdcLpqA+V2z3qni6pnDbu97gXPNhzeH+eECkzw8Gp+x0CutiCuqcQn+ei X-Received: by 2002:a05:6a20:7f86:b0:103:f088:105e with SMTP id d6-20020a056a207f8600b00103f088105emr2938360pzj.16.1685458476722; Tue, 30 May 2023 07:54:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685458476; cv=none; d=google.com; s=arc-20160816; b=fKyySEiDOESfh38rcCBo1o9+W7FtOMosOMOYTkmO2+AJ27zDRlAnzPFh8MHmUtodBr 9jepwIoncdYjF22pNLBo351S5oMZvjeUPS+qmne8jmUkoxsdHEG8Uf3oA4bytADfBx0i UB42NUT4DQbLPfClrR166JdPEsKfdSr7dfQXywfQheAb9BpGoKJvSe0vdFgk/0NV9vm8 POO7NUl5r3Z02yzsSs//PjWZxqRuQWh4Sv7iSeZATDX6AmwNac20ew3U5E8qNPHqk18c 1HtYoixUa2OrD1ZO3iE4+4Cqgpg14JDXxPcKc5QAedpZl6ZcwN2XACrI/CFllIHicZ0E dlSg== 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=EDtOZScMEhQcxZ0qCP2mG/VW4cw5TvuSdeS8G5ww6IY=; b=LWIUM4bnADWPYnFLyWPmSt6x+zh7rE5+oF6ZpgClNhWd6jWmyn34TOCedxfbmxRNeU V0sOH8rRtURIykg5EINJqpbfOK9dkv1pnxcNM9opX8rNL3Hd5Q7vriXRK4EBdyvFFsgM OY3v28sOhkbOlzZyXIbn1d4dw5qq2Vq4ir0yn5wVusERFShFqLmsvpaWB9BOh/nBnnrd /djWUVJ39LM/Jox1+meJyDwRy7zGzgdEq9VxwDBMpo+tBE/NEKYTg/bOJENNm+CFxT8G okS189qlHcN0EbJyf7BpQEB619Xd49V+IiGH9HxrD0697JrOQZlE3mbIZSDZ2XkTGcPG Tv2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QXG1N9nM; 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 n7-20020a6543c7000000b0050f975790dcsi11286171pgp.464.2023.05.30.07.54.24; Tue, 30 May 2023 07:54:36 -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=QXG1N9nM; 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 S232856AbjE3OtS (ORCPT + 99 others); Tue, 30 May 2023 10:49:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232788AbjE3OtL (ORCPT ); Tue, 30 May 2023 10:49:11 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E6C39C for ; Tue, 30 May 2023 07:49:09 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-514953b3aa6so4188850a12.1 for ; Tue, 30 May 2023 07:49:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685458148; x=1688050148; 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=EDtOZScMEhQcxZ0qCP2mG/VW4cw5TvuSdeS8G5ww6IY=; b=QXG1N9nMirFW5x9su+89Sr2YJxHMWbZ7KcizZ5iER13vf1DLIImohOn0evXipGmnBk e2KrLr9sWalAqVL9rZdCzITLPKLYpYgTu5KVHeJc2PPYQaoA9PnCswuJSsDJifPlH7Iq MivJ36BgLvk8rAGSn63g8E5VzaUbsSVNSzKJ91fAf4BNNBtR85ni5HYHTu8Hy64NX0Hu JYoHtS3br90Trzl+YOkYrkIEVZOsfeAOEUi9GLF9Qkrh5i1yR1snbODHovA8Wp66MyEA w1yfm3AmfAb6N21GieYTVCoXvRpNXIPyrYul8/w2zEjQ4axkaLtK0wR5uP/h0woXs/gW dZag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685458148; x=1688050148; 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=EDtOZScMEhQcxZ0qCP2mG/VW4cw5TvuSdeS8G5ww6IY=; b=Mpzwfhl34BEMGdpIQReAsUYE1Hvh7/ZQpqf9o/OhJPDTNuqDNNgjEjVBziNnBEQSE3 2wttCZGHr5yj++97bxBwKzy7FOq1Xa13Rkxs0As4ZW7D5BHXJ8az87tEbPlsevWwmnPF CSkNFOSZ3hWz9YCoSVK1YGZi/vSPrmt/sjlJX5AFUZFdOJ7W/fyg3LhqyrZzW0iSmKCN QVrLDYm2P23RHdNVGgQEAs4l/xVk3tyuACybDtWK4v8pwYDZieFYlOSYtlJowPkTs8UO uVn3J4Q0Tp62gvBJ/beSZJ99sVtiGvo7RTIE69ioVDhINjTY0sDXVyPEwXRWUt6bmZjj U6XA== X-Gm-Message-State: AC+VfDz9qGCsVaVNjz42ZfYwCVNSJdlnqlrtvclzMiJIh8uXnMPXWG0x sMl/cY0k1if3NsVwBRgQgy/Y3w== X-Received: by 2002:a50:ee04:0:b0:514:90de:423e with SMTP id g4-20020a50ee04000000b0051490de423emr1958340eds.36.1685458147907; Tue, 30 May 2023 07:49:07 -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.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 07:49:07 -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 4/7] dt-bindings: slimbus: restrict node name suffixes Date: Tue, 30 May 2023 16:48:48 +0200 Message-Id: <20230530144851.92059-5-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=ham 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/slimbus/slimbus.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/slimbus/slimbus.yaml b/Documentation/devicetree/bindings/slimbus/slimbus.yaml index 22513fb7c59a..3b8cae9d1016 100644 --- a/Documentation/devicetree/bindings/slimbus/slimbus.yaml +++ b/Documentation/devicetree/bindings/slimbus/slimbus.yaml @@ -15,7 +15,7 @@ description: properties: $nodename: - pattern: "^slim(@.*|-[0-9a-f])*$" + pattern: "^slim(@.*|-([0-9]|[1-9][0-9]+))?$" "#address-cells": const: 2 -- 2.34.1