treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / arm / samsung / exynos-chipid.yaml
blobafcd70803c12e1c7d734a9a88c6b42fed1aa8c1c
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/arm/samsung/exynos-chipid.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung Exynos SoC series Chipid driver
9 maintainers:
10   - Krzysztof Kozlowski <krzk@kernel.org>
12 properties:
13   compatible:
14     items:
15       - const: samsung,exynos4210-chipid
17   reg:
18     maxItems: 1
20   samsung,asv-bin:
21     description:
22       Adaptive Supply Voltage bin selection. This can be used
23       to determine the ASV bin of an SoC if respective information
24       is missing in the CHIPID registers or in the OTP memory.
25     allOf:
26       - $ref: /schemas/types.yaml#/definitions/uint32
27       - enum: [ 0, 1, 2, 3 ]
29 required:
30   - compatible
31   - reg
33 examples:
34   - |
35     chipid@10000000 {
36         compatible = "samsung,exynos4210-chipid";
37         reg = <0x10000000 0x100>;
38         samsung,asv-bin = <2>;
39     };