diff options
author | Rob Herring <robh@kernel.org> | 2022-07-07 00:19:33 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2022-07-22 09:41:03 +0300 |
commit | ae4ccaed3a063652ec5b81efec2ad57a4ee506e5 (patch) | |
tree | 739227bf8e8c6c63a4dd0fe3be77346e2cfb3bc4 /Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml | |
parent | 596f2d311cabcf6d1e3c95b72ae3a049c346ed86 (diff) | |
download | linux-ae4ccaed3a063652ec5b81efec2ad57a4ee506e5.tar.xz |
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.
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20220706211934.567432-1-robh@kernel.org
Diffstat (limited to 'Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml b/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml index ebd24d669af9..5db00af8e116 100644 --- a/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml +++ b/Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml @@ -102,6 +102,16 @@ properties: - "#pwm-cells" - compatible + counter: + type: object + + properties: + compatible: + const: st,stm32-timer-counter + + required: + - compatible + patternProperties: "^timer@[0-9]+$": type: object @@ -122,16 +132,6 @@ patternProperties: - compatible - reg - counter: - type: object - - properties: - compatible: - const: st,stm32-timer-counter - - required: - - compatible - required: - compatible - reg |