Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp92295imm; Wed, 5 Sep 2018 19:25:23 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZa8w6hhkfLyzaydvkMV+rgd+CBVvmTENtCrwTL4TkHipGamZ8mZeCys/ad25q2xv+HRAh+ X-Received: by 2002:a63:1316:: with SMTP id i22-v6mr614723pgl.86.1536200722977; Wed, 05 Sep 2018 19:25:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536200722; cv=none; d=google.com; s=arc-20160816; b=lEDdmE37UFpm4ExnBnyaNDIF0EfnWwr7VaULJUvlRQzELwMFQMVSZyqohaZkML6ShY p02hZEgXw0q9gpOT/naeqL7t8qoAobQxNvNNesUOOn/3DbWlYacNfZyhNW0jhdUi/0vu QrEB2Kpo1Jo2FLGfonclnJM0fm3ITPmgMG6KT+q3ROT1jJzdJNUH3nMeg4m7a5GDwr0P B5rIqQ8uT5+M6IJpyqv0AfIDeJiWffpPgnqDFzr0SZ/N1D7SepqqHeOvF73ANNWBxUsn N7UUXws4WNWHi9ZVBIW/h6Lgg1lL+y2vbje3WXc1oXYcipg8T8esEXHGFjeunjl0tE2f qKgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=FfZNwuLHuKwh7J0HpYMDbEaofzUnEezr9yKrQtCKkeo=; b=UF4iJmMLJ2R09a7kV19Bqe+biI7hht0EjQgOJxiUIWkw867Zwzy8kN3+Jaoo+DIj+g ljqJYPkRc2tmGYSNpfaw6z8khri/IwNUZYkUngcQ+Sxties1oJqGE3TEPFXjHCjZb3h+ InwTTWbNvWodokbAEB6bFlL0+gB16nvnhHXty03C0Rv+60M5IQLIAoE4OItRzbm6VvYu dDyPV6dMSa4MuL1r7T+yIzrczdKcClCAK6klSRucQfz7/flxX5SZ5EEe6Cx/ZHnt3rrf 0q45DB0rYCMjJmmbqXbkaF55no3BxsxiHwCnX4ROb7dro8BMG1yJ9xUpI67o++71XyNH FfOQ== 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 p84-v6si3833674pfj.101.2018.09.05.19.25.06; Wed, 05 Sep 2018 19:25:22 -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 S1726252AbeIFG44 (ORCPT + 99 others); Thu, 6 Sep 2018 02:56:56 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:33600 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725885AbeIFG44 (ORCPT ); Thu, 6 Sep 2018 02:56:56 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.191543|-1;CH=blue;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03271;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=12;RT=12;SR=0;TI=SMTPD_---.Cn4qGIY_1536200602; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.Cn4qGIY_1536200602) by smtp.aliyun-inc.com(10.147.44.129); Thu, 06 Sep 2018 10:23:22 +0800 Date: Thu, 6 Sep 2018 10:23:22 +0800 From: Guo Ren To: Rob Herring Cc: linux-arch@vger.kernel.org, Linux Kernel Mailing List , Thomas Gleixner , Daniel Lezcano , Jason Cooper , Arnd Bergmann , c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, thomas.petazzoni@bootlin.com, wbx@uclibc-ng.org, Greentime Hu Subject: Re: [PATCH V3 22/26] dt-bindings: interrupt-controller: C-SKY SMP intc Message-ID: <20180906022322.GA30251@guoren-Inspiron-7460> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 05, 2018 at 07:45:12PM -0500, Rob Herring wrote: > On Wed, Sep 5, 2018 at 7:09 AM Guo Ren wrote: > > > > 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. > > How is it accessed? No mmio registers? Mmio reg base is got from cpu-coprocessor register and I'll detail it here in next version patch. csky_mpintc_init(struct device_node *node, struct device_node *parent) { ... INTCG_base = ioremap(mfcr("cr<31, 14>"), INTC_SIZE);