Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5258983imm; Tue, 18 Sep 2018 06:51:41 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbhiHM4zh2ppOZMWfq46Dn0gUHP5qaSjRDwOjyjQRoa9zJ0Nm8ztG0RHPLhwv76N1YwJoUC X-Received: by 2002:a62:5882:: with SMTP id m124-v6mr31049767pfb.249.1537278701046; Tue, 18 Sep 2018 06:51:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537278701; cv=none; d=google.com; s=arc-20160816; b=tpaWLzYf3sJ+Ur7un2bbQZWtFi7dI/FczNU0kch259kFnmYH+bBMScHKLtxhczhIX8 CZBz+6GoPSnOx7V0XrkuXJE3F5d4NXxjI5+AvuCNcbdw3V8Wm0yckRH+Hz33ooOylVy+ 7if4DkZBJ7Ldq+3m7etzocpzJsryKUe5mpcvh30FS71El5/l8JChhMz3qUJDSq1DBxcz boq3QTubHT9O6GB56qZuPiAzTnRwGNhQinfnN3tCk0owYaGzxH676reljc06MTynszFK NCrZODdBRY7eOk3+OvfTJRRTLb2gabwl7s6z1Wexq5IklXnB5ycj6nFtMEBiuwT6XeQ2 leVA== 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=H4H8+XGq5+pos+eJc+ydvR8/ntOvXiP3zEIS1N5ghxs=; b=NW68IF5aEW0aMP2gMnA0mBpuDUM/o7mT4udwIwaN4BcBdcGvB18kk18u+BkbGj/Exj jYDe0/MprSghRY0KdcnP4174CrFebLOTJdfsZa+5MeUgGiGOMCw98M4Hih17Ecm01Eh1 ULbcGdZ+vcfyNQ7sJkuWYEb5UZ9adztIt9G+HoHvqDxiOnfsNXcurcY1k6IHwYkEDMj1 8jefR89rAvx2lnZOFvhOfyWU/2W3jBTyUfpsLTTxNj2iFoNeAeB9isBSKCmycy/mP03P uUOHsflH7D5uiCja9Xp34wBe+9svwLQ24deBQcW8Nezaj7rK0/GbnLd6wm4XmDuL1XeO vWIQ== 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 f127-v6si20143778pfb.290.2018.09.18.06.51.25; Tue, 18 Sep 2018 06:51:41 -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 S1729969AbeIRTWc (ORCPT + 99 others); Tue, 18 Sep 2018 15:22:32 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:33554 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729767AbeIRTWc (ORCPT ); Tue, 18 Sep 2018 15:22:32 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.2188698|-1;CH=green;FP=7430822270164891121|1|1|1|0|-1|-1|-1;HT=e02c03293;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=15;RT=15;SR=0;TI=SMTPD_---.CsTftdC_1537278575; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CsTftdC_1537278575) by smtp.aliyun-inc.com(10.147.40.233); Tue, 18 Sep 2018 21:49:35 +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 V7 2/2] dt-bindings: interrupt-controller: C-SKY SMP intc Date: Tue, 18 Sep 2018 21:49:31 +0800 Message-Id: <13050060820af4dc960dfb7fd02d424bcfb2ad67.1537276562.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..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