Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1251887imm; Thu, 4 Oct 2018 10:26:23 -0700 (PDT) X-Google-Smtp-Source: ACcGV61JAhoHSC9pHtmCzUG4qQoY2y4GTBtx10OlyniLINaj2qRkUgppIC5hBH3ijEmNoTd3iORQ X-Received: by 2002:a63:7c1d:: with SMTP id x29-v6mr6563359pgc.273.1538673983638; Thu, 04 Oct 2018 10:26:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538673983; cv=none; d=google.com; s=arc-20160816; b=nrx+8J1jlum8FM4AN0m34X+nSsosVxLnK5r/q0C+2wf97uUqqSf259/IGrlZwhzBar 7RYepBJnZ6eZ2iEEo3VUzuAmBCck9NkWjLS8NebkEM739LNktScfK9jVvMjQQDMTUiuZ SvJnWeNwaeGM/9i/ciSH+OjCB5DhHnKmvayFsF9EuJfwGXtmmWtix9k6XfjmhPmQiTSa EnBTfjZYzuXn1mZWqdbJjAZVtWY3CuHc2o9e4oIWdA5GqyOcpV3pfaGho3ndwPBMarM1 QepWADfcbRxTw9GoYJNlQRCaR0y0ru0zar4YMtlQodPrHDQUaOffJ9x/YlLuQndqBrp9 M1eA== 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=gl0Zhrl76ns324bBzRXNJv5d53xN9cn1hkG93tyYIa0=; b=VBvX1CNWv4bB6GzNmuxBM6o0jCQeWX8rGy9EssMbEdm18PudAAH2Ymhp08sW1IGRSi 4fUhIzs2x+ThtupvWV0rGCDilK++osK/kz0ldzSKukxx/13iFOja9sfhWb5JZ1ofJrel gHMjFa4UE/DReTcStQRpKASmI9je6iRwZpubskhOxi+V3I/pRKFB0fnHWIYQchM3iEpC Lw6BLpOKrqYzEkUQ7P3AsF4CLuf/05zbIIi/+mC40jS7n99Hy9I73LIpez8KaYsY9wzH zecall6lwZ54SQiB410+6T8zI+tNvA5u1kIdexwMASaRS2mxsZf65aSwS4d7zyJDdPjw 9q9w== 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 d38-v6si5829282pla.422.2018.10.04.10.26.08; Thu, 04 Oct 2018 10:26:23 -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 S1727941AbeJEARP (ORCPT + 99 others); Thu, 4 Oct 2018 20:17:15 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:43924 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727443AbeJEARO (ORCPT ); Thu, 4 Oct 2018 20:17:14 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.2429236|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03312;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=17;RT=17;SR=0;TI=SMTPD_---.CzPi7fU_1538673757; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CzPi7fU_1538673757) by smtp.aliyun-inc.com(10.147.43.95); Fri, 05 Oct 2018 01:22:37 +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, anurup.m@huawei.com, Jonathan.Cameron@huawei.com, will.deacon@arm.com, zhangshaokun@hisilicon.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 V10 2/8] dt-bindings: interrupt-controller: C-SKY SMP intc Date: Fri, 5 Oct 2018 01:22:22 +0800 Message-Id: <22b6f2800b7f0d6ad1ac5b845b34fc9c924f019f.1538672812.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. Changelog: - Should be: '#interrupt-cells' not 'interrupt-cells' 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..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