Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2260276imm; Thu, 27 Sep 2018 09:51:34 -0700 (PDT) X-Google-Smtp-Source: ACcGV63MufMwmr7KraZ7/c8icyyqgO2s2ciAC0ygm1r4GuS6zY1z+vdXUoOjvKpTTZYZXV6mFBjr X-Received: by 2002:a17:902:7449:: with SMTP id e9-v6mr12243131plt.255.1538067094754; Thu, 27 Sep 2018 09:51:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538067094; cv=none; d=google.com; s=arc-20160816; b=sxhmv6dCi65GSPiZQfOTCCRHND0yC6jWl5WiF5TDNoWXeqsaR8eFTlqdjZGFj6V8d3 DPn2Qvo50B078ak2jykLR6CWQxoNKMQvb9L8JTAbMPcQ/M3cNn5u5zdNZ2oJHtNMouAQ vwP7oghOkEPC6e1gkG34bS/ijS9nu9aML8GYZXQJBhcagG1MoytFdthfYr50dapsOFuU jpWQZ8A81IL61Ortyw7B8fnLeSsNH4ODeykHweQi1JzhSE1a8unp9Y2SDID/tdj5r3Ag 2rX43P0p+HxmAGKor9xEmeZosnAnZMNma7M9D/q9g2Ff8+CLHye5fbbu0K50wOUDfyXh kMPg== 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=6JhdMYkak22rjNvI7ad9QfKyCJ9N02xgNk3y6DiXF3Y=; b=IavJFGEBdhwI1utePbx8bTdmk74w5N87GXcII9zaASUvgchTEAMgv8+Y9lQ6jPvzEr EA6XD98ya1QVpeeoYMh1HrOkcF4f7bNs/GRBMAp0K11AwlCP+B/2cP1APqLyCh2pOeLH VWcAfTMSScv3avmKv9oCIm1OAeloAZPtHMclRIrYnas7ayjZuPqty+Sokr2LAIPhWidZ yrnS7Hz+TCtEEUl3bZ83K0EfrcalM945CzHQm603z6g8eaFQyRzT2LQmmh5ccvryeX+1 ExAryvy/caz9/Zin570CDT5FtaJu4CMnfieZ7M9BORd7L88nOVV/W7ihCw7hGQog1XIz AwIQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c191-v6si1133410pga.402.2018.09.27.09.51.10; Thu, 27 Sep 2018 09:51:34 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728301AbeI0XJz (ORCPT + 99 others); Thu, 27 Sep 2018 19:09:55 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:38171 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727320AbeI0XJz (ORCPT ); Thu, 27 Sep 2018 19:09:55 -0400 Received: by mail-ot1-f68.google.com with SMTP id h15-v6so3239624otj.5; Thu, 27 Sep 2018 09:50:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=6JhdMYkak22rjNvI7ad9QfKyCJ9N02xgNk3y6DiXF3Y=; b=SWaaDYWgtTRUHPGp84HJF30kHXUto07zEwMCdbe0NuvOFuQ1L1QjCzGbTsjP6cUY0k vJ1v/IkpT3WvXcDZqsotvdFBN8LcgZu5dfZz9bKydLHTCqU+cF0+aTg7W/CVYQbUhUVz hmsrWEB5mDi83sCYRMw5e5vs416UUSqZmP37IyVt6j8yIwtXX6FqNQkyu8WxYTauJp7j GuKbv5+OoPYfMZzIXZdcW4RGXRMsQA04CBRa5mAskQfRm1AuyWKr+rYvyVObSm4nZc4i lbT8jQ1X9mrGb5ezVnVoR29vH8ICwqf/NADZlSXWBUukr8nQ6mYoo0aUQ8h23emBeeRe Vu+A== X-Gm-Message-State: ABuFfoiTOO2/G38z1S7CO+43Rx/dyBDC6WLr6dxoXmQrCvyXisL8KocV qvttGLZC5hK8TCueVHm7UQ== X-Received: by 2002:a9d:2be8:: with SMTP id u95-v6mr7369360ota.280.1538067045914; Thu, 27 Sep 2018 09:50:45 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id q15-v6sm761425otl.43.2018.09.27.09.50.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Sep 2018 09:50:45 -0700 (PDT) Date: Thu, 27 Sep 2018 11:50:44 -0500 From: Rob Herring To: Guo Ren Cc: akpm@linux-foundation.org, arnd@arndb.de, daniel.lezcano@linaro.org, davem@davemloft.net, gregkh@linuxfoundation.org, jason@lakedaemon.net, marc.zyngier@arm.com, mark.rutland@arm.com, mchehab+samsung@kernel.org, peterz@infradead.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, devicetree@vger.kernel.org, green.hu@gmail.com, palmer@sifive.com Subject: Re: [PATCH V5 23/30] dt-bindings: interrupt-controller: C-SKY SMP intc Message-ID: <20180927165044.GA30320@bogus> References: <57888913907d6c22b23425ed9d4e5a79be5b2eff.1537789737.git.ren_guo@c-sky.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57888913907d6c22b23425ed9d4e5a79be5b2eff.1537789737.git.ren_guo@c-sky.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 25, 2018 at 07:39:26AM +0800, Guo Ren wrote: > - 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..9cdad74 > --- /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" Only 1 version? This is fine for a fallback, but you should have an SoC specific compatible too in case there are any SoC specific errata/quirks. > + - interrupt-cells Should be: #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 >