Message ID | 20230531102113.3353065-2-o.rempel@pengutronix.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2771896vqr; Wed, 31 May 2023 03:25:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5UiqVyGI/rvwveAbFAZJXhv9xX7Yq3e7ewGl97w9h+JepDoVfO+vg0mzidGOVKIqdMiqDT X-Received: by 2002:a17:902:d2d0:b0:1ae:8fa:cd4c with SMTP id n16-20020a170902d2d000b001ae08facd4cmr14970602plc.7.1685528751584; Wed, 31 May 2023 03:25:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685528751; cv=none; d=google.com; s=arc-20160816; b=DBtyg6TBcTR605LwBMaOSGnUZZJq1msIIVOqmv8ock85L50jryYOYUn+267d9R2Kk9 vUHb9W2U2VSQ3QPRMXd9mzWgjX/YPYD6DK4cqGB3xv5zs5nfodzf7I1bEqIufcYPFeRv Yq9V/FifiJ9+pYqs5E5fIygCFnviagGIcRtsU/9jLgj3m6CxKh1DPRj6GlJMOZ1KHGNz kUVqjalhxgv+FK/apC073OVNbPVA5P+cuVXxEkW3of8LsKaYhkTGaEcc9gRHUJ+5ahMx /qsaIYU6NzoC3SNCrHs04Utzb2fMEa6OZTvDJswFjARuh+/gDjLVW9+p0B1gQ+vj/9VU oGcg== 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; bh=ceBjhFPCwfclgieeZTTqqtp59wM5U+raZlaNpeAYBzA=; b=UFV89MKlhjeEY5KWWgkG3JtD2DW7aE/PkN4RRu65W+R8NpLcuel4KM4ndXN45we5k+ X6Wd6ZPVslEnct4zpA5sJEArCR78hdfKZbX81CHuffZhRNYmCu87hxm2uVdfrZnVMlk+ xxlQ3Q731UFzvQacmPYXdYhPllILQvuMJmvyDJukB+AaIWA92FMwjp/cJdzxL0VxvK+m VtfNH3D1ds8UXXpr1ApM/Qa00AOou51sUFKyWx//KyQoyaWU28uJKKeJoxzONr99V7MJ GNEFWkunyT/V9qVBm4jiExvnDLsEdb25ptaS5HyXNY7TScqkGxL59v3hnrpaCFjca2lr MB5A== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c12-20020a170903234c00b001aae82caf75si691631plh.66.2023.05.31.03.25.37; Wed, 31 May 2023 03:25:51 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235353AbjEaKWk (ORCPT <rfc822;andrewvogler123@gmail.com> + 99 others); Wed, 31 May 2023 06:22:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235244AbjEaKWF (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 31 May 2023 06:22:05 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 114A41B4 for <linux-kernel@vger.kernel.org>; Wed, 31 May 2023 03:21:29 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <ore@pengutronix.de>) id 1q4IxA-0002GW-QI; Wed, 31 May 2023 12:21:16 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from <ore@pengutronix.de>) id 1q4Ix9-0045I5-9Q; Wed, 31 May 2023 12:21:15 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from <ore@pengutronix.de>) id 1q4Ix8-00E4bO-HG; Wed, 31 May 2023 12:21:14 +0200 From: Oleksij Rempel <o.rempel@pengutronix.de> To: Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= <jerome.pouiller@silabs.com> Cc: Oleksij Rempel <o.rempel@pengutronix.de>, kernel@pengutronix.de, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v3 1/2] dt-bindings: net: pse-pd: Allow -N suffix for ethernet-pse node names Date: Wed, 31 May 2023 12:21:12 +0200 Message-Id: <20230531102113.3353065-2-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230531102113.3353065-1-o.rempel@pengutronix.de> References: <20230531102113.3353065-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767404996131827593?= X-GMAIL-MSGID: =?utf-8?q?1767404996131827593?= |
Series |
Extend dt-bindings for PSE-PD controllers and update prtt1c dts
|
|
Commit Message
Oleksij Rempel
May 31, 2023, 10:21 a.m. UTC
Extend the pattern matching for PSE-PD controller nodes to allow -N
suffixes. This enables the use of multiple "ethernet-pse" nodes without the
need for a "reg" property.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
.../devicetree/bindings/net/pse-pd/pse-controller.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 31/05/2023 12:21, Oleksij Rempel wrote: > Extend the pattern matching for PSE-PD controller nodes to allow -N > suffixes. This enables the use of multiple "ethernet-pse" nodes without the > need for a "reg" property. > > Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> > --- Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/net/pse-pd/pse-controller.yaml b/Documentation/devicetree/bindings/net/pse-pd/pse-controller.yaml index b110abb42597..2d382faca0e6 100644 --- a/Documentation/devicetree/bindings/net/pse-pd/pse-controller.yaml +++ b/Documentation/devicetree/bindings/net/pse-pd/pse-controller.yaml @@ -16,7 +16,7 @@ maintainers: properties: $nodename: - pattern: "^ethernet-pse(@.*)?$" + pattern: "^ethernet-pse(@.*|-([0-9]|[1-9][0-9]+))?$" "#pse-cells": description: