Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4629048rwd; Tue, 30 May 2023 07:54:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5gJO8zTeAsnlMFdAj2VSkVwsx6ZOUTrscXOk06z8blxDgfNHXBo8LMaczfd7/ES/74xV+8 X-Received: by 2002:a17:903:2307:b0:1ac:451d:34b with SMTP id d7-20020a170903230700b001ac451d034bmr3500216plh.9.1685458487639; Tue, 30 May 2023 07:54:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685458487; cv=none; d=google.com; s=arc-20160816; b=T5BOAjjTMrsiB52uDYn+l8JVDtVWMQpRG1++PqBnL5e4qcdlBy9OnY5+upEJXo06MW oA3JkQoE3XHeSZXvXxG8p/OPiKFzsjLTOG+nPyf6gKKO0D7SLgHpWxeaks3aqmh4IQ0K TYJG3a2C3TIgzni6MkVKV/2KyG7/M29YrPM70LSAGw3rS2GqRbQExDzMj4GVmHNDR9Cr e39pyHeyMxufyocu4xXNcgexlVGl6xmCmEcmVT/NvnLwuF4czLN1aX6+e5wyu6zMMoin ivBvnBBFl+2QIMR53w8rGAGC9Q7ydadN5788+xN6DB0obTjXzvh09UK1CxO3rpdjl4AJ FKvA== 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=IYFfkWfA3QoQgVvoKYaWNHgXlyKDc3MLd+zuCLSKJyA=; b=NZ9AAjnXDxUQNZ3Qu3kYOUqFpVLVJXpLO8E66xG2nLMyn2k3OOh+UVahGIw5BqaoKr 0BqqGbLJiIbSrDW4WkTTOOLzz0+eg4GqMnPidLNBMef6h/vA+GgFdCp6z1a46LhZkXko uLQNfDw+GzVGjwfWPvjzHEp4qmGnTRGDEpOXigrhpF77HcyBelzzZAz+hHibkB7PJkab MDmrHWcyYJYmXwxCAapByUBX98v+nyiDcWZPzxgCH1K0nnB/tqHyqwaV0qzPJCCPE7VX vSezX7UV71qDT7exRt1BGHW7Sjh47G01kTedWRx4rFzxjG6OGDrEaYVild51PA54urdl 2aug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cNmu0nPg; 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 iw15-20020a170903044f00b001afaa1f6a9fsi798711plb.616.2023.05.30.07.54.32; Tue, 30 May 2023 07:54:47 -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=cNmu0nPg; 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 S232676AbjE3OtP (ORCPT + 99 others); Tue, 30 May 2023 10:49:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232665AbjE3OtJ (ORCPT ); Tue, 30 May 2023 10:49:09 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C07C9A7 for ; Tue, 30 May 2023 07:49:06 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2af2ef0d0daso46807481fa.2 for ; Tue, 30 May 2023 07:49:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685458145; x=1688050145; 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=IYFfkWfA3QoQgVvoKYaWNHgXlyKDc3MLd+zuCLSKJyA=; b=cNmu0nPgKOyLJPsM0EDcisLnunATo7htMuua8fjjb2dhKb/bdEMfj0asRSzmGsuh7P 44j7Vq1bzp6YWznZJLTZKq9bX9Z3Y91EY6efqTnbDcYlS+17WXOfAJyDYBBeO0P2PLpY Ew5/3U+6ptw6SD59IJt1h2M8GgCyLrFIuSdA0ZRwApWRnnHYfCd3qwfbTFeLjA8jUcob zagphslihs9ef2gj/4YWtdblbVQEHcZE+ZmFnDSeLxgPfiZfYLR2qh68RjdNaRYaKsgo ydoZ+VXgm0D+DG+h+FoHCLSaTTFTZyv5Wjgaee+3q2hGOMaZfSi14hWdrFXBSP52xi4+ P6YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685458145; x=1688050145; 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=IYFfkWfA3QoQgVvoKYaWNHgXlyKDc3MLd+zuCLSKJyA=; b=QLMkRIzLpyW8VxQpC3PbNBUCzBlfE/j1Dca+EBQPkrz9+A/tIw1hiRcAn4dVmJp97Y PBq6hVy8STdA6/Xqmf7kyC+6Ky0RB1J7Zk9Uu+bWN/c7P049HrQco8qDOeNlR/rLEAmG mtmi1APK6893qzXG0wwbBWoaCzRT/7UYInnMJoaxltTG02CF5TvyyQPhDcpyduoEV9Ti 4Jff42Y6tKcVb4TcLdAmOLvELDDb3KLqErLeuOeO9k9u1Pa+JUQ7/8GF3YNLWbaJ4qbG TPftHE74TcCKUCJ3e71oSh+gjf0qSOeHJp1ItTTckYR8EeSYQM9Ou7kpGnXU/ysBcZpJ HJPA== X-Gm-Message-State: AC+VfDz1BeALq5IMqZi5mIbILULy9L+4tYU5i6N1lwr3GNvauTVs2w5N 10G5aNs1uV2qvq/49Vb+6XYkeA== X-Received: by 2002:a05:651c:87:b0:2af:1fd4:9011 with SMTP id 7-20020a05651c008700b002af1fd49011mr906793ljq.34.1685458144944; Tue, 30 May 2023 07:49:04 -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.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 07:49:04 -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 3/7] dt-bindings: rtc: restrict node name suffixes Date: Tue, 30 May 2023 16:48:47 +0200 Message-Id: <20230530144851.92059-4-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/rtc/rtc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/rtc/rtc.yaml b/Documentation/devicetree/bindings/rtc/rtc.yaml index c6fff5486fe6..efb66df82782 100644 --- a/Documentation/devicetree/bindings/rtc/rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/rtc.yaml @@ -15,7 +15,7 @@ description: | properties: $nodename: - pattern: "^rtc(@.*|-[0-9a-f])*$" + pattern: "^rtc(@.*|-([0-9]|[1-9][0-9]+))?$" aux-voltage-chargeable: $ref: /schemas/types.yaml#/definitions/uint32 -- 2.34.1