Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3355221imm; Sun, 30 Sep 2018 18:38:58 -0700 (PDT) X-Google-Smtp-Source: ACcGV63AnNOQWlpLhESN4eyiiNWoZMKfSEzscd032il/mKGTHJf51bXa6wX7/FGctk94R5+i/J86 X-Received: by 2002:a63:1a1a:: with SMTP id a26-v6mr8189358pga.449.1538357938639; Sun, 30 Sep 2018 18:38:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538357938; cv=none; d=google.com; s=arc-20160816; b=x7nsH6HWRqtPF9gedOmBF/sCEnZN5OesteWrG1pjGKbIefsIN12hk+v+nknjC72MLy hN9ZyOsfvhZhxowHoP2ik/YtsNnHEtbsby4jNnGeyEmflw01FaBRUzq/DSimJkQw18Si XZWzovyw2D7JX6KeBwk0SBnJx0NIzTH4jok3lPviBFlW9RkVrSNfZu+Xddl3aJM8EHi3 JIk9x6KL4PtpNVJ1i4ToeQyvhDs6FIPWaDS9+ofgxBZ/yobimm6br6h/KvuAu484I/Y3 ukTRVlWCIgBwLbqv0BfX+7jxe0lpsZ50dvSRPZgCF5LeCVJcCLPt9lKgpNe1EYgLoSnT hKjw== 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=gl0Zhrl76ns324bBzRXNJv5d53xN9cn1hkG93tyYIa0=; b=IbEZSB5I/3bqfbSFTsM3Rqt9SaAI/U2omtMSCJBbGbuVd2+So9HT+JTPtr5VMKKZOc xv0WYgq8/y9Ml5Dman1C/4n74LdE5TL/mvgO1H8e+y4BvoW7wN8FjIB4p5Apk0bdH/wx MDahzo8/aK0gv2zSQXEZ8oJPlQDaFwbXSiu+cM5UFwJJMMMaNQPa8SbiVlQ4KOw9Osxq EDIF2g4+iZ42ZeE/I4cjWF0niZtpAnKmzzEPQ9Q7gbKzcDvskyEbYL4LZ/wRadHQajrq v3v+2x3cLOdAakwEve3U2058SXt/FKgBilqM86gnxJIMYR0O+aMiOwiceV/LfRpTskJL I+Rg== 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 33-v6si11971406plu.386.2018.09.30.18.38.44; Sun, 30 Sep 2018 18:38:58 -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 S1728742AbeJAIMd (ORCPT + 99 others); Mon, 1 Oct 2018 04:12:33 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:37083 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727656AbeJAIMc (ORCPT ); Mon, 1 Oct 2018 04:12:32 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.252386|-1;CH=green;FP=8007282747590407473|1|1|12|0|-1|-1|-1;HT=e02c03278;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=18;RT=18;SR=0;TI=SMTPD_---.Cy2dG-z_1538357796; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.Cy2dG-z_1538357796) by smtp.aliyun-inc.com(10.147.42.22); Mon, 01 Oct 2018 09:36:36 +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, anurup.m@huawei.com, Jonathan.Cameron@huawei.com, will.deacon@arm.com, zhangshaokun@hisilicon.com, jhogan@kernel.org, paul.burton@mips.com, peterz@infradead.org, f.fainelli@gmail.com, arnd@arndb.de Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Guo Ren Subject: [PATCH V9 2/8] dt-bindings: interrupt-controller: C-SKY SMP intc Date: Mon, 1 Oct 2018 09:35:57 +0800 Message-Id: <4f6de4c6290c408d13902d8c1922514d06201bc2.1538355281.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 --- .../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