treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / arm / stm32 / st,stm32-syscon.yaml
blob0dedf94c8578618db727e3c76606351888e9ee99
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: "http://devicetree.org/schemas/arm/stm32/st,stm32-syscon.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: STMicroelectronics STM32 Platforms System Controller bindings
9 maintainers:
10   - Alexandre Torgue <alexandre.torgue@st.com>
11   - Christophe Roullier <christophe.roullier@st.com>
13 properties:
14   compatible:
15     oneOf:
16       - items:
17         - enum:
18           - st,stm32mp157-syscfg
19         - const: syscon
21   reg:
22     maxItems: 1
24   clocks:
25     maxItems: 1
27 required:
28   - compatible
29   - reg
30   - clocks
32 examples:
33   - |
34     #include <dt-bindings/clock/stm32mp1-clks.h>
35     syscfg: syscon@50020000 {
36         compatible = "st,stm32mp157-syscfg", "syscon";
37         reg = <0x50020000 0x400>;
38         clocks = <&rcc SYSCFG>;
39     };
41 ...