From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: "Vinod Koul" <vkoul@kernel.org>, "Kishon Vijay Abraham I" <kishon@kernel.org>, "Rob Herring" <robh+dt@kernel.org>, "Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>, "Conor Dooley" <conor+dt@kernel.org>, "Thierry Reding" <thierry.reding@gmail.com>, "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>, "Alessandro Zummo" <a.zummo@towertech.it>, "Alexandre Belloni" <alexandre.belloni@bootlin.com>, "Srinivas Kandagatla" <srinivas.kandagatla@linaro.org>, "Mark Brown" <broonie@kernel.org>, "Dipen Patel" <dipenp@nvidia.com>, "Wim Van Sebroeck" <wim@linux-watchdog.org>, "Guenter Roeck" <linux@roeck-us.net>, "Dilip Kota" <eswara.kota@linux.intel.com>, 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 <krzysztof.kozlowski@linaro.org>, Rob Herring <robh@kernel.org>, Tony Lindgren <tony@atomide.com>, Oleksij Rempel <o.rempel@pengutronix.de> Subject: [PATCH 3/7] dt-bindings: rtc: restrict node name suffixes Date: Tue, 30 May 2023 16:48:47 +0200 [thread overview] Message-ID: <20230530144851.92059-4-krzysztof.kozlowski@linaro.org> (raw) In-Reply-To: <20230530144851.92059-1-krzysztof.kozlowski@linaro.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 <robh@kernel.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- Cc: Tony Lindgren <tony@atomide.com> Cc: Oleksij Rempel <o.rempel@pengutronix.de> --- Documentation/devicetree/bindings/rtc/rtc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/rtc/rtc.yaml b/Documentation/devicetree/bindings/rtc/rtc.yaml index c6fff5486fe6..efb66df82782 100644 --- a/Documentation/devicetree/bindings/rtc/rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/rtc.yaml @@ -15,7 +15,7 @@ description: | properties: $nodename: - pattern: "^rtc(@.*|-[0-9a-f])*$" + pattern: "^rtc(@.*|-([0-9]|[1-9][0-9]+))?$" aux-voltage-chargeable: $ref: /schemas/types.yaml#/definitions/uint32 -- 2.34.1
WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: "Vinod Koul" <vkoul@kernel.org>, "Kishon Vijay Abraham I" <kishon@kernel.org>, "Rob Herring" <robh+dt@kernel.org>, "Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>, "Conor Dooley" <conor+dt@kernel.org>, "Thierry Reding" <thierry.reding@gmail.com>, "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>, "Alessandro Zummo" <a.zummo@towertech.it>, "Alexandre Belloni" <alexandre.belloni@bootlin.com>, "Srinivas Kandagatla" <srinivas.kandagatla@linaro.org>, "Mark Brown" <broonie@kernel.org>, "Dipen Patel" <dipenp@nvidia.com>, "Wim Van Sebroeck" <wim@linux-watchdog.org>, "Guenter Roeck" <linux@roeck-us.net>, "Dilip Kota" <eswara.kota@linux.intel.com>, 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 <krzysztof.kozlowski@linaro.org>, Rob Herring <robh@kernel.org>, Tony Lindgren <tony@atomide.com>, Oleksij Rempel <o.rempel@pengutronix.de> Subject: [PATCH 3/7] dt-bindings: rtc: restrict node name suffixes Date: Tue, 30 May 2023 16:48:47 +0200 [thread overview] Message-ID: <20230530144851.92059-4-krzysztof.kozlowski@linaro.org> (raw) In-Reply-To: <20230530144851.92059-1-krzysztof.kozlowski@linaro.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 <robh@kernel.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- Cc: Tony Lindgren <tony@atomide.com> Cc: Oleksij Rempel <o.rempel@pengutronix.de> --- Documentation/devicetree/bindings/rtc/rtc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/rtc/rtc.yaml b/Documentation/devicetree/bindings/rtc/rtc.yaml index c6fff5486fe6..efb66df82782 100644 --- a/Documentation/devicetree/bindings/rtc/rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/rtc.yaml @@ -15,7 +15,7 @@ description: | properties: $nodename: - pattern: "^rtc(@.*|-[0-9a-f])*$" + pattern: "^rtc(@.*|-([0-9]|[1-9][0-9]+))?$" aux-voltage-chargeable: $ref: /schemas/types.yaml#/definitions/uint32 -- 2.34.1 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy
next prev parent reply other threads:[~2023-05-30 14:49 UTC|newest] Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-05-30 14:48 [PATCH 0/7] dt-bindings: restrict node name suffixes Krzysztof Kozlowski 2023-05-30 14:48 ` Krzysztof Kozlowski 2023-05-30 14:48 ` [PATCH 1/7] dt-bindings: phy: intel,combo-phy: " Krzysztof Kozlowski 2023-05-30 14:48 ` Krzysztof Kozlowski 2023-05-31 4:27 ` Tony Lindgren 2023-05-31 4:27 ` Tony Lindgren 2023-06-09 15:10 ` Rob Herring 2023-06-09 15:10 ` Rob Herring 2023-06-21 17:32 ` Vinod Koul 2023-06-21 17:32 ` Vinod Koul 2023-05-30 14:48 ` [PATCH 2/7] dt-bindings: pwm: " Krzysztof Kozlowski 2023-05-30 14:48 ` Krzysztof Kozlowski 2023-05-31 4:25 ` Tony Lindgren 2023-05-31 4:25 ` Tony Lindgren 2023-06-07 7:36 ` Uwe Kleine-König 2023-06-07 7:36 ` Uwe Kleine-König 2023-06-07 7:40 ` Krzysztof Kozlowski 2023-06-07 7:40 ` Krzysztof Kozlowski 2023-06-09 15:11 ` Rob Herring 2023-06-09 15:11 ` Rob Herring 2023-05-30 14:48 ` Krzysztof Kozlowski [this message] 2023-05-30 14:48 ` [PATCH 3/7] dt-bindings: rtc: " Krzysztof Kozlowski 2023-05-31 4:25 ` Tony Lindgren 2023-05-31 4:25 ` Tony Lindgren 2023-06-06 21:38 ` (subset) " Alexandre Belloni 2023-06-06 21:38 ` Alexandre Belloni 2023-05-30 14:48 ` [PATCH 4/7] dt-bindings: slimbus: " Krzysztof Kozlowski 2023-05-30 14:48 ` Krzysztof Kozlowski 2023-05-31 4:26 ` Tony Lindgren 2023-05-31 4:26 ` Tony Lindgren 2023-06-09 15:13 ` Rob Herring 2023-06-09 15:13 ` Rob Herring 2023-05-30 14:48 ` [PATCH 5/7] spi: dt-bindings: " Krzysztof Kozlowski 2023-05-30 14:48 ` Krzysztof Kozlowski 2023-05-31 4:26 ` Tony Lindgren 2023-05-31 4:26 ` Tony Lindgren 2023-05-30 14:48 ` [PATCH 6/7] dt-bindings: timestamp: " Krzysztof Kozlowski 2023-05-30 14:48 ` Krzysztof Kozlowski 2023-05-31 4:26 ` Tony Lindgren 2023-05-31 4:26 ` Tony Lindgren 2023-06-09 15:13 ` Rob Herring 2023-06-09 15:13 ` Rob Herring 2023-06-30 17:34 ` Rob Herring 2023-06-30 17:34 ` Rob Herring 2023-05-30 14:48 ` [PATCH 7/7] dt-bindings: watchdog: " Krzysztof Kozlowski 2023-05-30 14:48 ` Krzysztof Kozlowski 2023-05-30 17:47 ` Guenter Roeck 2023-05-30 17:47 ` Guenter Roeck 2023-05-31 4:26 ` Tony Lindgren 2023-05-31 4:26 ` Tony Lindgren 2023-06-09 15:14 ` Rob Herring 2023-06-09 15:14 ` Rob Herring 2023-06-30 17:04 ` Rob Herring 2023-06-30 17:04 ` Rob Herring 2023-05-30 15:27 ` [PATCH 0/7] dt-bindings: " Uwe Kleine-König 2023-05-30 15:27 ` Uwe Kleine-König 2023-05-30 17:11 ` Conor Dooley 2023-05-30 17:11 ` Conor Dooley 2023-05-31 6:57 ` Krzysztof Kozlowski 2023-05-31 6:57 ` Krzysztof Kozlowski 2023-05-30 18:28 ` (subset) " Mark Brown 2023-05-30 18:28 ` Mark Brown 2023-06-23 14:51 ` Thierry Reding 2023-06-23 14:51 ` Thierry Reding
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230530144851.92059-4-krzysztof.kozlowski@linaro.org \ --to=krzysztof.kozlowski@linaro.org \ --cc=a.zummo@towertech.it \ --cc=alexandre.belloni@bootlin.com \ --cc=alsa-devel@alsa-project.org \ --cc=broonie@kernel.org \ --cc=conor+dt@kernel.org \ --cc=devicetree@vger.kernel.org \ --cc=dipenp@nvidia.com \ --cc=eswara.kota@linux.intel.com \ --cc=kishon@kernel.org \ --cc=krzysztof.kozlowski+dt@linaro.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-phy@lists.infradead.org \ --cc=linux-pwm@vger.kernel.org \ --cc=linux-rtc@vger.kernel.org \ --cc=linux-spi@vger.kernel.org \ --cc=linux-watchdog@vger.kernel.org \ --cc=linux@roeck-us.net \ --cc=o.rempel@pengutronix.de \ --cc=robh+dt@kernel.org \ --cc=robh@kernel.org \ --cc=srinivas.kandagatla@linaro.org \ --cc=thierry.reding@gmail.com \ --cc=timestamp@lists.linux.dev \ --cc=tony@atomide.com \ --cc=u.kleine-koenig@pengutronix.de \ --cc=vkoul@kernel.org \ --cc=wim@linux-watchdog.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.