Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp1175866ybm; Sat, 30 May 2020 00:48:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxi5ROHkJlMcJrsIWmsP8u60k82RFeCR26w6JW3ogfAW/zvZciFalKvH20t1YTEFSrHoa3 X-Received: by 2002:a17:906:4c42:: with SMTP id d2mr11336013ejw.474.1590824918540; Sat, 30 May 2020 00:48:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590824918; cv=none; d=google.com; s=arc-20160816; b=FphUG7aJDnk536uLouaIzYHI+U7nmaNv7eVxo9zBt8SdNQRpfaAc5EUvnMkkeL7I2c Hd5a+Wvo7qD1YBm+jDp3cSpjncRwK52GEQyQ6nXq2ybwJlrbfa3TI2wlqudXGsmLPzr1 uIAW+fjRcgL3BATsHlQvVufe0O0HVatSJrfkFIWqCSwkQhST9vc1ue13Ua8W8Ajk/gEb G31z8FuJvybyIQhRcd+24bV8NrvXW4TouRiJ+iGn2W4y5qTlvllmGR1RUEX43pqkBvoF gj6PcCMyE2LGsd2diuGQVwO5x4Zj6Q+/xtM9nSBvl3xtCDisIsWm2uGfHMVob6Nx4jDB Ey5A== 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=MxTDIMZi4sBshZt/xZVC0a07r+TZzAv/voWhWlqJZkU=; b=oPksJ04VTU6AWl3csW8PV/Hk/LPUzq0AgTMwVeB/tkUApVtwK4pZITrRYUjukMbD3p BKlLfn2GDAN3WVqobkHZAGFgly3yTuDolECEhiyFSoaPr1b1VQVd+NtuNKOuLtwEOnER CBCRZCsP6N3zpnP9JgizuzIXOcZtuo/kyA9czcTCzmOrhfhE4sir/4dEgKEcLIM7X9PH gaoCQTLQdGXKuGKDBawPfKrCx0hwYsB1rYXIHXu88m/yKpMSSxiPP3M4iBYey4W0x/lI iD71hdXrtEequRPBeXgyPhktSJixO6zsgEijIC0GYsLtTJ7odYtBVw/z0MBpFVQ8nZlO FOWQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m13si2577851edq.249.2020.05.30.00.48.15; Sat, 30 May 2020 00:48:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728826AbgE3Hqf (ORCPT + 99 others); Sat, 30 May 2020 03:46:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728599AbgE3Hqf (ORCPT ); Sat, 30 May 2020 03:46:35 -0400 Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D212C03E969; Sat, 30 May 2020 00:46:35 -0700 (PDT) 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 1jewCN-0001p0-Ba; Sat, 30 May 2020 09:46:31 +0200 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id EE6391C0093; Sat, 30 May 2020 09:46:30 +0200 (CEST) Date: Sat, 30 May 2020 07:46:30 -0000 From: "tip-bot2 for Jiaxun Yang" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/core] dt-bindings: interrupt-controller: Add Loongson PCH MSI Cc: Jiaxun Yang , Rob Herring , Marc Zyngier , x86 , LKML In-Reply-To: <20200528152757.1028711-7-jiaxun.yang@flygoat.com> References: <20200528152757.1028711-7-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Message-ID: <159082479072.17951.7141736298495200150.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: da10a4b626657387845f32d37141fc7d48ebbdb3 Gitweb: https://git.kernel.org/tip/da10a4b626657387845f32d37141fc7d48ebbdb3 Author: Jiaxun Yang AuthorDate: Thu, 28 May 2020 23:27:54 +08:00 Committer: Marc Zyngier CommitterDate: Fri, 29 May 2020 09:42:19 +01:00 dt-bindings: interrupt-controller: Add Loongson PCH MSI Add binding for Loongson PCH MSI controller. Signed-off-by: Jiaxun Yang Reviewed-by: Rob Herring Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20200528152757.1028711-7-jiaxun.yang@flygoat.com --- Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml diff --git a/Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml b/Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml new file mode 100644 index 0000000..1a5ebbd --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml @@ -0,0 +1,62 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/interrupt-controller/loongson,pch-msi.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Loongson PCH MSI Controller + +maintainers: + - Jiaxun Yang + +description: + This interrupt controller is found in the Loongson LS7A family of PCH for + transforming interrupts from PCIe MSI into HyperTransport vectorized + interrupts. + +properties: + compatible: + const: loongson,pch-msi-1.0 + + reg: + maxItems: 1 + + loongson,msi-base-vec: + description: + u32 value of the base of parent HyperTransport vector allocated + to PCH MSI. + allOf: + - $ref: "/schemas/types.yaml#/definitions/uint32" + - minimum: 0 + maximum: 255 + + loongson,msi-num-vecs: + description: + u32 value of the number of parent HyperTransport vectors allocated + to PCH MSI. + allOf: + - $ref: "/schemas/types.yaml#/definitions/uint32" + - minimum: 1 + maximum: 256 + + msi-controller: true + +required: + - compatible + - reg + - msi-controller + - loongson,msi-base-vec + - loongson,msi-num-vecs + +examples: + - | + #include + msi: msi-controller@2ff00000 { + compatible = "loongson,pch-msi-1.0"; + reg = <0x2ff00000 0x4>; + msi-controller; + loongson,msi-base-vec = <64>; + loongson,msi-num-vecs = <64>; + interrupt-parent = <&htvec>; + }; +...