Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5465702imm; Wed, 12 Sep 2018 06:28:06 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda1unuI3M6wqNhr9W0Ey55rtI5IkkilG9TaClB+A5xVWw6Q0vyytvN4EKqqN3a4Tkfo4Azt X-Received: by 2002:a63:eb53:: with SMTP id b19-v6mr2310596pgk.371.1536758886252; Wed, 12 Sep 2018 06:28:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536758886; cv=none; d=google.com; s=arc-20160816; b=awAJjglnptL8N5vIOiNXh7b9acFiv7Ini8g/J3lUU3mxukisWGl6a8/5C3soYXRykY AN7zfoOdHgVpjdqWnPbcPkeLc8/5f+6k33XPT1fV6EHgLeDGPKA2PXJ/x6bCYztI6YBb Myo1DOmwZdp9OJDQ8xO7HtxiGWYca1IPNcPOyRrgiLBB05MbpGN9YN/m5oWkOMVbaY2b HJOZw847jzrrsnNvx12EEyBSOoQ60GFNvL71l3ZIiuDQXduciUSedHb3H+AzQdwlG1k2 +RMUkQpArKilxBIAUTZ0m6vjx0YGmmgzFgLLXrf0bafqB9J/nYYWgy5lpPKZV5N02oA5 dzpQ== 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=IKlnNF3vx9Uo12LB92SRj6tiamVHmrPb8yMVqqlybnNfMA8AIJFTIgTzFxetxDThsl EnT86JsShd2h8kdZLu3GHvkTWlOIGsBtXc2KlxN1bWn1iVkK6oFB+b/P90tIFbTLzLlu lI9IwCMNG+aOnnBmd0mC9r1Xz/QJW5jl0kmQNk7VzDoxuoxvfopLocEHevLqx6bC0gqe OaqM5amboKOW2jmBeGHdH2jfc5ffGkiUFZaeVIAjFhO3S5cqxuN+Lx6Ai1nhmcwLxbk8 UbzFt/6SOQaAHtrwoJcaZTA6Qw+76RoUEBASSGUY9QVcg1i9T1qFRTLtnWXr0thlix+l YcVA== 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 z13-v6si860480pgk.127.2018.09.12.06.27.38; Wed, 12 Sep 2018 06:28:06 -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 S1728267AbeILSaZ (ORCPT + 99 others); Wed, 12 Sep 2018 14:30:25 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:39086 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728215AbeILSaY (ORCPT ); Wed, 12 Sep 2018 14:30:24 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.2158719|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03311;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=15;RT=15;SR=0;TI=SMTPD_---.CpveTkH_1536758719; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CpveTkH_1536758719) by smtp.aliyun-inc.com(10.147.41.187); Wed, 12 Sep 2018 21:25:19 +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, devicetree@vger.kernel.org, andrea.parri@amarulasolutions.com, peterz@infradead.org 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/27] dt-bindings: interrupt-controller: C-SKY SMP intc Date: Wed, 12 Sep 2018 21:24:56 +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