Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3130551imm; Mon, 24 Sep 2018 16:42:31 -0700 (PDT) X-Google-Smtp-Source: ACcGV60sP55pw6WfWb05Sz9D5PNNohUQzr89RtRSHYgMWD9KQZbsYpIPG9Cn3kTdMLbDpbLh/4OV X-Received: by 2002:a63:b104:: with SMTP id r4-v6mr850216pgf.442.1537832551128; Mon, 24 Sep 2018 16:42:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537832551; cv=none; d=google.com; s=arc-20160816; b=amMnpagv8FJzL+qtx0Uyc7XlYWKBQvV9JeQoNUliOCkqINJPA56tzwqxKowN3gJSAQ rc2q9qVH6DyOgzWNdQ6xGkxnkdwwIDUHCKZ0e17c3C1s+1e/4BY6ivHS+AkDd+PZjg6W div5bpq9q1UJ5UltCH6AiP8Zu67dfxYrMjRAoCtlRH4P3bq9PRxzszLKaWCucwdIjOwU DqbEdTNpmm3ZqmJwRSUvIgFI3g66jLSJi1iTGGhWqIF+unp37CPvM3iTb2bru2XyEpLH S0N+2OxLhOwNpPAO1BISwUjySe9dhjTkRbS6j6rDJdSBzhgwuCEQclNwoF68GHrY2Wmm V6vg== 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=pyK2a3JCYRnVfR/kfIqrEPbO8MZRfEgD0/+0qht+9aQ=; b=0PX3ALdNVJ6f/IYCJHohUFOfShvRybjgHks8PZcUOPxCAq66tip8g+/2UW3wKND+mf 2kdlAJ+4jbY09qfms0ljL9dSwlkk1JbLiU7dk3DxsIXI/m+tllM5CzcIjk/3uwCCq0bq JFbk9CfMqCwk+EWzhkjonJFdTGuP2+50TchN2NdIDyswtF/gMlhB4pvn7HRrshJ+mYmQ ePwgGdd5WG0kHztFl3gEC0Gpijk8qMDt/yG9obTXB5xQuV9ZfRgEm9zhbx+zHMtPzcw1 OiLTdV6oTDecfvnLbY/qqRUdbkXDdyAyfTPGpxckoFQ4Hf4hBv4DmIdonCZnmgP6tGA4 jmzg== 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 1-v6si688031plt.148.2018.09.24.16.42.16; Mon, 24 Sep 2018 16:42:31 -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 S1728302AbeIYFqL (ORCPT + 99 others); Tue, 25 Sep 2018 01:46:11 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:34288 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727341AbeIYFqL (ORCPT ); Tue, 25 Sep 2018 01:46:11 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.2167136|-1;CH=blue;FP=7430822270164874673|1|1|14|0|-1|-1|-1;HT=e02c03305;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=19;RT=19;SR=0;TI=SMTPD_---.CvLxb5Z_1537832478; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CvLxb5Z_1537832478) by smtp.aliyun-inc.com(10.147.41.187); Tue, 25 Sep 2018 07:41:18 +0800 From: Guo Ren To: akpm@linux-foundation.org, arnd@arndb.de, daniel.lezcano@linaro.org, davem@davemloft.net, gregkh@linuxfoundation.org, jason@lakedaemon.net, marc.zyngier@arm.com, mark.rutland@arm.com, mchehab+samsung@kernel.org, peterz@infradead.org, robh@kernel.org, robh+dt@kernel.org, tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, devicetree@vger.kernel.org, green.hu@gmail.com, palmer@sifive.com, Guo Ren Subject: [PATCH V5 23/30] dt-bindings: interrupt-controller: C-SKY SMP intc Date: Tue, 25 Sep 2018 07:39:26 +0800 Message-Id: <57888913907d6c22b23425ed9d4e5a79be5b2eff.1537789737.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. 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..9cdad74 --- /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