Documentation/devicetree/bindings/mtd/nand-chip.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/mtd/nand-chip.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/mtd/nand-chip.yaml
Extension
.yaml
Size
1021 bytes
Lines
40
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/mtd/nand-chip.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NAND Chip Common Properties

maintainers:
  - Miquel Raynal <miquel.raynal@bootlin.com>

allOf:
  - $ref: mtd.yaml#
  - $ref: nand-property.yaml

description: |
  This file covers the generic description of a NAND chip. It implies that the
  bus interface should not be taken into account: both raw NAND devices and
  SPI-NAND devices are concerned by this description.

properties:
  reg:
    description:
      Contains the chip-select IDs.

  nand-randomizer:
    description: |
      Control the data randomizer feature.
      0: Disable randomizer.
      1: Enable randomizer.
      If absent, the current hardware state is left unchanged.
    $ref: /schemas/types.yaml#/definitions/uint32
    enum: [0, 1]

required:
  - reg

# This file can be referenced by more specific devices (like spi-nands)
additionalProperties: true

Annotation

Implementation Notes