linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: pwm: fix nodename pattern
@ 2019-12-11 15:00 Benjamin Gaignard
  2019-12-11 19:52 ` Rob Herring
  0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Gaignard @ 2019-12-11 15:00 UTC (permalink / raw)
  To: thierry.reding, u.kleine-koenig, robh+dt, mark.rutland
  Cc: linux-pwm, devicetree, linux-kernel, Benjamin Gaignard

Typical pwm nodes should be named pwm@xxx.
The pattern shouldn't match nodes named pwm-xxx to avoid
conflicts with pinmux or pwm-fan nodes.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
---
 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 fa4f9de92090..29b86886c282 100644
--- a/Documentation/devicetree/bindings/pwm/pwm.yaml
+++ b/Documentation/devicetree/bindings/pwm/pwm.yaml
@@ -11,7 +11,7 @@ maintainers:
 
 properties:
   $nodename:
-    pattern: "^pwm(@.*|-[0-9a-f])*$"
+    pattern: "^pwm(@.*[0-9a-f])*$"
 
   "#pwm-cells":
     description:
-- 
2.15.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-12-13 20:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-11 15:00 [PATCH] dt-bindings: pwm: fix nodename pattern Benjamin Gaignard
2019-12-11 19:52 ` Rob Herring
2019-12-12  8:16   ` Benjamin GAIGNARD
2019-12-12 19:07     ` Rob Herring
2019-12-13 11:09       ` Benjamin GAIGNARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).