Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4633352rwd; Tue, 30 May 2023 07:58:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6LxkofaMvYvC0pnKwbLtAzfvb+aFcyI7ZXPf3YoJHbVqnYvwoOfueZ1Q0T1VpzQAlmoJ8C X-Received: by 2002:a17:90a:e691:b0:255:ea26:9b0 with SMTP id s17-20020a17090ae69100b00255ea2609b0mr2731203pjy.47.1685458713104; Tue, 30 May 2023 07:58:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685458713; cv=none; d=google.com; s=arc-20160816; b=zLu4MiwvoH7rIKyD0hMzPc0rVIhkKh3vcOJxa33HS9Xp7XcCN4ee8a/jHagQ8t9ZbA 9aOx98+7EwtoYeAn6RdoZDePNmcGEF2XD5Ziq/0gKNqUw//oQckfceGmeWPMzYSCBehm cQotlk/1GujBTP5zAK5r0Tg/NI3cwNg+xfn1W5D9eFT9uCb408w0zu+sIPghoEMq70lU cyGhUOCzoDmT3p6LeeJ1x7r7fIDG/GtUfNzyhEAM0UHwLObEGa/Z67sg5QxijxsOgHpT EuIYENNt4FSzko4Hc8XXszuU72IubUzeNjsP69qcTXyi0rM2mUFdpx71BkdTEf123q59 6Kgw== 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=sC1DLYYtBIULk7ShCQFp6sqNI5K0yrBz0U0PM92RpVI=; b=1DR5BcsfyE8lmYuAxakUxHmciBGCiaZOo3GGpJg8XInSEVXn6bEKM4WLxnDxmK/jxL Hiyk/8oy+X9crV61AhEtJDQuBhE2R5cl6SyBhlWO5D8Gp/UZJiwOoT4KQGoD/3B+1KXA 43+b5doGsO/kZJ/1FrZWd47dMRMTEL1HYEPvgSiX8kZrXwtfbbhAXXIYt5cJpM4NH9KV e7TQ2uGnmVJRk9GnuiGOSvgjTxTrtlzk/Da9wEw1GwV8hKlDsjMwMVqEtEypbTyj51tD 0X+ul8e5d7Bt2cpH2RcnGZYdrgKazcwutSmjeiaGySzkbaGI46JghFjjK85kwxzUyLsZ 4CkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="cYj/0Udv"; 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 h16-20020a17090adb9000b0024e35ef410fsi819759pjv.131.2023.05.30.07.58.18; Tue, 30 May 2023 07:58:33 -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="cYj/0Udv"; 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 S229540AbjE3OtI (ORCPT + 99 others); Tue, 30 May 2023 10:49:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232638AbjE3OtF (ORCPT ); Tue, 30 May 2023 10:49:05 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D7CD9D for ; Tue, 30 May 2023 07:49:03 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-51478f6106cso7521258a12.1 for ; Tue, 30 May 2023 07:49:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685458142; x=1688050142; 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=sC1DLYYtBIULk7ShCQFp6sqNI5K0yrBz0U0PM92RpVI=; b=cYj/0UdvnrYRxLWE30Pag0dMjBlnkPhq9SfEVLhSh0h7wesZCsN7ZQbFx9LGd0w0o6 p/1LFcwMRXMEa89KQvnwZokxdlcPl1Q6M5yAc7YujbUYgQ+x1MrzbImjdinSrwy2+AC2 Odd/VANoBeApcDTBI50o53gAvId28G2cGWCrdZcual2NYoPCgjUgOD3Zi/HCVDNkJF3e fC4YwBfzsEOmebe+lJL+K0fUTmIILgzkJdJ+9zQAivS7vBtvmSy5iDWTeVZUT3qxMhsI ikFqfe7TYZpvhPUiLdoS3ycpGKRL3nP0wOHGf2c76lHh2YHavqCNPWaeAEPAv4Klr0Nb DG7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685458142; x=1688050142; 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=sC1DLYYtBIULk7ShCQFp6sqNI5K0yrBz0U0PM92RpVI=; b=MUpkT75IzPvx/b2KdgGU39YyXfbAehb7TDjegrMYLsU0gn07K+juYe1ekvqrYqLNo3 WzCRgENbTP1Pe3zYWaJpmjsS+7hhoJPf43VzIN9JrHWCoQbYs+h6tCTRxg7W1zvnofa7 a+GFtdCwmYj/pzznTHuIB3gCUII/bB69kFrhV313FAKw5pwUtSMfqa9yaEPaU2LI5fC8 nCRSAEf3kmY+zQThTQE2tqqyWRdlCORRs5hw6C7VenHc7otL3dMnvqeWXWuaiifGf2GX t88ObWm8TzAHGh4O1spn55KxYF4H29mveXXklUPrDSzUXaWxAo61osxccrTklem6/FcY TdeQ== X-Gm-Message-State: AC+VfDwBcs4p4uxe1BsMmTK2KpbyhNuyRtTAWEtUR3FmLjFYw82B/BYX eOrF/OxPFyNI3Yr/imbEroDbMw== X-Received: by 2002:a17:906:9b88:b0:970:925:6563 with SMTP id dd8-20020a1709069b8800b0097009256563mr2507516ejc.8.1685458142210; Tue, 30 May 2023 07:49:02 -0700 (PDT) Received: from krzk-bin.. ([178.197.199.204]) by smtp.gmail.com with ESMTPSA id q21-20020aa7cc15000000b00514b2717ec6sm631283edt.28.2023.05.30.07.48.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 07:49:01 -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 2/7] dt-bindings: pwm: restrict node name suffixes Date: Tue, 30 May 2023 16:48:46 +0200 Message-Id: <20230530144851.92059-3-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/pwm/pwm.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm.yaml b/Documentation/devicetree/bindings/pwm/pwm.yaml index 3c01f85029e5..abd9fa873354 100644 --- a/Documentation/devicetree/bindings/pwm/pwm.yaml +++ b/Documentation/devicetree/bindings/pwm/pwm.yaml @@ -13,7 +13,7 @@ select: false properties: $nodename: - pattern: "^pwm(@.*|-[0-9a-f])*$" + pattern: "^pwm(@.*|-([0-9]|[1-9][0-9]+))?$" "#pwm-cells": description: -- 2.34.1