Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-soc-glue.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-soc-glue.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-soc-glue.yaml
Extension
.yaml
Size
2710 bytes
Lines
115
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-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-soc-glue.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Socionext UniPhier SoC-glue logic

maintainers:
  - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>

description: |+
  SoC-glue logic implemented on Socionext UniPhier SoCs is a collection of
  miscellaneous function registers handling signals outside system components.

properties:
  compatible:
    items:
      - enum:
          - socionext,uniphier-ld4-soc-glue
          - socionext,uniphier-pro4-soc-glue
          - socionext,uniphier-pro5-soc-glue
          - socionext,uniphier-pxs2-soc-glue
          - socionext,uniphier-sld8-soc-glue
          - socionext,uniphier-ld11-soc-glue
          - socionext,uniphier-ld20-soc-glue
          - socionext,uniphier-pxs3-soc-glue
          - socionext,uniphier-nx1-soc-glue
      - const: simple-mfd
      - const: syscon

  reg:
    maxItems: 1

  pinctrl:
    $ref: /schemas/pinctrl/socionext,uniphier-pinctrl.yaml#

  usb-hub:
    $ref: /schemas/phy/socionext,uniphier-usb2-phy.yaml#

  clock-controller:
    $ref: /schemas/clock/socionext,uniphier-clock.yaml#

allOf:
  - if:
      not:
        properties:
          compatible:
            contains:
              enum:
                - socionext,uniphier-pro4-soc-glue
                - socionext,uniphier-ld11-soc-glue
    then:
      properties:
        usb-hub: false

  - if:
      not:
        properties:
          compatible:
            contains:
              const: socionext,uniphier-pro4-soc-glue
    then:
      properties:
        clock-controller: false

required:
  - compatible
  - reg

Annotation

Implementation Notes