Documentation/devicetree/bindings/reset/sophgo,sg2042-reset.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/reset/sophgo,sg2042-reset.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/reset/sophgo,sg2042-reset.yaml
Extension
.yaml
Size
808 bytes
Lines
43
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/reset/sophgo,sg2042-reset.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Sophgo SG2042 SoC Reset Controller

maintainers:
  - Chen Wang <unicorn_wang@outlook.com>

properties:
  compatible:
    oneOf:
      - items:
          - enum:
              - sophgo,sg2044-reset
          - const: sophgo,sg2042-reset
      - enum:
          - sophgo,cv1800b-reset
          - sophgo,sg2042-reset

  reg:
    maxItems: 1

  "#reset-cells":
    const: 1

required:
  - compatible
  - reg
  - "#reset-cells"

additionalProperties: false

examples:
  - |
    rstgen: reset-controller@c00 {
        compatible = "sophgo,sg2042-reset";
        reg = <0xc00 0xc>;
        #reset-cells = <1>;
    };

Annotation

Implementation Notes