drivers: MediaTek MT8195 Audio DSP interrupt controller

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>
This commit is contained in:
Andy Ross 2023-08-05 06:04:46 -07:00 committed by Anas Nashif
commit 3f07d70cf3
5 changed files with 127 additions and 0 deletions

View file

@ -0,0 +1,33 @@
# 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