Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/arm/samsung/samsung-soc.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Samsung S3C, S5P and Exynos SoC compatibles naming convention
0008 
0009 maintainers:
0010   - Krzysztof Kozlowski <krzk@kernel.org>
0011 
0012 description: |
0013   Guidelines for new compatibles for SoC blocks/components.
0014   When adding new compatibles in new bindings, use the format::
0015     samsung,SoC-IP
0016 
0017   For example::
0018     samsung,exynos5433-cmu-isp
0019 
0020 select:
0021   properties:
0022     compatible:
0023       pattern: "^samsung,.*(s3c|s5pv|exynos)[0-9a-z]+.*$"
0024   required:
0025     - compatible
0026 
0027 properties:
0028   compatible:
0029     oneOf:
0030       - description: Preferred naming style for compatibles of SoC components
0031         pattern: "^samsung,(s3c|s5pv|exynos|exynosautov)[0-9]+-.*$"
0032 
0033       # Legacy compatibles with wild-cards - list cannot grow with new bindings:
0034       - enum:
0035           - samsung,exynos4x12-pinctrl
0036           - samsung,exynos4x12-usb2-phy
0037           - samsung,s3c64xx-pinctrl
0038           - samsung,s3c64xx-wakeup-eint
0039 
0040 additionalProperties: true