41 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---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 convention8 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-IP16 17 For example::18 samsung,exynos5433-cmu-isp19 20select:21 properties:22 compatible:23 pattern: "^samsung,.*(s3c|s5pv|exynos)[0-9a-z]+.*$"24 required:25 - compatible26 27properties:28 compatible:29 oneOf:30 - description: Preferred naming style for compatibles of SoC components31 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-pinctrl36 - samsung,exynos4x12-usb2-phy37 - samsung,s3c64xx-pinctrl38 - samsung,s3c64xx-wakeup-eint39 40additionalProperties: true41