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: starfive,jh7100-wdt: Add compatible for JH8100

Add "starfive,jh8100-wdt" compatible string for StarFive's JH8100
watchdog.
Since JH8100 watchdog only has 1 reset signal, update binding
document to support one reset for "starfive,jh8100-wdt" compatible.

Signed-off-by: Ley Foon Tan <leyfoon.tan@starfivetech.com>
Signed-off-by: Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231221084358.3458713-2-jisheng.teoh@starfivetech.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>

authored by

Ji Sheng Teoh and committed by
Wim Van Sebroeck
6e6f3202 dbd7c008

+31 -9
+31 -9
Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml
··· 19 19 isn't cleared, the watchdog will reset the system unless the watchdog 20 20 reset is disabled. 21 21 22 - allOf: 23 - - $ref: watchdog.yaml# 24 - 25 22 properties: 26 23 compatible: 27 - enum: 28 - - starfive,jh7100-wdt 29 - - starfive,jh7110-wdt 24 + oneOf: 25 + - enum: 26 + - starfive,jh7100-wdt 27 + - starfive,jh7110-wdt 28 + - items: 29 + - enum: 30 + - starfive,jh8100-wdt 31 + - const: starfive,jh7110-wdt 30 32 31 33 reg: 32 34 maxItems: 1 ··· 47 45 - const: core 48 46 49 47 resets: 50 - items: 51 - - description: APB reset 52 - - description: Core reset 48 + minItems: 1 49 + maxItems: 2 53 50 54 51 required: 55 52 - compatible ··· 56 55 - clocks 57 56 - clock-names 58 57 - resets 58 + 59 + allOf: 60 + - $ref: watchdog.yaml# 61 + 62 + - if: 63 + properties: 64 + compatible: 65 + contains: 66 + enum: 67 + - starfive,jh8100-wdt 68 + then: 69 + properties: 70 + resets: 71 + items: 72 + - description: Core reset 73 + else: 74 + properties: 75 + resets: 76 + items: 77 + - description: APB reset 78 + - description: Core reset 59 79 60 80 unevaluatedProperties: false 61 81