treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / watchdog / amlogic,meson-gxbb-wdt.yaml
blob4ddae6feef3bba29c19b70fef1d19bc4218b840b
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019 BayLibre, SAS
3 %YAML 1.2
4 ---
5 $id: "http://devicetree.org/schemas/watchdog/amlogic,meson-gxbb-wdt.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Meson GXBB SoCs Watchdog timer
10 maintainers:
11   - Neil Armstrong <narmstrong@baylibre.com>
13 allOf:
14   - $ref: watchdog.yaml#
16 properties:
17   compatible:
18     enum:
19       - amlogic,meson-gxbb-wdt
21   reg:
22     maxItems: 1
24   clocks:
25     maxItems: 1
26     description:
27       A phandle to the clock of this PHY
29 required:
30   - compatible
31   - reg
32   - clocks
34 examples:
35   - |
36     watchdog@98d0 {
37           compatible = "amlogic,meson-gxbb-wdt";
38           reg = <0x98d0 0x10>;
39           clocks = <&xtal>;
40     };