treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / arm / samsung / sysreg.yaml
blob3b7811804cb413d533c4158938bebf58b39e73ee
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/arm/samsung/sysreg.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung S5P/Exynos SoC series System Registers (SYSREG)
9 maintainers:
10   - Krzysztof Kozlowski <krzk@kernel.org>
12 # Custom select to avoid matching all nodes with 'syscon'
13 select:
14   properties:
15     compatible:
16       contains:
17         enum:
18           - samsung,exynos4-sysreg
19           - samsung,exynos5-sysreg
20   required:
21     - compatible
23 properties:
24   compatible:
25     allOf:
26       - items:
27           - enum:
28               - samsung,exynos4-sysreg
29               - samsung,exynos5-sysreg
30           - const: syscon
32   reg:
33     maxItems: 1
35 examples:
36   - |
37     syscon@10010000 {
38         compatible = "samsung,exynos4-sysreg", "syscon";
39         reg = <0x10010000 0x400>;
40     };
42     syscon@10050000 {
43         compatible = "samsung,exynos5-sysreg", "syscon";
44         reg = <0x10050000 0x5000>;
45     };