scripts/dtc/dt-style-selftest/bad/yaml-node-close.yaml

Source file repositories/reference/linux-study-clean/scripts/dtc/dt-style-selftest/bad/yaml-node-close.yaml

File Facts

System
Linux kernel
Corpus path
scripts/dtc/dt-style-selftest/bad/yaml-node-close.yaml
Extension
.yaml
Size
567 bytes
Lines
32
Domain
Support Tooling And Documentation
Bucket
scripts
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/test-bad-node-close.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Test fixture with closing brace not on its own line

maintainers:
  - Test User <test@example.com>

properties:
  compatible:
    const: example,test-node-close
  reg:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    bus@10000 {
        compatible = "simple-bus";
        reg = <0x10000 0x1000>;

        empty {};
    };

Annotation

Implementation Notes