~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/soc/renesas/renesas-soc.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/soc/renesas/renesas-soc.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Renesas SoC compatibles naming convention
  8 
  9 maintainers:
 10   - Geert Uytterhoeven <geert+renesas@glider.be>
 11   - Niklas Söderlund <niklas.soderlund@ragnatech.se>
 12 
 13 description: |
 14   Guidelines for new compatibles for SoC blocks/components.
 15   When adding new compatibles in new bindings, use the format::
 16     renesas,SoC-IP
 17 
 18   For example::
 19    renesas,r8a77965-csi2
 20 
 21   When adding new compatibles to existing bindings, use the format in the
 22   existing binding, even if it contradicts the above.
 23 
 24 select:
 25   properties:
 26     compatible:
 27       contains:
 28         pattern: "^renesas,.+-.+$"
 29   required:
 30     - compatible
 31 
 32 properties:
 33   compatible:
 34     minItems: 1
 35     maxItems: 4
 36     items:
 37       anyOf:
 38         # Preferred naming style for compatibles of SoC components
 39         - pattern: "^renesas,(emev2|r(7s|8a|9a)[a-z0-9]+|rcar|rmobile|rz[a-z0-9]*|sh(7[a-z0-9]+)?|mobile)-[a-z0-9-]+$"
 40         - pattern: "^renesas,(condor|falcon|gr-peach|gray-hawk|salvator|sk-rz|smar(c(2)?)?|spider|white-hawk)(.*)?$"
 41 
 42         # Legacy compatibles
 43         #
 44         # New compatibles are not allowed.
 45         - pattern: "^renesas,(can|cpg|dmac|du|(g)?ether(avb)?|gpio|hscif|(r)?i[i2]c|imr|intc|ipmmu|irqc|jpu|mmcif|msiof|mtu2|pci(e)?|pfc|pwm|[rq]spi|rcar_sound|sata|scif[ab]*|sdhi|thermal|tmu|tpu|usb(2|hs)?|vin|xhci)-[a-z0-9-]+$"
 46         - pattern: "^renesas,(d|s)?bsc(3)?-(r8a73a4|r8a7740|sh73a0)$"
 47         - pattern: "^renesas,em-(gio|sti|uart)$"
 48         - pattern: "^renesas,fsi2-(r8a7740|sh73a0)$"
 49         - pattern: "^renesas,hspi-r8a777[89]$"
 50         - pattern: "^renesas,sysc-(r8a73a4|r8a7740|rmobile|sh73a0)$"
 51         - enum:
 52             - renesas,imr-lx4
 53             - renesas,mtu2-r7s72100
 54 
 55         # None SoC component compatibles
 56         #
 57         # Compatibles with the Renesas vendor prefix that do not relate to any SoC
 58         # component are OK. New compatibles are allowed.
 59         - enum:
 60             - renesas,smp-sram
 61 
 62         # Do not fail compatibles not matching the select pattern
 63         #
 64         # Some SoC components in addition to a Renesas compatible list
 65         # compatibles not related to Renesas. The select pattern for this
 66         # schema hits all compatibles that have at lest one Renesas compatible
 67         # and try to validate all values in that compatible array, allow all
 68         # that don't match the schema select pattern. For example,
 69         #
 70         #   compatible = "renesas,r9a07g044-mali", "arm,mali-bifrost";
 71         - pattern: "^(?!renesas,.+-.+).+$"
 72 
 73 additionalProperties: true

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php