From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6051FCA1013 for ; Sat, 6 Sep 2025 01:49:06 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4cJbjX6fQWz2yrP; Sat, 6 Sep 2025 11:49:04 +1000 (AEST) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=211.20.114.72 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1757123344; cv=none; b=fjznXTAT74KFJfMsSanaieZRoNXT/YhV0B1GCta55MZW5gaquaRRBJuLiCKfb5JTypVEkRdbVzLazaNy6a2VrkslMcKdcA/zo3Zm8+ci9dVq0PCy/a8l0sfLU3rjne4JD0UB03hECStsN/P4HwyYw2Q8HAxP7S0SVqXfakkQ8+B5phOQWmI5Sf+cxLtBzQFN9B4R5b+lJn5n8xsb0B4ZjJEm11iX8bLY4augYy2eOytx96R1yo8fH3xNNVCNhdNC+BGmES5PLv/9S99ETcSnpxVYTCCBTdZZzykxsBO8pjsuWLmioKRRxNZdMxrOaa9SuwvWZtSS+S9QF5+TgC/1nw== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1757123344; c=relaxed/relaxed; bh=UzDVRuCah7NxKez4DJgHs0IE76L3D8WM+eGIV7r7Tcc=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=J8voV2JEoih3izQbTIvi9MmpfiWjdo/S03PN9HRTHf5ANMqZ2cCF6Sj2byiil+6yAVCSLoy/eXbBLB43e39CoMZy3Eq4cA2PzIBawOM7Uz783QSYsgNxvAuUhT5IS3as+WZyqyg1wssXpcnOeJhtIsVvc+JmtCWd/YvWKyRWPJsKDRdqj/OSPJDXC90ytUDA9lzXe0F670zIh394f8yTQCVZ4gNzk42smlFBvdOO0QpUJZXzynWmamRxygR4hx6xoPzxyPOmPdmtWVEehWj2Q21uWAgYqXv0iVHYMVhgB0+496J+3y0K7H32/gmMpZ5GlJfFVv0YBLRDv2dr4lc5lA== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com; spf=pass (client-ip=211.20.114.72; helo=twmbx01.aspeed.com; envelope-from=ryan_chen@aspeedtech.com; receiver=lists.ozlabs.org) smtp.mailfrom=aspeedtech.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=aspeedtech.com (client-ip=211.20.114.72; helo=twmbx01.aspeed.com; envelope-from=ryan_chen@aspeedtech.com; receiver=lists.ozlabs.org) Received: from TWMBX01.aspeed.com (mail.aspeedtech.com [211.20.114.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4cJbjW6hYFz2xWc for ; Sat, 6 Sep 2025 11:49:02 +1000 (AEST) Received: from TWMBX01.aspeed.com (192.168.0.62) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.10; Sat, 6 Sep 2025 09:48:46 +0800 Received: from twmbx02.aspeed.com (192.168.10.13) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server id 15.2.1748.10 via Frontend Transport; Sat, 6 Sep 2025 09:48:46 +0800 From: Ryan Chen To: ryan_chen , Eddie James , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , Lee Jones , , , , Subject: [PATCH v3 0/4] irqchip: Add support for Aspeed AST2700 SCU interrupt controller Date: Sat, 6 Sep 2025 09:48:42 +0800 Message-ID: <20250906014846.861368-1-ryan_chen@aspeedtech.com> X-Mailer: git-send-email 2.34.1 X-Mailing-List: linux-aspeed@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain This series adds support for the SCU (System Control Unit) interrupt controllers on the Aspeed AST2700 SoC. AST2700 follows the same multi-instance SCU interrupt controller design as AST2600, with four independent interrupt domains (scu-ic0 to 3). However, unlike previous SoCs that use a single register for both enable and status bits, AST2700 splits them into separate IER (Interrupt Enable) and ISR (Interrupt Status) registers. To support this, the driver is refactored to use a variant-based init structure, selected by compatible string. Register access is also converted from regmap to MMIO (via `of_iomap()`), and a per-variant IRQ handler is used depending on register layout. v3: - irq-aspeed-scu-ic.c - update for bracket-rules. - update TAB not spaces to align. - remove stray TAB. - update end up aligned. - add missing _ier, _isr in SCU_VARIANT. - add two different mask/unmask/ functions for split and combined. v2: - Refactor SCU IC driver to support variant-based initialization - Add AST2700 compatible strings to YAML and header files - Extend DT bindings in mfd and irqchip for AST2700 - Add IRQ handler logic for separate IER/ISR layout Ryan Chen (4): irqchip/aspeed-scu-ic: Refactor driver to support variant-based initialization dt-bindings: mfd: aspeed: Add AST2700 SCU compatibles dt-bindings: interrupt-controller: aspeed: Add AST2700 SCU IC compatibles irqchip/aspeed-scu-ic: Add support AST2700 SCU interrupt controllers .../aspeed,ast2500-scu-ic.yaml | 6 +- .../bindings/mfd/aspeed,ast2x00-scu.yaml | 4 + drivers/irqchip/irq-aspeed-scu-ic.c | 242 +++++++++++------- .../interrupt-controller/aspeed-scu-ic.h | 14 + 4 files changed, 173 insertions(+), 93 deletions(-) -- 2.34.1