Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4631092rwd; Tue, 30 May 2023 07:56:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5jYUPLF6UOt8sXy1BGcS1reyHzoWuK4whC16SS/vTmlpMPF/yE8kGlAj0+Wy4YMbHz7JNP X-Received: by 2002:a17:90b:1644:b0:256:3f8f:fa4c with SMTP id il4-20020a17090b164400b002563f8ffa4cmr2993023pjb.4.1685458592791; Tue, 30 May 2023 07:56:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685458592; cv=none; d=google.com; s=arc-20160816; b=VqP4TlD8pOx51jZjxfqBIeIsKTviItJ+aH12SUMZnPLekz9lubr+kfW75E0Z1LmFYt kSUFOFsC7RkM5H9jZ4IScmh5MrSlvOyOHFIDwWlNbPukrefkwD/NKzxEXAgdywDE+Shp w7bbcvVRXXaA+iBjUJTZPJ7nnf/hcMQkiEtc448P6jD+1eMLbwaQvnRTRlStugDcVy3n EcQAWbcUL2mZ8oopVY6yDiPSlomLU9ttYmGy98Mu/kln7lEIHSnD/18q4P3xAZ7GBQUb 0YOvBHxHDzd52CaMB5Iq/4d/aQzzxfHR1dGPSovYX7Y83hHtHP8UhgXjiaNl/pHPCIJy 3P/w== 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=07SVfkqZ0qgipCgWqf2WUuDolS+hCGhbSje3XLty2Ao=; b=aLckyKdpwTG5ncesuF397MEhtU1GH9j3IbnTr7hm7kmPkcG5OEnO2V4OLhZPovJiMv Q5BrdiYFXVUOCynjh/cMH/+QIr5xfyI6NdZdSGIY4kvq3fCOJzF8Zlmpv/de2MM50v5X LlxCluwRn6ySTExcRZ9KMnJqH+wdY2Ul+ok86dqnOLUAevALhP3RC1txlnA7d0gNUmcj D1zjiMTaQz5Pw/2PZ5zxwuv19LX3jXMWasIhq/zxLquTmepHUYk0VzQwX3fQk+hm6i0+ kSXPrWw1mfbwms7m1Ie4k9oVTgJFgOTqUkTAj4XSEVUhMHnjoCsCNJ5DJ3B7BcwOzhO2 VTfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aPeYmCNt; 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 j8-20020a636e08000000b00534919e40fcsi79257pgc.626.2023.05.30.07.56.18; Tue, 30 May 2023 07:56:32 -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=aPeYmCNt; 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 S233237AbjE3OuH (ORCPT + 99 others); Tue, 30 May 2023 10:50:07 -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 S232848AbjE3Ot3 (ORCPT ); Tue, 30 May 2023 10:49:29 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59580189 for ; Tue, 30 May 2023 07:49:18 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2af98eb6ef0so49734731fa.3 for ; Tue, 30 May 2023 07:49:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685458156; x=1688050156; 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=07SVfkqZ0qgipCgWqf2WUuDolS+hCGhbSje3XLty2Ao=; b=aPeYmCNt05cObjx95ndQCrOdKmC01qE9rKbj1E0y9u+++2RIcqlsWtlkGyGI2n1xbU AghcT3BWhigFLgjE4GPxSIys40q1Sl8bw+sC08K6jVCsHQe1FDuz+txGGgs4K7+tN9lv D+4p4yaduPEphpO5OXOqcpkPAhLrj3akuiJimPh+rPajTiJxAjHzij7o/Rb5N41Szij0 Vfjo2jfGnHworYtyq2Bgw0ZYnG2uSy5rKuQvaYzL13g1eDccob4no3SUelsX3xA+WyXc Qeq3VqRPuVvPCLgdqEFa3pTldVfXGj5yH9H+3Chlgzhm00nwJTyVe701en4WhppjApJz aTzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685458156; x=1688050156; 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=07SVfkqZ0qgipCgWqf2WUuDolS+hCGhbSje3XLty2Ao=; b=YsihZ73ny5J42xnRmoEptVDXg47qfaRkIps4I/8beVqzOpGPfOK0f7pMCBs7qv5t1A lmNcvC7QqOQyZfvFcGYNrSY5hyUhKZXRVZiLL+c7ft/qpjCEup+G/ify8EaX5LGjWiH5 jUM/2Y4eAgtdVEVw4sZ6g4huM1GPNiT5y1zB3uzKfKhyWjMILkiOBNxKC5VwoIEhMuPd blC1WWS7367brNxAZxnFcYmWHGODjQtjfwBqv82ylF6BDnb+7vst6XNr/Y/p4hIiJPUU Wjg9R5l7yg6Sd15zeoH6Orj1UkRd11qk2yQdfUkEgOOh59CKKBN1T/hxjvLjbeIHFWFc i3gg== X-Gm-Message-State: AC+VfDyldNwdSQ1rx+WsVPZtwqweCrL2D9Me0B9aPYtiEfyu7lvqA9SI WgW+oPRL7jzJ4auUXI5xJ0+18A== X-Received: by 2002:a2e:c42:0:b0:2ac:67f7:25a2 with SMTP id o2-20020a2e0c42000000b002ac67f725a2mr897767ljd.50.1685458156521; Tue, 30 May 2023 07:49:16 -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.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 07:49:16 -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 7/7] dt-bindings: watchdog: restrict node name suffixes Date: Tue, 30 May 2023 16:48:51 +0200 Message-Id: <20230530144851.92059-8-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 --- Documentation/devicetree/bindings/watchdog/watchdog.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/watchdog.yaml b/Documentation/devicetree/bindings/watchdog/watchdog.yaml index 519b48889eb1..f0a584af1223 100644 --- a/Documentation/devicetree/bindings/watchdog/watchdog.yaml +++ b/Documentation/devicetree/bindings/watchdog/watchdog.yaml @@ -17,11 +17,11 @@ description: | select: properties: $nodename: - pattern: "^watchdog(@.*|-[0-9a-f])?$" + pattern: "^watchdog(@.*|-([0-9]|[1-9][0-9]+))?$" properties: $nodename: - pattern: "^(timer|watchdog)(@.*|-[0-9a-f])?$" + pattern: "^(timer|watchdog)(@.*|-([0-9]|[1-9][0-9]+))?$" timeout-sec: description: -- 2.34.1