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: lantiq,wdt: convert bindings to dtschema

Convert the Lantiq WDT Watchdog bindings to yaml format.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Reviewed-by: Krzysztof Kozlowski <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

Aleksander Jan Bajkowski and committed by
Wim Van Sebroeck
26f2f5ed a8c762cb

+57 -24
+57
Documentation/devicetree/bindings/watchdog/lantiq,wdt.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/watchdog/lantiq,wdt.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Lantiq WTD watchdog 8 + 9 + maintainers: 10 + - Hauke Mehrtens <hauke@hauke-m.de> 11 + 12 + properties: 13 + compatible: 14 + oneOf: 15 + - enum: 16 + - lantiq,falcon-wdt 17 + - lantiq,wdt 18 + - lantiq,xrx100-wdt 19 + - items: 20 + - enum: 21 + - lantiq,xrx200-wdt 22 + - const: lantiq,xrx100-wdt 23 + 24 + reg: 25 + maxItems: 1 26 + 27 + lantiq,rcu: 28 + $ref: /schemas/types.yaml#/definitions/phandle 29 + description: Phandle to the RCU syscon node 30 + 31 + required: 32 + - compatible 33 + - reg 34 + 35 + allOf: 36 + - $ref: watchdog.yaml# 37 + - if: 38 + properties: 39 + compatible: 40 + contains: 41 + enum: 42 + - lantiq,xrx100-wdt 43 + - lantiq,falcon-wdt 44 + then: 45 + required: 46 + - lantiq,rcu 47 + 48 + unevaluatedProperties: false 49 + 50 + examples: 51 + - | 52 + watchdog@803f0 { 53 + compatible = "lantiq,xrx200-wdt", "lantiq,xrx100-wdt"; 54 + reg = <0x803f0 0x10>; 55 + 56 + lantiq,rcu = <&rcu0>; 57 + };
-24
Documentation/devicetree/bindings/watchdog/lantiq-wdt.txt
··· 1 - Lantiq WTD watchdog binding 2 - ============================ 3 - 4 - This describes the binding of the Lantiq watchdog driver. 5 - 6 - ------------------------------------------------------------------------------- 7 - Required properties: 8 - - compatible : Should be one of 9 - "lantiq,wdt" 10 - "lantiq,xrx100-wdt" 11 - "lantiq,xrx200-wdt", "lantiq,xrx100-wdt" 12 - "lantiq,falcon-wdt" 13 - - reg : Address of the watchdog block 14 - - lantiq,rcu : A phandle to the RCU syscon (required for 15 - "lantiq,falcon-wdt" and "lantiq,xrx100-wdt") 16 - 17 - ------------------------------------------------------------------------------- 18 - Example for the watchdog on the xRX200 SoCs: 19 - watchdog@803f0 { 20 - compatible = "lantiq,xrx200-wdt", "lantiq,xrx100-wdt"; 21 - reg = <0x803f0 0x10>; 22 - 23 - lantiq,rcu = <&rcu0>; 24 - };