Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3728150imm; Wed, 5 Sep 2018 05:11:19 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY9UTSzUN2N+NxJU8wg7tTsNsu7QbEd37w8kJ638L2GJbr529gykgvfbgglHwo0zouPc5Gw X-Received: by 2002:a63:5fc8:: with SMTP id t191-v6mr36340389pgb.183.1536149479442; Wed, 05 Sep 2018 05:11:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536149479; cv=none; d=google.com; s=arc-20160816; b=UJwvpmFyhRx3qYL0BoyaMSy4qT5kkHultxqylX3Lri3NReZ0d/lP6wWmzN91IZ10C6 Co/a0FU5G6kkoF8dCqRQyZdioEJtWs65Gmyu18tJM+UwlBWeNLRQmY1BCD2K70Smgx1V HAp/rl+DjFtKZig5TM6k9sInkiSgxbKkLUq17N6E4PZuwv9xPqkSnHgBH7t3wrw80pfn iYWxbeogxxiyDcrYjfnKKHdvwkTk/IhNas1PYCYzKE3+/a1ySLrA3CKSsWgZWsgjds6e 6lyOrvdKFrrBx5MDy9KDagflPFmtBbuRGQhwKYfKUSwtd/8ePH4q+FS7Q/6q1vM0f1/F 3Qcg== 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=TuXNzeOqErZWbqypmlDEvWKAq8z4XfMyR/OmUfV3v98=; b=Qn4EJJUx3r/5s4GNfq/t+T/6Lc4o5gXsmJ62HPPWXnpJDKdc6wv3RjIA0bu5MJYON2 Wi9DND6SpBCfq54EuNaTb8yyJtVqqxsFWDJD2KQaJ4Rb8Qxu10HjKeIdz/HkWJ0GppxN JWhMzlVszyVXpf12OIbOQPcmd7XIc7ovGPg5u/jipF6hMSirO6zpBzpG3G10SKRqUdWX G8nmqAv7YdRcjuVFGIo6e1iiIxmgK2STMCReQWzV/0PNTMowE2ziCom43dLnTQwF+Nct EnfXHDJsN5WjjHQewTBEXp2VA1oyLG1bXKa4lsYP/X8BtDr8gIfdHFvZjVX6EJlGJ+az 3leA== 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 g6-v6si1827615plp.225.2018.09.05.05.11.04; Wed, 05 Sep 2018 05:11:19 -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 S1728135AbeIEQjG (ORCPT + 99 others); Wed, 5 Sep 2018 12:39:06 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:60844 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727997AbeIEQjF (ORCPT ); Wed, 5 Sep 2018 12:39:05 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.2158719|-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=12;RT=12;SR=0;TI=SMTPD_---.CmssqRN_1536149310; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CmssqRN_1536149310) by smtp.aliyun-inc.com(10.147.41.158); Wed, 05 Sep 2018 20:08:30 +0800 From: Guo Ren To: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, daniel.lezcano@linaro.org, jason@lakedaemon.net, arnd@arndb.de Cc: c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, thomas.petazzoni@bootlin.com, wbx@uclibc-ng.org, ren_guo@c-sky.com, green.hu@gmail.com Subject: [PATCH V3 22/26] dt-bindings: interrupt-controller: C-SKY SMP intc Date: Wed, 5 Sep 2018 20:08:01 +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 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..49d1658 --- /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