Documentation / devicetree / bindings / arm / samsung / samsung-soc.yaml


Based on kernel version 6.11. Page generated on 2024-09-24 08:21 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/arm/samsung/samsung-soc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Samsung S3C, S5P and Exynos SoC compatibles naming convention

maintainers:
  - Krzysztof Kozlowski <krzk@kernel.org>

description: |
  Guidelines for new compatibles for SoC blocks/components.
  When adding new compatibles in new bindings, use the format::
    samsung,SoC-IP
 
  For example::
    samsung,exynos5433-cmu-isp

select:
  properties:
    compatible:
      pattern: "^samsung,.*(s3c|s5pv|exynos)[0-9a-z]+.*$"
  required:
    - compatible

properties:
  compatible:
    oneOf:
      - description: Preferred naming style for compatibles of SoC components
        pattern: "^samsung,(s3c|s5pv|exynos|exynosautov)[0-9]+-.*$"
 
      # Legacy compatibles with wild-cards - list cannot grow with new bindings:
      - enum:
          - samsung,exynos4x12-pinctrl
          - samsung,exynos4x12-usb2-phy
          - samsung,s3c64xx-pinctrl
          - samsung,s3c64xx-wakeup-eint

additionalProperties: true