Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp678243imm; Fri, 12 Oct 2018 05:05:25 -0700 (PDT) X-Google-Smtp-Source: ACcGV60CnuDIv6LPc0tuFJJt6RICBPhhe1LxHYjoVkVKlT52M0jKzPBMmI2YtrwXMJatPHbg3kZB X-Received: by 2002:a63:fe44:: with SMTP id x4-v6mr5332532pgj.152.1539345925376; Fri, 12 Oct 2018 05:05:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539345925; cv=none; d=google.com; s=arc-20160816; b=Y+Agb9JHq3/7rAncYUttNAvKTuGyv5sYzwbhM4lcDyVc//BvUPCj6Q6zl0w2rA78W+ VELc9ljjflYEf7IxZ6ParDdjKBmCxzoW4VS7ciI8WIUYqvoed6aNZ5XfRtexTrshXY/1 QhQ8obhQdB4nUmJ7SP8KinN3vpp62cb89w6xd4EPP50eWix8YSzWX5r4L6jlMJT0qxHV XiRiH+ky1cblFdWfs2iBuF1EckF4rS+++HRwNM3pVhOKvCRIjf6IpZdkAYID73l5jgy+ KWz2Kj8s4dCO/1ir/S8UwjF+sJT0K4MidMbzEfcQ6e5MKUlsXpKDe5A0MNSlbiSX9SIE im4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from; bh=2ln1BJvFOxULSQHMuywIKLSrAXEgukUdhiFXBsZnNrs=; b=q7/FhAV3MFvSPHt/RGCQEJ4NbBlaK7bPmlAJaH0Q+S8HTzUsr664NNZQxp/5uBF9NL 2lElnyJXoQOS+/TkK3nKhjEv7Q57IvnDbEppeS30XZmMYKhpR/MsGTHOdKJRkrjDATFc 37U7yehlcHwM7v8dwmBuS/ig9Ncr3ioUf+iSMFMmRdVzDZDLM0p4jTS+qak9JhRga3XK 9ElCcNiVUorku/FmoLK3AXatFbDhwzZM+lnk+IF/uo7Z/6hngvI8aa2bQxPVrfRS2jJR lli0GAr5DhKAsFypQTgFbySl3daOggkJxVq9KYQ8OMQIQoqN3D70Ff0YCkw79JyNcvsb 8kgw== 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 c3-v6si1027287pfi.110.2018.10.12.05.05.09; Fri, 12 Oct 2018 05:05:25 -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; 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 S1728560AbeJLTf3 (ORCPT + 99 others); Fri, 12 Oct 2018 15:35:29 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:58982 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727816AbeJLTf3 (ORCPT ); Fri, 12 Oct 2018 15:35:29 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.2325464|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03273;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=14;RT=14;SR=0;TI=SMTPD_---.D16Be4h_1539345769; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.D16Be4h_1539345769) by smtp.aliyun-inc.com(10.147.40.200); Fri, 12 Oct 2018 20:02:49 +0800 From: Guo Ren To: tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, robh+dt@kernel.org, mark.rutland@arm.com, daniel.lezcano@linaro.org, will.deacon@arm.com, jhogan@kernel.org, paul.burton@mips.com, peterz@infradead.org, arnd@arndb.de Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Guo Ren Subject: [PATCH V12 2/8] dt-bindings: interrupt-controller: C-SKY SMP intc Date: Fri, 12 Oct 2018 20:02:03 +0800 Message-Id: <80b0f7fa6dc72c5b176284f0a5d7dd09895e47be.1539315341.git.ren_guo@c-sky.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dt-bindings doc about C-SKY Multi-processors interrupt controller. Changelog: - Should be: '#interrupt-cells' not 'interrupt-cells' Signed-off-by: Guo Ren Reviewed-by: Rob Herring --- .../bindings/interrupt-controller/csky,mpintc.txt | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt diff --git a/Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt b/Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt new file mode 100644 index 0000000..ab921f1 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt @@ -0,0 +1,40 @@ +=========================================== +C-SKY Multi-processors Interrupt Controller +=========================================== + +C-SKY Multi-processors Interrupt Controller is designed for ck807/ck810/ck860 +SMP soc, and it also could be used in non-SMP system. + +Interrupt number definition: + + 0-15 : software irq, and we use 15 as our IPI_IRQ. + 16-31 : private irq, and we use 16 as the co-processor timer. + 31-1024: common irq for soc ip. + +============================= +intc node bindings definition +============================= + + Description: Describes SMP interrupt controller + + PROPERTIES + + - compatible + Usage: required + Value type: + Definition: must be "csky,mpintc" + - #interrupt-cells + Usage: required + Value type: + Definition: must be <1> + - interrupt-controller: + Usage: required + +Examples: +--------- + + intc: interrupt-controller { + compatible = "csky,mpintc"; + #interrupt-cells = <1>; + interrupt-controller; + }; -- 2.7.4