dt-bindings: watchdog: re-order entries to match coding convention

The Devicetree bindings coding convention, as used in most of the files
and expressed in Documentation/devicetree/bindings/example-schema.yaml,
expects:
1. "allOf:" block just before "properties:" (or after "required:" for
   more complex cases),
2. additionalProperties/unevaluatedProperties at the end of the file,
   just before the examples section.

Re-order few schemas to match the convention to avoid repeating review
comments for new patches using existing code as template.  No functional
changes.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231105184154.43700-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
This commit is contained in:
Krzysztof Kozlowski 2023-11-05 19:41:53 +01:00 committed by Wim Van Sebroeck
parent d12971849d
commit 0f108ccb55
8 changed files with 29 additions and 29 deletions

View File

@ -6,13 +6,13 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Allwinner A10 Watchdog title: Allwinner A10 Watchdog
allOf:
- $ref: watchdog.yaml#
maintainers: maintainers:
- Chen-Yu Tsai <wens@csie.org> - Chen-Yu Tsai <wens@csie.org>
- Maxime Ripard <mripard@kernel.org> - Maxime Ripard <mripard@kernel.org>
allOf:
- $ref: watchdog.yaml#
properties: properties:
compatible: compatible:
oneOf: oneOf:

View File

@ -6,12 +6,12 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Alphascale asm9260 Watchdog timer title: Alphascale asm9260 Watchdog timer
allOf:
- $ref: watchdog.yaml#
maintainers: maintainers:
- Oleksij Rempel <linux@rempel-privat.de> - Oleksij Rempel <linux@rempel-privat.de>
allOf:
- $ref: watchdog.yaml#
properties: properties:
compatible: compatible:
const: alphascale,asm9260-wdt const: alphascale,asm9260-wdt

View File

@ -6,12 +6,12 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Apple SoC Watchdog title: Apple SoC Watchdog
allOf:
- $ref: watchdog.yaml#
maintainers: maintainers:
- Sven Peter <sven@svenpeter.dev> - Sven Peter <sven@svenpeter.dev>
allOf:
- $ref: watchdog.yaml#
properties: properties:
compatible: compatible:
items: items:

View File

@ -6,12 +6,12 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: ARM Secure Monitor Call based watchdog title: ARM Secure Monitor Call based watchdog
allOf:
- $ref: watchdog.yaml#
maintainers: maintainers:
- Julius Werner <jwerner@chromium.org> - Julius Werner <jwerner@chromium.org>
allOf:
- $ref: watchdog.yaml#
properties: properties:
compatible: compatible:
enum: enum:

View File

@ -6,14 +6,14 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: BCM63xx and BCM7038 watchdog timer title: BCM63xx and BCM7038 watchdog timer
allOf:
- $ref: watchdog.yaml#
maintainers: maintainers:
- Florian Fainelli <f.fainelli@gmail.com> - Florian Fainelli <f.fainelli@gmail.com>
- Justin Chen <justinpopo6@gmail.com> - Justin Chen <justinpopo6@gmail.com>
- Rafał Miłecki <rafal@milecki.pl> - Rafał Miłecki <rafal@milecki.pl>
allOf:
- $ref: watchdog.yaml#
properties: properties:
compatible: compatible:
enum: enum:
@ -29,11 +29,11 @@ properties:
The clock running the watchdog. If no clock is found the driver will The clock running the watchdog. If no clock is found the driver will
default to 27000000 Hz. default to 27000000 Hz.
unevaluatedProperties: false
required: required:
- reg - reg
unevaluatedProperties: false
examples: examples:
- | - |
watchdog@f040a7e8 { watchdog@f040a7e8 {

View File

@ -12,12 +12,12 @@ description: |
timer counters. The first timer (called "Timer A") is the only one that can be timer counters. The first timer (called "Timer A") is the only one that can be
used as watchdog. used as watchdog.
allOf:
- $ref: watchdog.yaml#
maintainers: maintainers:
- Baruch Siach <baruch@tkos.co.il> - Baruch Siach <baruch@tkos.co.il>
allOf:
- $ref: watchdog.yaml#
properties: properties:
compatible: compatible:
const: cnxt,cx92755-wdt const: cnxt,cx92755-wdt

View File

@ -6,14 +6,14 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Maxim 63xx Watchdog Timers title: Maxim 63xx Watchdog Timers
allOf:
- $ref: watchdog.yaml#
- $ref: /schemas/memory-controllers/mc-peripheral-props.yaml#
maintainers: maintainers:
- Marc Zyngier <maz@kernel.org> - Marc Zyngier <maz@kernel.org>
- Linus Walleij <linus.walleij@linaro.org> - Linus Walleij <linus.walleij@linaro.org>
allOf:
- $ref: watchdog.yaml#
- $ref: /schemas/memory-controllers/mc-peripheral-props.yaml#
properties: properties:
compatible: compatible:
enum: enum:

View File

@ -6,12 +6,12 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Synopsys Designware Watchdog Timer title: Synopsys Designware Watchdog Timer
allOf:
- $ref: watchdog.yaml#
maintainers: maintainers:
- Jamie Iles <jamie@jamieiles.com> - Jamie Iles <jamie@jamieiles.com>
allOf:
- $ref: watchdog.yaml#
properties: properties:
compatible: compatible:
oneOf: oneOf:
@ -73,13 +73,13 @@ properties:
minItems: 16 minItems: 16
maxItems: 16 maxItems: 16
unevaluatedProperties: false
required: required:
- compatible - compatible
- reg - reg
- clocks - clocks
unevaluatedProperties: false
examples: examples:
- | - |
watchdog@ffd02000 { watchdog@ffd02000 {