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

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

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sysctrl.yaml
Extension
.yaml
Size
2689 bytes
Lines
105
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-sysctrl.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Socionext UniPhier system controller

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

description: |+
  System controller implemented on Socionext UniPhier SoCs has multiple
  functions such as clock control, reset control, internal watchdog timer,
  thermal management, and so on.

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

  reg:
    maxItems: 1

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

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

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

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

allOf:
  - if:
      properties:
        compatible:
          contains:
            const: socionext,uniphier-ld4-sysctrl
    then:
      properties:
        watchdog: false

  - if:
      properties:
        compatible:
          contains:
            enum:
              - socionext,uniphier-ld4-sysctrl
              - socionext,uniphier-pro4-sysctrl
              - socionext,uniphier-sld8-sysctrl
              - socionext,uniphier-ld11-sysctrl
    then:
      properties:
        thermal-sensor: false

Annotation

Implementation Notes