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: Convert TI OMAP to DT schema

Convert the TI OMAP watchdog binding to DT schema format. The compatible
string list was incomplete. The "reg" and "interrupts" properties were
missing. "ti,hwmods" is also deprecated and not required.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>

authored by

Rob Herring (Arm) and committed by
Wim Van Sebroeck
af34a253 13e86646

+51 -15
-15
Documentation/devicetree/bindings/watchdog/omap-wdt.txt
··· 1 - TI Watchdog Timer (WDT) Controller for OMAP 2 - 3 - Required properties: 4 - - compatible : "ti,omap3-wdt" for OMAP3 or "ti,omap4-wdt" for OMAP4 5 - - ti,hwmods : Name of the hwmod associated to the WDT 6 - 7 - Optional properties: 8 - - timeout-sec : default watchdog timeout in seconds 9 - 10 - Examples: 11 - 12 - wdt2: wdt@4a314000 { 13 - compatible = "ti,omap4-wdt", "ti,omap3-wdt"; 14 - ti,hwmods = "wd_timer2"; 15 - };
+51
Documentation/devicetree/bindings/watchdog/ti,omap2-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/ti,omap2-wdt.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: TI OMAP Watchdog Timer Controller 8 + 9 + maintainers: 10 + - Aaro Koskinen <aaro.koskinen@iki.fi> 11 + 12 + allOf: 13 + - $ref: watchdog.yaml# 14 + 15 + properties: 16 + compatible: 17 + oneOf: 18 + - enum: 19 + - ti,omap2-wdt 20 + - ti,omap3-wdt 21 + - items: 22 + - enum: 23 + - ti,am4372-wdt 24 + - ti,omap4-wdt 25 + - ti,omap5-wdt 26 + - const: ti,omap3-wdt 27 + 28 + reg: 29 + maxItems: 1 30 + 31 + interrupts: 32 + maxItems: 1 33 + 34 + ti,hwmods: 35 + description: Name of the hardware module associated with the watchdog. 36 + $ref: /schemas/types.yaml#/definitions/string 37 + deprecated: true 38 + 39 + required: 40 + - compatible 41 + - reg 42 + 43 + unevaluatedProperties: false 44 + 45 + examples: 46 + - | 47 + watchdog@48314000 { 48 + compatible = "ti,omap3-wdt"; 49 + reg = <0x48314000 0x80>; 50 + ti,hwmods = "wd_timer2"; 51 + };