From patchwork Tue May 30 14:48:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 100915 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2237115vqr; Tue, 30 May 2023 07:50:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5JkNU+69ykXZ/8ohg2Gc2huHP0AmRCu9QjtGeTznAf58r3zGPG8h9IgoXySWVzxxtQUN4N X-Received: by 2002:a05:6a20:840f:b0:10c:29e5:941e with SMTP id c15-20020a056a20840f00b0010c29e5941emr3092284pzd.59.1685458207135; Tue, 30 May 2023 07:50:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685458207; cv=none; d=google.com; s=arc-20160816; b=C3R0dB47ffx86G203FdMCXC9irNNWfkJALl9g+q/7EQqy/Mdas2oxucJuXrw+DlQxc Hxqzv1R2d5Rkj0MyLXJRr46q03XHgBxLWWbdEL9Tpsp3FX+4/vwgFPE52TMjoJa8aavq VjqFVk4hBSZSEsXxSwejvd7eQog1DJBvME04vggYdQ40BMQ6ZoeVrka5rNtJtGeZB5Xz fvlMstze5z6iPen43CkFIVTxfgaeQmJZR4/5FqFx2UBwNuXqS46qx741JYAlGPOEndn4 0nlzxwsvgm4Hjc/nyIK+R00ZUlRt2EUs5cf8+DQkJcmbgujQsc3+MWA/Vcco2e01hZYs jrfw== 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=hlemkSAZzL/U9gKFtrjPiWNMuzaH3xd08e53mEnq57M=; b=qGkb9qtH1haavoHfcJ1E5g1huAa1V/UjMursIXx/6ToCdzJMq1v+xHixPgD2knrHQX PfAiuVKRpTdgK+S27JNgVwfYHTKYPI6EWRtxNgx+FVWl3oprQJM5gv9YeaXlaQ7Urqyn TfTLXWKhas0XcQWxOiVyBiJef6+bugIoWI5iP+C3BGWSsgFlbAFqJnHgRp+fF8PZYC0q FMKmNVRwjLxaB7ZTOZygAUnSAZG7OQgYkgWWvNjDzr/LsJ+4j4NBc+X0BbKCo1lT16IG PlFM3VQS3fJJrlhkQg3VMneSjSqDzqjl359unVfOV2TVJDzRYYIAdZm2EEAht2tNcZVW xA2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=q76h1ZEy; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h16-20020a633850000000b0053f0cdab820si11789538pgn.259.2023.05.30.07.49.51; Tue, 30 May 2023 07:50:07 -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=q76h1ZEy; 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 S232638AbjE3OtM (ORCPT + 99 others); Tue, 30 May 2023 10:49:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230471AbjE3OtD (ORCPT ); Tue, 30 May 2023 10:49:03 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 157C5121 for ; Tue, 30 May 2023 07:49:01 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2af2d092d7aso48590751fa.2 for ; Tue, 30 May 2023 07:49:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685458139; x=1688050139; 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=hlemkSAZzL/U9gKFtrjPiWNMuzaH3xd08e53mEnq57M=; b=q76h1ZEyA3kflY8T+tAg6eEkOHLYK0YZTFqFbCCKF2K9iyLput/pxGqmVSlGXhqv7P WnAHGN3sBVvANR/w6I/EN92qOLxT7kfA+TYRrbMeQfQ5Ix17P62ma2yKm6N1X7n7zy6a 9nl5jWppRRrsIKlusdV7Z4xtzwxXfCbcQGTgabenNUfaXkr6pbTiAq/s44M2sqhPwN5Y aF2N5hQt6Q2QJHKpFbTR/tFqhDOls0J+/KD33Q68HF2m1O8GZk0L7u6CimkvrwEvNDi8 9vyiJE+L61MBUJCGSp7RCegRZ1TxnfE/0ySvZZCeQAKuFtx+4L45fUMJd/FEseCp9LT+ MzUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685458139; x=1688050139; 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=hlemkSAZzL/U9gKFtrjPiWNMuzaH3xd08e53mEnq57M=; b=WLrY163tfpdfdGfRtfGn0RzwkntULt/LjbBdJgRWClECO4v19kS1zSOmzrZTTxvRDs RmvLAelIz+Is2hPccPtk3g+PS8FzB1yRleSuyVtOqM99YbDjRFNoubRk8SvxAcsRJzsm f0jdP+bjgCmxPOTf9z2yFauFc7w+pbFqUhKY+Vtk84O9/YmTzidCedV7tENqJg6rVT6Y Y25BXZJ4u0y2MUF18QWAr7i2KsCpYN6jbI/RLIYR23djF51Pp65iIBcYZJaUbej44Zy0 DJl4EiRZYq7b3mpPkhisoVk1vt9xIAwBQJWR3QyrD4i4f8WHRL6h7s+rrWC3syyv3N2C uuiA== X-Gm-Message-State: AC+VfDwF/Z4lSnziGKryz8tPAjZw9Rry+5kRWEABxP4C7fEGyTc7LzTy EYyf+EiHcBh7TTTVixLmZakD+Q== X-Received: by 2002:a2e:6a17:0:b0:2ac:b63e:94a6 with SMTP id f23-20020a2e6a17000000b002acb63e94a6mr966165ljc.21.1685458139198; Tue, 30 May 2023 07:48:59 -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.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 07:48:58 -0700 (PDT) From: Krzysztof Kozlowski To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , =?utf-8?q?Uwe_Kleine-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 1/7] dt-bindings: phy: intel,combo-phy: restrict node name suffixes Date: Tue, 30 May 2023 16:48:45 +0200 Message-Id: <20230530144851.92059-2-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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767331025058562765?= X-GMAIL-MSGID: =?utf-8?q?1767331025058562765?= 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 Reviewed-by: Tony Lindgren Acked-by: Rob Herring --- Cc: Tony Lindgren Cc: Oleksij Rempel --- Documentation/devicetree/bindings/phy/intel,combo-phy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/intel,combo-phy.yaml b/Documentation/devicetree/bindings/phy/intel,combo-phy.yaml index 5d54b0a0e873..7dd6a4d94b48 100644 --- a/Documentation/devicetree/bindings/phy/intel,combo-phy.yaml +++ b/Documentation/devicetree/bindings/phy/intel,combo-phy.yaml @@ -15,7 +15,7 @@ description: | properties: $nodename: - pattern: "combophy(@.*|-[0-9a-f])*$" + pattern: "combophy(@.*|-([0-9]|[1-9][0-9]+))?$" compatible: items: