History

dt-bindings: mfd: stm32-timers: Move fixed string node names under 'properties'

Fixed string node names should be under 'properties' rather than 'patternProperties'. Additionally, without beginning and end of line anchors, any prefix or suffix is allowed on the specified node name. Move the stm32 timers 'counter' and 'timer' nodes to the 'properties' section.

Rob Herring committed 4 years ago

Commit ae4ccae1 parent 596f2d32 files · +24 −24Browse files

Unified · Split

2 files
  1. Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml +14 −14
  2. Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml +10 −10
Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml+14−14
@@ -58,43 +58,43 @@ properties: · 57 unmodified lines
58 - "#pwm-cells"58 - "#pwm-cells"
59 - compatible59 - compatible
60 60
61patternProperties:61 counter:
62 "^trigger@[0-9]+$":
63 type: object62 type: object
64 63
65 properties:64 properties:
66 compatible:65 compatible:
67 const: st,stm32-lptimer-trigger66 const: st,stm32-lptimer-counter
68
69 reg:
70 description: Identify trigger hardware block.
71 items:
72 minimum: 0
73 maximum: 2
74 67
75 required:68 required:
76 - compatible69 - compatible
77 - reg
78 70
79 counter:71 timer:
80 type: object72 type: object
81 73
82 properties:74 properties:
83 compatible:75 compatible:
84 const: st,stm32-lptimer-counter76 const: st,stm32-lptimer-timer
85 77
86 required:78 required:
87 - compatible79 - compatible
88 80
89 timer:81patternProperties:
82 "^trigger@[0-9]+$":
90 type: object83 type: object
91 84
92 properties:85 properties:
93 compatible:86 compatible:
94 const: st,stm32-lptimer-timer87 const: st,stm32-lptimer-trigger
88
89 reg:
90 description: Identify trigger hardware block.
91 items:
92 minimum: 0
93 maximum: 2
95 94
96 required:95 required:
97 - compatible96 - compatible
97 - reg
98 98
99required:99required:
100 - "#address-cells"100 - "#address-cells"
Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml+10−10
@@ -102,6 +102,16 @@ properties: · 101 unmodified lines
102 - "#pwm-cells"102 - "#pwm-cells"
103 - compatible103 - compatible
104 104
105 counter:
106 type: object
107
108 properties:
109 compatible:
110 const: st,stm32-timer-counter
111
112 required:
113 - compatible
114
105patternProperties:115patternProperties:
106 "^timer@[0-9]+$":116 "^timer@[0-9]+$":
107 type: object117 type: object
@@ -122,16 +132,6 @@ patternProperties: · 14 unmodified lines
122 - compatible132 - compatible
123 - reg133 - reg
124 134
125 counter:
126 type: object
127
128 properties:
129 compatible:
130 const: st,stm32-timer-counter
131
132 required:
133 - compatible
134
135required:135required:
136 - compatible136 - compatible
137 - reg137 - reg

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t