Documentation/devicetree/bindings/interrupt-controller/loongson,pch-lpc.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/interrupt-controller/loongson,pch-lpc.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/interrupt-controller/loongson,pch-lpc.yaml
Extension
.yaml
Size
1159 bytes
Lines
53
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/loongson,pch-lpc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Loongson PCH LPC Controller

maintainers:
  - Jiaxun Yang <jiaxun.yang@flygoat.com>

description:
  This interrupt controller is found in the Loongson LS7A family of PCH for
  accepting interrupts sent by LPC-connected peripherals and signalling PIC
  via a single interrupt line when interrupts are available.

properties:
  compatible:
    const: loongson,ls7a-lpc

  reg:
    maxItems: 1

  interrupt-controller: true

  interrupts:
    maxItems: 1

  '#interrupt-cells':
    const: 2

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

additionalProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/irq.h>
    lpc: interrupt-controller@10002000 {
      compatible = "loongson,ls7a-lpc";
      reg = <0x10002000 0x400>;
      interrupt-controller;
      #interrupt-cells = <2>;
      interrupt-parent = <&pic>;
      interrupts = <19 IRQ_TYPE_LEVEL_HIGH>;
    };
...

Annotation

Implementation Notes