Add an interrupt controller driver for this device. This is an extremely simple second level controller with per-interrupt-bit registers for "enable" and "status". There is no internal latching, so no "clear/ACK" process is needed. Signed-off-by: Andy Ross <andyross@google.com>
34 lines
580 B
YAML
34 lines
580 B
YAML
# Copyright 2023 The ChromiumOS Authors
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: MediaTek MT8xxx Audio DSP Interrupt Controller
|
|
|
|
compatible: "mediatek,adsp_intc"
|
|
|
|
include: [interrupt-controller.yaml, base.yaml]
|
|
|
|
properties:
|
|
reg:
|
|
required: true
|
|
|
|
interrupts:
|
|
required: true
|
|
|
|
"#interrupt-cells":
|
|
const: 3
|
|
|
|
status-reg:
|
|
description: Register address of interrupt-is-signaled bits
|
|
type: int
|
|
required: true
|
|
|
|
mask:
|
|
description: Mask of valid interrupt bits
|
|
type: int
|
|
required: true
|
|
|
|
interrupt-cells:
|
|
- irq
|
|
- sense
|
|
- priority
|