xref: /linux/Documentation/devicetree/bindings/arm/samsung/samsung-soc.yaml (revision b5bee6ced21ca98389000b7017dd41b0cc37fa50)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/arm/samsung/samsung-soc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung S3C, S5P and Exynos SoC compatibles naming convention
8
9maintainers:
10  - Krzysztof Kozlowski <krzk@kernel.org>
11
12description: |
13  Guidelines for new compatibles for SoC blocks/components.
14  When adding new compatibles in new bindings, use the format::
15    samsung,SoC-IP
16
17  For example::
18    samsung,exynos5433-cmu-isp
19
20select:
21  properties:
22    compatible:
23      pattern: "^samsung,.*(s3c|s5pv|exynos)[0-9a-z]+.*$"
24  required:
25    - compatible
26
27properties:
28  compatible:
29    oneOf:
30      - description: Preferred naming style for compatibles of SoC components
31        pattern: "^samsung,(s3c|s5pv|exynos|exynosautov)[0-9]+-.*$"
32
33      # Legacy compatibles with wild-cards - list cannot grow with new bindings:
34      - enum:
35          - samsung,exynos4x12-pinctrl
36          - samsung,exynos4x12-usb2-phy
37          - samsung,s3c64xx-pinctrl
38          - samsung,s3c64xx-wakeup-eint
39
40additionalProperties: true
41