Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5228873imm; Tue, 16 Oct 2018 07:11:13 -0700 (PDT) X-Google-Smtp-Source: ACcGV62UXk98V+OkJD2Uwa/hflb7fz1PTLdxg5AnT6mjdv6XmJ7gBwxUC889cMff5vkXBbF2+hCx X-Received: by 2002:a62:8f:: with SMTP id 137-v6mr22122681pfa.24.1539699073793; Tue, 16 Oct 2018 07:11:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539699073; cv=none; d=google.com; s=arc-20160816; b=DqPLVkWNbbV2eh2f25K3biWq0JQ18RR6zloUXXR+6ujky1g4tcGmbk8FMEiMy7rnJS 7VNNQP0F7sajsmyuIy1siNzMC3YqeNCvPaLU6YQuVupsrqUoLpH996ovh2QegoKGglHp 1MnwP03p5ADBk3jrq04iKrfXM5NuXDfp9s/srLFgyhmQa/S+kMGDFeKEZopDLz2aSAp9 MSOfs0+0fhbxNMn7/kHb+VNyHHZWi06Y9bYS522ijc30NtGenStnEt8nInBdlqmgaAjM TgGmU8hgPU4U8DUECxLIf4gl2GHN8CIrI1I5+TXql1Yd/oyJGF7EI/0q41XE39VgwiAd yoQA== 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=2ln1BJvFOxULSQHMuywIKLSrAXEgukUdhiFXBsZnNrs=; b=XQy43a9krAZjwkDTCI1yP0PgFFubvdFq7fPJvm8+MM6hWIXwTv61CIAkXjtSd/QFwo CQKaEHAjjUxCbIcrePjqkL5DsMyFC3tVtw4Oz84cRfwdqcRhb0WHrZiCjBJMX/A7aOOj Vs4y4k6Qu/pBxlgQjZmwGg60wYdirvJjQmoDZF3Y8dM42Q+zugN0NtLL96ADMHrKTbrE SaFnCiFyM5EpRJOOUJIYTAicJtSrxhm6GgMRN5/IQkV5CNNj4X/Nn8B//JkQ00lBH1ZQ vSfYYzjZnSrj6ksIFvQOZtTlDxM6w7rC67cKlxdQ08Q2fiYqSJ+iCwXa2xz00+LdJYxo T4jg== 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 e5-v6si15711170pln.190.2018.10.16.07.10.57; Tue, 16 Oct 2018 07:11:13 -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 S1727274AbeJPWAv (ORCPT + 99 others); Tue, 16 Oct 2018 18:00:51 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:42682 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726978AbeJPWAv (ORCPT ); Tue, 16 Oct 2018 18:00:51 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.2424168|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03290;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=14;RT=14;SR=0;TI=SMTPD_---.D2v0p5a_1539698959; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.D2v0p5a_1539698959) by smtp.aliyun-inc.com(10.147.41.121); Tue, 16 Oct 2018 22:09:20 +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, will.deacon@arm.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 V13 2/4] dt-bindings: interrupt-controller: C-SKY SMP intc Date: Tue, 16 Oct 2018 22:08:20 +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 Dt-bindings doc about C-SKY Multi-processors interrupt controller. Changelog: - Should be: '#interrupt-cells' not 'interrupt-cells' Signed-off-by: Guo Ren Reviewed-by: Rob Herring --- .../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