Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Krzysztof Kozlowski and committed by
Wim Van Sebroeck
0f108ccb d1297184

+29 -29
+3 -3
Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml
··· 6 6 7 7 title: Allwinner A10 Watchdog 8 8 9 - allOf: 10 - - $ref: watchdog.yaml# 11 - 12 9 maintainers: 13 10 - Chen-Yu Tsai <wens@csie.org> 14 11 - Maxime Ripard <mripard@kernel.org> 12 + 13 + allOf: 14 + - $ref: watchdog.yaml# 15 15 16 16 properties: 17 17 compatible:
+3 -3
Documentation/devicetree/bindings/watchdog/alphascale,asm9260-wdt.yaml
··· 6 6 7 7 title: Alphascale asm9260 Watchdog timer 8 8 9 - allOf: 10 - - $ref: watchdog.yaml# 11 - 12 9 maintainers: 13 10 - Oleksij Rempel <linux@rempel-privat.de> 11 + 12 + allOf: 13 + - $ref: watchdog.yaml# 14 14 15 15 properties: 16 16 compatible:
+3 -3
Documentation/devicetree/bindings/watchdog/apple,wdt.yaml
··· 6 6 7 7 title: Apple SoC Watchdog 8 8 9 - allOf: 10 - - $ref: watchdog.yaml# 11 - 12 9 maintainers: 13 10 - Sven Peter <sven@svenpeter.dev> 11 + 12 + allOf: 13 + - $ref: watchdog.yaml# 14 14 15 15 properties: 16 16 compatible:
+3 -3
Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml
··· 6 6 7 7 title: ARM Secure Monitor Call based watchdog 8 8 9 - allOf: 10 - - $ref: watchdog.yaml# 11 - 12 9 maintainers: 13 10 - Julius Werner <jwerner@chromium.org> 11 + 12 + allOf: 13 + - $ref: watchdog.yaml# 14 14 15 15 properties: 16 16 compatible:
+5 -5
Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.yaml
··· 6 6 7 7 title: BCM63xx and BCM7038 watchdog timer 8 8 9 - allOf: 10 - - $ref: watchdog.yaml# 11 - 12 9 maintainers: 13 10 - Florian Fainelli <f.fainelli@gmail.com> 14 11 - Justin Chen <justinpopo6@gmail.com> 15 12 - Rafał Miłecki <rafal@milecki.pl> 13 + 14 + allOf: 15 + - $ref: watchdog.yaml# 16 16 17 17 properties: 18 18 compatible: ··· 29 29 The clock running the watchdog. If no clock is found the driver will 30 30 default to 27000000 Hz. 31 31 32 - unevaluatedProperties: false 33 - 34 32 required: 35 33 - reg 34 + 35 + unevaluatedProperties: false 36 36 37 37 examples: 38 38 - |
+3 -3
Documentation/devicetree/bindings/watchdog/cnxt,cx92755-wdt.yaml
··· 12 12 timer counters. The first timer (called "Timer A") is the only one that can be 13 13 used as watchdog. 14 14 15 - allOf: 16 - - $ref: watchdog.yaml# 17 - 18 15 maintainers: 19 16 - Baruch Siach <baruch@tkos.co.il> 17 + 18 + allOf: 19 + - $ref: watchdog.yaml# 20 20 21 21 properties: 22 22 compatible:
+4 -4
Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml
··· 6 6 7 7 title: Maxim 63xx Watchdog Timers 8 8 9 - allOf: 10 - - $ref: watchdog.yaml# 11 - - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# 12 - 13 9 maintainers: 14 10 - Marc Zyngier <maz@kernel.org> 15 11 - Linus Walleij <linus.walleij@linaro.org> 12 + 13 + allOf: 14 + - $ref: watchdog.yaml# 15 + - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# 16 16 17 17 properties: 18 18 compatible:
+5 -5
Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
··· 6 6 7 7 title: Synopsys Designware Watchdog Timer 8 8 9 - allOf: 10 - - $ref: watchdog.yaml# 11 - 12 9 maintainers: 13 10 - Jamie Iles <jamie@jamieiles.com> 11 + 12 + allOf: 13 + - $ref: watchdog.yaml# 14 14 15 15 properties: 16 16 compatible: ··· 73 73 minItems: 16 74 74 maxItems: 16 75 75 76 - unevaluatedProperties: false 77 - 78 76 required: 79 77 - compatible 80 78 - reg 81 79 - clocks 80 + 81 + unevaluatedProperties: false 82 82 83 83 examples: 84 84 - |