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