Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1171690ybe; Thu, 5 Sep 2019 11:23:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqwV+m0DfwwYZzgVne1gNP6Z0dXrvGY906mk767KtcYNykRLOxom4RcAadKShE7NonrqzjyW X-Received: by 2002:a17:902:864a:: with SMTP id y10mr4882128plt.294.1567707791324; Thu, 05 Sep 2019 11:23:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567707791; cv=none; d=google.com; s=arc-20160816; b=cJLtCdwv9gw2cpY1i8EuynHa4osTFtLyAsZ6o0aXINcPszOTS2woS9fyvIa11eTS4j wjG/ufWOuHaWVB2ZwgNfEET9EX8JhG5pkFxEPUyyW5hrGzkdRkteRG4uLE1GOrnFT15p UzOPSR0Q5nlCwYYKXEdtCBcrANoPOxE6xNknjEav1EV3wwyq73jAzgAR79woUCFDHD3w 0UGtfHPICHXskOIBAdQIn0ZTCmXRw3qET+XU0MaI9gQSNo2dzdxlIoO2xpf8cREEOho4 E+ttyYAg3IqtDlgP949r12o3alkF6MiouK0rPYs6KibAiEoY6ABsn7Rz8jZqfvRaEtUp XWlw== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=SYUsU3A6DANeNap3vpGKSbFb8T19SYF+OCm5875euJU=; b=gDnRd+WWTnnEYKkaekzi0s22RgjmHPIRt1YD8TFiEPFAg2fCLGhWVip9FHMK5f1OCp Zuaw8HamWBegcFewyx3HVX+0aM3sY3ig6DX95lqftVN4c1fx6RFPuKHDQerxvogjzWLd /dH0Dg3LPR+iLTipSZ83aeXCmjPblLOzBLvHISHZNFDSCEa49R/aRPVHvKGyOaI/7g5/ gmGRaffHXXYOYAfTnEWkixYsxj/ZiZ2RKlLIx5o194nDefbSL2q6HOlZ+CzF8FfQI5CO Wf1PO0q4hXPhzbEboln04s19G9MN01rxdiqOV4WpRM3AncewkErQ5yM2IZ+21fFa9a+i y1qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=mail header.b=LRTXpe59; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p14si2332936pgh.566.2019.09.05.11.22.55; Thu, 05 Sep 2019 11:23:11 -0700 (PDT) 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; dkim=pass header.i=@flygoat.com header.s=mail header.b=LRTXpe59; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389859AbfIEOpt (ORCPT + 99 others); Thu, 5 Sep 2019 10:45:49 -0400 Received: from forward103p.mail.yandex.net ([77.88.28.106]:37282 "EHLO forward103p.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728918AbfIEOpt (ORCPT ); Thu, 5 Sep 2019 10:45:49 -0400 Received: from mxback25j.mail.yandex.net (mxback25j.mail.yandex.net [IPv6:2a02:6b8:0:1619::225]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 1FBC818C0DE1; Thu, 5 Sep 2019 17:45:46 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback25j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id mPVYa6OIO5-jjJ4arOt; Thu, 05 Sep 2019 17:45:46 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; s=mail; t=1567694746; bh=SYUsU3A6DANeNap3vpGKSbFb8T19SYF+OCm5875euJU=; h=In-Reply-To:Subject:To:From:Cc:References:Date:Message-Id; b=LRTXpe59c2XXW10E/GRjYLxQBczkPI7aerOE6E4ZF4ZlujYm4l2j+JCz6wN+9oqe4 SlqC7e8c76cricRRNZSgDiDgm85KunuuJujDL1JF1Pd+SuXJuXnwnr+JfwqhdJbVL5 4Z1bOuGN5p0HpiXPc7HRczpOGW+u4YtB5o36/5gs= Authentication-Results: mxback25j.mail.yandex.net; dkim=pass header.i=@flygoat.com Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id zkoybIaMjG-jWxWOA4N; Thu, 05 Sep 2019 17:45:44 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: chenhc@lemote.com, paul.burton@mips.com, tglx@linutronix.de, jason@lakedaemon.net, maz@kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.co, devicetree@vger.kernel.org, Jiaxun Yang , Rob Herring Subject: [PATCH v2 08/19] dt-bindings: interrupt-controller: Add Loongson-3 HTINTC Date: Thu, 5 Sep 2019 22:43:05 +0800 Message-Id: <20190905144316.12527-9-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190905144316.12527-1-jiaxun.yang@flygoat.com> References: <20190905144316.12527-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document Loongson-3 HyperTransport Interrupt controller. Signed-off-by: Jiaxun Yang Reviewed-by: Rob Herring --- .../loongson,ls3-htintc.yaml | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/loongson,ls3-htintc.yaml diff --git a/Documentation/devicetree/bindings/interrupt-controller/loongson,ls3-htintc.yaml b/Documentation/devicetree/bindings/interrupt-controller/loongson,ls3-htintc.yaml new file mode 100644 index 000000000000..51fee46ab060 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/loongson,ls3-htintc.yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/interrupt-controller/loongson,ls3-htintc.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Loongson-3 HyperTransport Interrupt Controller + +maintainers: + - Jiaxun Yang + +description: | + This interrupt controller is found in the Loongson-3 family of chips to transfer + interrupts from PCH connected on HyperTransport bus. + +properties: + compatible: + const: loongson,ls3-htintc + + reg: + maxItems: 1 + + interrupts: + maxItems: 4 + description: | + Four parent interrupts that recieve chained interrupt randomly. + + interrupt-controller: true + + '#interrupt-cells': + const: 1 + +required: + - compatible + - reg + - interrupts + - interrupt-controller + - '#interrupt-cells' + +examples: + - | + #include + htintc: interrupt-controller@fb000080 { + compatible = "loongson,ls3-htintc"; + reg = <0xfb000080 0x100>; + interrupt-controller; + #interrupt-cells = <1>; + + interrupt-parent = <&iointc>; + interrupts = <24 IRQ_TYPE_LEVEL_HIGH>, + <25 IRQ_TYPE_LEVEL_HIGH>, + <26 IRQ_TYPE_LEVEL_HIGH>, + <27 IRQ_TYPE_LEVEL_HIGH>; + }; +... -- 2.22.0