Documentation/devicetree/bindings/interrupt-controller/chrp,open-pic.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/interrupt-controller/chrp,open-pic.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/interrupt-controller/chrp,open-pic.yaml
Extension
.yaml
Size
1943 bytes
Lines
79
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/interrupt-controller/chrp,open-pic.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Open PIC Interrupt Controller

maintainers:
  - Rob Herring <robh@kernel.org>

description:
  This binding specifies what properties must be available in the device tree
  representation of an Open PIC compliant interrupt controller.  This binding is
  based on the binding defined for Open PIC in [1] and is a superset of that
  binding.

properties:
  compatible:
    oneOf:
      - items:
          - const: fsl,mpic
          - const: chrp,open-pic
      - const: chrp,open-pic

  device_type:
    const: open-pci
    deprecated: true

  reg:
    maxItems: 1

  interrupt-controller: true

  '#address-cells':
    const: 0

  '#interrupt-cells':
    description:
      A value of 4 means that interrupt specifiers contain the interrupt-type or
      type-specific information cells.
    enum: [ 2, 4 ]

  pic-no-reset:
    description: Indicates the PIC shall not be reset during runtime initialization.
    type: boolean

  single-cpu-affinity:
    description:
      If present, non-IPI interrupts will be routed to a single CPU at a time.
    type: boolean

  last-interrupt-source:
    description:
      Some MPICs do not correctly report the number of hardware sources in the
      global feature registers. This value, if specified, overrides the value
      read from MPIC_GREG_FEATURE_LAST_SRC.
    $ref: /schemas/types.yaml#/definitions/uint32

required:
  - compatible
  - reg
  - interrupt-controller
  - '#address-cells'
  - '#interrupt-cells'

additionalProperties: false

examples:
  - |

Annotation

Implementation Notes