Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp975421ybl; Fri, 24 Jan 2020 13:02:22 -0800 (PST) X-Google-Smtp-Source: APXvYqxCaHycZequ9oYrQzleC4JyAhapQ32NMUTNr0QWuHxy/NWAGv0iqW2tSTXaG9n/8qAGFF6u X-Received: by 2002:a9d:65da:: with SMTP id z26mr4111486oth.197.1579899741874; Fri, 24 Jan 2020 13:02:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579899741; cv=none; d=google.com; s=arc-20160816; b=gG3WNwTMKwULvH0KPPhjQccu/sF5EKkqIS82aTBxG5N41Bm6F2pGT1aRYqYscrIWqI iXnn+Couz3C+QX4YCDDlazpCl2bU+BuNG41rBIkqnhI2xiUXYp9FOXDNY8xuPHbXRz6C hZZulg+Pg5AMdKuUUf+2mkRqrkE2KAQtMu4Gha3u2qnaHcTi0j42mt51GYyPgcppatrn I6PEv4RRMwrmn9A6mIsCta5j/qPcdBCNlJzRTH89sOg/vZpCA4cC5PYwEY4Bwnb9yu4P 3PIYpTH2OO1xL9llH2GBbbUG8HmvRLKQbAGxCQDq4bR5CGcPRuLo50AM19/XKw2zLm96 T40g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=0wtpCPIVO+HBJm/q2q8kHAhe4SjcIZc6JnMqh5c6EZA=; b=MTfBc/kwuHmijIvwal1rocsl6LnaLerGOXYTBNaOn3x23EnX0IdIQvw3Yk5oc+Sheh wvf5Ql0REkRkQh0BR9yKcHk0zpz1vlhgMRCca4ykjuqEKLx+3PGDaEGRaopZY4kSsRWG P8doAcB6P5HXpBydt5acmWEzAWBw3FNrkhaJZZaHeIVJJHf1DmbTjRfC+2EIhAzMvDm9 cjVvE3wsbNrGq3IGbWFOuyR2joWuUEWIXVRMYMlZsxDPyIaZ5Pg9b+kWpXg+4rAL0akj WcWhhm4NqHkN4ZRu1slH17PzypDlsAJtUmd/0KHR8gqJhCM0b6IchUxAPTwdDbcfxFOu RwqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o4si3108484otp.200.2020.01.24.13.02.10; Fri, 24 Jan 2020 13:02:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391969AbgAXTLi (ORCPT + 99 others); Fri, 24 Jan 2020 14:11:38 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:43095 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404117AbgAXTL3 (ORCPT ); Fri, 24 Jan 2020 14:11:29 -0500 Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1iv4MW-0007gs-OQ; Fri, 24 Jan 2020 20:11:24 +0100 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id BBB4F1C1A6C; Fri, 24 Jan 2020 20:11:12 +0100 (CET) Date: Fri, 24 Jan 2020 19:11:12 -0000 From: "tip-bot2 for Eddie James" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/core] dt-bindings: interrupt-controller: Add Aspeed SCU interrupt controller Cc: Eddie James , Marc Zyngier , Rob Herring , Andrew Jeffery , x86 , LKML In-Reply-To: <1579123790-6894-2-git-send-email-eajames@linux.ibm.com> References: <1579123790-6894-2-git-send-email-eajames@linux.ibm.com> MIME-Version: 1.0 Message-ID: <157989307259.396.4926585690020301872.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the irq/core branch of tip: Commit-ID: 5350a237b4525ad12170f16239c9e9c7797df02f Gitweb: https://git.kernel.org/tip/5350a237b4525ad12170f16239c9e9c7797df02f Author: Eddie James AuthorDate: Wed, 15 Jan 2020 15:29:39 -06:00 Committer: Marc Zyngier CommitterDate: Mon, 20 Jan 2020 19:10:03 dt-bindings: interrupt-controller: Add Aspeed SCU interrupt controller Document the Aspeed SCU interrupt controller and add an include file for the interrupts it provides. Signed-off-by: Eddie James Signed-off-by: Marc Zyngier Reviewed-by: Rob Herring Acked-by: Andrew Jeffery Link: https://lore.kernel.org/r/1579123790-6894-2-git-send-email-eajames@linux.ibm.com --- Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2xxx-scu-ic.txt | 23 +++++++++++++++++++++++ MAINTAINERS | 7 +++++++ include/dt-bindings/interrupt-controller/aspeed-scu-ic.h | 23 +++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2xxx-scu-ic.txt create mode 100644 include/dt-bindings/interrupt-controller/aspeed-scu-ic.h diff --git a/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2xxx-scu-ic.txt b/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2xxx-scu-ic.txt new file mode 100644 index 0000000..251ed44 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2xxx-scu-ic.txt @@ -0,0 +1,23 @@ +Aspeed AST25XX and AST26XX SCU Interrupt Controller + +Required Properties: + - #interrupt-cells : must be 1 + - compatible : must be "aspeed,ast2500-scu-ic", + "aspeed,ast2600-scu-ic0" or + "aspeed,ast2600-scu-ic1" + - interrupts : interrupt from the parent controller + - interrupt-controller : indicates that the controller receives and + fires new interrupts for child busses + +Example: + + syscon@1e6e2000 { + ranges = <0 0x1e6e2000 0x1a8>; + + scu_ic: interrupt-controller@18 { + #interrupt-cells = <1>; + compatible = "aspeed,ast2500-scu-ic"; + interrupts = <21>; + interrupt-controller; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index e09bd92..f9f6e40 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2692,6 +2692,13 @@ S: Maintained F: drivers/pinctrl/aspeed/ F: Documentation/devicetree/bindings/pinctrl/aspeed,* +ASPEED SCU INTERRUPT CONTROLLER DRIVER +M: Eddie James +L: linux-aspeed@lists.ozlabs.org (moderated for non-subscribers) +S: Maintained +F: Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2xxx-scu-ic.txt +F: include/dt-bindings/interrupt-controller/aspeed-scu-ic.h + ASPEED VIDEO ENGINE DRIVER M: Eddie James L: linux-media@vger.kernel.org diff --git a/include/dt-bindings/interrupt-controller/aspeed-scu-ic.h b/include/dt-bindings/interrupt-controller/aspeed-scu-ic.h new file mode 100644 index 0000000..f315d5a --- /dev/null +++ b/include/dt-bindings/interrupt-controller/aspeed-scu-ic.h @@ -0,0 +1,23 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_ASPEED_SCU_IC_H_ +#define _DT_BINDINGS_INTERRUPT_CONTROLLER_ASPEED_SCU_IC_H_ + +#define ASPEED_SCU_IC_VGA_CURSOR_CHANGE 0 +#define ASPEED_SCU_IC_VGA_SCRATCH_REG_CHANGE 1 + +#define ASPEED_AST2500_SCU_IC_PCIE_RESET_LO_TO_HI 2 +#define ASPEED_AST2500_SCU_IC_PCIE_RESET_HI_TO_LO 3 +#define ASPEED_AST2500_SCU_IC_LPC_RESET_LO_TO_HI 4 +#define ASPEED_AST2500_SCU_IC_LPC_RESET_HI_TO_LO 5 +#define ASPEED_AST2500_SCU_IC_ISSUE_MSI 6 + +#define ASPEED_AST2600_SCU_IC0_PCIE_PERST_LO_TO_HI 2 +#define ASPEED_AST2600_SCU_IC0_PCIE_PERST_HI_TO_LO 3 +#define ASPEED_AST2600_SCU_IC0_PCIE_RCRST_LO_TO_HI 4 +#define ASPEED_AST2600_SCU_IC0_PCIE_RCRST_HI_TO_LO 5 + +#define ASPEED_AST2600_SCU_IC1_LPC_RESET_LO_TO_HI 0 +#define ASPEED_AST2600_SCU_IC1_LPC_RESET_HI_TO_LO 1 + +#endif /* _DT_BINDINGS_INTERRUPT_CONTROLLER_ASPEED_SCU_IC_H_ */