Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4628542rwd; Tue, 30 May 2023 07:54:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6jyn/RePFMtXkyJVvvuPZYZrwd3szLws4I1zNai7aAENeD0QGb75pa39DnhDEwBC28oaZd X-Received: by 2002:a17:902:b084:b0:1b0:72f1:3742 with SMTP id p4-20020a170902b08400b001b072f13742mr811559plr.12.1685458459659; Tue, 30 May 2023 07:54:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685458459; cv=none; d=google.com; s=arc-20160816; b=Ma2+AHipL3eryepu4/KD12B3oPSfMBTXfRI++tWt/GWO2M1R/LyCwJQVnrrpr/fQ6p Pb9gUVRuRBJZ4RhgCIukci32cesZdsBl5xUwhAuTobTfPD1x/wMgjz96oF0Np5jFX5pR 04Z7LO5RMG1w4RjSSI/8lVTi3+B0RmnYxxPtrQSNy9JiE4p0v7cA3bvAgCfC0jnlZvD/ 0TTWeL/R5t8sTGVX8otzQx1UzrQ222g+rLQH+m0ADV3Lh8dPW2mbeA5QtxkoVIxQTtjV b5B1ABT4b9ezmW6WI8wzFyEIvfM+/5hT0HZJW+GqyP92obtedFXCXtk4wdPoemw61jze GIcQ== 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=g8G0c0mpPhFQo7i+RrdSfLHYDtYE35R5vJ/b+M/gxuM=; b=jtxkKWrpOvHn8h1+fEPAKnbO4/JSMHVNYyrU1HE/2dQi9Pl4E8bsUpqVXs9cItkiIA 36jPW5QxUPZvP1aKDJFt3F9D/iTtgtrj82UGXJw66kMAr4stCd1zoU1k6tQff6zVbTOw 7EP8UnKw3cSKB7j06QI781lJI4wG+e2YiOoI4HFUhgXeRyL0TkTvd4BxsnB9qttdb+zO DTGg6r8ab9Xs8Y3Ud349FpNTBc7RroiwHZRJlznS8Eko+5F0W3+XPW81Tb+9bZr/LMxj zbQqf+L52hTqHyChC7MxzDULlaDaXThyKgSxoTCIjP6WJuW9CCxD/waClGI2dp0sJgHr RTbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TwckJzmI; 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 ba3-20020a170902720300b001a8031f3964si11128042plb.437.2023.05.30.07.54.04; Tue, 30 May 2023 07:54:19 -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=TwckJzmI; 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 S233050AbjE3Oth (ORCPT + 99 others); Tue, 30 May 2023 10:49:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232897AbjE3Ot1 (ORCPT ); Tue, 30 May 2023 10:49:27 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B1BD125 for ; Tue, 30 May 2023 07:49:15 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5149e65c244so3256503a12.3 for ; Tue, 30 May 2023 07:49:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685458153; x=1688050153; 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=g8G0c0mpPhFQo7i+RrdSfLHYDtYE35R5vJ/b+M/gxuM=; b=TwckJzmIHLNkTEHE3PeH0rFIRq6IgHs6ns9hHaVT+YPvGvMq0zVOCf9i3GguI1d4gZ ++87FyS17cHjFpyYYP11L6B1mQU4Qo74fZSooFervsiBR+0ar8BkWpaVXwtpZJ22dllW F4As95G3fMbOJoMJg6N8HhzdnsqtbXz5JGTeY2R8J4hUP1ovNUrwdSrIKFEDFkBMxgWS VOOZWJYhhEWYhR9zQGpR4NKq5NMj69QmgmJqj/PlGAuQQv3USs+CB94ozMps71kYZ+cw UxnmmPyVuSIi0a0b5aN2HgHzEreZKBY9iaovEdyc1IzjG70Ypp+EX32+456crShhdma/ B9aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685458153; x=1688050153; 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=g8G0c0mpPhFQo7i+RrdSfLHYDtYE35R5vJ/b+M/gxuM=; b=lxDvlpqpwlEly2Lyo225029W2nlqru0pddZtRYMnjlAX1Vi8A/vfD965krocE1jSgF kOOC9mm62u8dFyTrHl9R5Qh5i6zE8i3CdrNmU2P9NHbT8HimTOQuj93xh8HtCtlWCQNt JnD0z+qJn4ScI07htU+SBu3MuK68WjSF3eZ1xzLnRiqW7mElfNJAD8TQii9gwUVo7Z7Y C4ulPwYUJUq33CJVFJkO9rLFGc56BgdEkbBeVtfT/zriPI6EoXG9Eng3J9GeFc9DFqg8 s/aq5jalslzrn0r7zCwMLovEGlN+t4R7YvcNQnRJDSP5Twci5I3Wza9MKzGghzWI8+YN 3qAw== X-Gm-Message-State: AC+VfDyRy8P/kJAbYQcXPZ8A/+EEeQ1kMQFIHZeFxGo1X9SLuGf7OBzb cGgEwo/LyWouw+UNPM0zT49nIQ== X-Received: by 2002:aa7:c59a:0:b0:514:9319:ebff with SMTP id g26-20020aa7c59a000000b005149319ebffmr1869786edq.24.1685458153812; Tue, 30 May 2023 07:49:13 -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.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 07:49:13 -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 6/7] dt-bindings: timestamp: restrict node name suffixes Date: Tue, 30 May 2023 16:48:50 +0200 Message-Id: <20230530144851.92059-7-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 -N suffixes to decimal numbers. Suggested-by: Rob Herring Signed-off-by: Krzysztof Kozlowski --- Cc: Tony Lindgren Cc: Oleksij Rempel --- .../bindings/timestamp/hardware-timestamps-common.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/timestamp/hardware-timestamps-common.yaml b/Documentation/devicetree/bindings/timestamp/hardware-timestamps-common.yaml index fd6a7b51f571..95f42acd0c54 100644 --- a/Documentation/devicetree/bindings/timestamp/hardware-timestamps-common.yaml +++ b/Documentation/devicetree/bindings/timestamp/hardware-timestamps-common.yaml @@ -17,7 +17,7 @@ description: properties: $nodename: - pattern: "^timestamp(@.*|-[0-9a-f])?$" + pattern: "^timestamp(@.*|-([0-9]|[1-9][0-9]+))?$" "#timestamp-cells": description: -- 2.34.1