Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1579112imm; Wed, 19 Sep 2018 22:40:26 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZHlMx1OI+5anMtd9ozTbQTvRMZPYldBO99V/9LWDH3GLDkNZh2afFL3k9Qao0jlQtmZCMG X-Received: by 2002:a17:902:4401:: with SMTP id k1-v6mr36444503pld.97.1537422026413; Wed, 19 Sep 2018 22:40:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537422026; cv=none; d=google.com; s=arc-20160816; b=Gdy6WgAnLYkqBiE7cbxIsKmkDHuseQmGA/EojITcUOzQTEa5EUisUrDmhZQWhsA+w2 4na/dyzq7nwkC9FenBWah15SykSha7xp7r8f7Wg6h8k/3VOSXANzyGqEJ/DO+bJS20oI rtAnSX2YhLscKj+DrxJfn/6cWNoBfgRG3ZZY6oAHOPywGFVtJPAr6readQFKW4n5eM1h mZOcXTzRvE0N00QQaGWSN81Ubp3a78xutnD7G9E2QpBYW59BatWmvymxJ7CwMhsow6X9 u5FFo7++UN3plEEr5/8C480rx3b2KvBNSCkKppqEeOu5vg6vgGs4tr/eSZYfGpDxgsa0 rGGA== 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=eWpNH0j4N/3AFCmc72Yzwf0V0qU8n2PgAzPJ7bqifwyKSJ7HVI6s5YM39G/FW4IwlE f9saRFshflAe4Ni5btHddNpxgKuOxcSj7cpJfg/2cR0m2E3uFQa6gvLgWOYOPxmjfeTr zmGxDS//LXdHyUk0O/AFItQoodeEfsOUQUuEs4ywEEMtQEN+dPJ9OUaNwZ0PaA1DOaNh 5rBSblf8+Csb8FYB1Qzz0IK7uDisw0p14tNmvrkmFfJesSfmRwWaBn/8PrrK7Ft2W4/o 1VcSG0AGjA2QsOSCci0P404iZYLfMyYP+xLfb85W0i86X+XkmKa+9EtcJJrcZy8doseT y8lQ== 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 88-v6si25411217plc.515.2018.09.19.22.40.11; Wed, 19 Sep 2018 22:40:26 -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 S1731624AbeITLVh (ORCPT + 99 others); Thu, 20 Sep 2018 07:21:37 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:53450 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726994AbeITLVg (ORCPT ); Thu, 20 Sep 2018 07:21:36 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.2257859|-1;CH=green;FP=7430822270164874737|1|1|1|0|-1|-1|-1;HT=e01l07447;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=15;RT=15;SR=0;TI=SMTPD_---.CtH7ldz_1537421986; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CtH7ldz_1537421986) by smtp.aliyun-inc.com(10.147.41.143); Thu, 20 Sep 2018 13:39:46 +0800 From: Guo Ren To: tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, robh+dt@kernel.org, mark.rutland@arm.com, arnd@arndb.de, robh@kernel.org, sfr@canb.auug.org.au Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arch@vger.kernel.org, c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, green.hu@gmail.com, Guo Ren Subject: [PATCH V8 4/6] dt-bindings: interrupt-controller: C-SKY SMP intc Date: Thu, 20 Sep 2018 13:39:30 +0800 Message-Id: <57888913907d6c22b23425ed9d4e5a79be5b2eff.1537417413.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