Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.yaml
Extension
.yaml
Size
1642 bytes
Lines
84
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/rng/samsung,exynos5250-trng.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Samsung Exynos SoC True Random Number Generator

maintainers:
  - Krzysztof Kozlowski <krzk@kernel.org>
  - Ɓukasz Stelmach <l.stelmach@samsung.com>

properties:
  compatible:
    oneOf:
      - enum:
          - samsung,exynos5250-trng
          - samsung,exynos850-trng
      - items:
          - const: google,gs101-trng
          - const: samsung,exynos850-trng

  clocks:
    minItems: 1
    maxItems: 2

  clock-names:
    minItems: 1
    maxItems: 2

  power-domains:
    maxItems: 1

  reg:
    maxItems: 1

required:
  - compatible
  - clocks
  - clock-names
  - reg

allOf:
  - if:
      properties:
        compatible:
          contains:
            const: samsung,exynos850-trng

    then:
      properties:
        clocks:
          items:
            - description: SSS (Security Sub System) operating clock
            - description: SSS (Security Sub System) bus clock

        clock-names:
          items:
            - const: secss
            - const: pclk

    else:
      properties:
        clocks:
          items:
            - description: SSS (Security Sub System) operating clock

        clock-names:
          items:
            - const: secss

Annotation

Implementation Notes