Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4960947imm; Tue, 9 Oct 2018 07:44:20 -0700 (PDT) X-Google-Smtp-Source: ACcGV63UH3FWOFh65AFjgyY0jcl8dUEG9tFpFCRD1O3kFAR5/o+pVW7WuxWm52L2I9MwoTSlDZvY X-Received: by 2002:a17:902:9693:: with SMTP id n19-v6mr29345113plp.282.1539096260728; Tue, 09 Oct 2018 07:44:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539096260; cv=none; d=google.com; s=arc-20160816; b=ZIRU182m3wP/OoQAio7tbpGSwkRSo7ono0y5R05kj7QBoAcMUtPf/Ok+dWMabLyI3j oGOzXXd6puY1t3KbNLJs8GS2iFgWy0IVce4wXxcrZExn4PRkDq0s+12Gsw885LB3MnKx STXQpcUmvZ24HD5qdpwfMgxxezY9t5NgrQBsjQ8fMUIMAjWZnmVLGJFj+O7a+aoMLN2c eAM7hiVwSBlwO93Idtyyjmg7R27int/ovMekHg0Z7xP+KJQeWhonS4a0+o89ao3Yv4py g11otWKv4cK3WS1UFc5zFMjaRdPFxiLfwpVQmzw6COVmxEHO2s9z8zEoFttZss8TOoJq LhAA== 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=AwVursVO2MS53vc8XeNGvkokQ5BZbmjtCjPCa9a3cmWx7w8ngwwLkXv3v9uDOUVUyN wAc0hSjrjCOF4w18klknpx9PALiDtb2yU0cPV6TP1kgjs0/C7Hm2NEwttOOoQYkRo0UH azbA0iW2qvm0zwy1FoKSf1tAKOn+7r7t3IIjHspGwgEWGVOGCMVcLiU/4mIh03XfmOQu r1aHEU1yAsSEavqKxxfLUZoZhNnrC5bGJFAhaJcjoTgU+R0Mmwe/SEaF/vufA4Lw9beg yVJ0+m2M3KEsckqTzf0H72pFaE9B9XGqrqN+7W10lctT4Y9YtchmtiqeayMQ7U0OWSfZ ytVQ== 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 a9-v6si21831755pfe.29.2018.10.09.07.44.06; Tue, 09 Oct 2018 07:44:20 -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 S1726664AbeJIV7U (ORCPT + 99 others); Tue, 9 Oct 2018 17:59:20 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:59284 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726479AbeJIV7U (ORCPT ); Tue, 9 Oct 2018 17:59:20 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.2389053|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e01e04486;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=14;RT=14;SR=0;TI=SMTPD_---.D.eWLZl_1539096113; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.D.eWLZl_1539096113) by smtp.aliyun-inc.com(10.147.41.199); Tue, 09 Oct 2018 22:41:54 +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 V11 2/8] dt-bindings: interrupt-controller: C-SKY SMP intc Date: Tue, 9 Oct 2018 22:41:29 +0800 Message-Id: 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