Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3706527imm; Mon, 17 Sep 2018 01:38:34 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbClOZ5iaiz7Ms01h5EO6u+HsXBQuBqaYGudw65TC68G4i94Te0y7GcLJdo43ZxjstZIXDg X-Received: by 2002:a17:902:5501:: with SMTP id f1-v6mr23552172pli.219.1537173514170; Mon, 17 Sep 2018 01:38:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537173514; cv=none; d=google.com; s=arc-20160816; b=dFRmje1bmLF18ql4ltZl5d6dwwR7nNjhrEoOILDf+ZM0maWrLpN3MGXKQlCTwTG8kD PaF6aBBbQmX0b1hidVGBPZKTi4Bwb8SFuaOrd1jcfSsVDsR1eeooKX3wfmWmUJ8be57v 3DTa8bbteEi93bXYYTPWNrDnjjlVoOAn0S8Zr9CfU3PsXroZ3Sig/1eciNo1gNWsTqZO cRg1J5dLsEHxA4aIlXlkYuvYhgxBra2inC1RWD5Rc6Q3RMuZZTYVN+zHdvZXXLZlwf8/ VAa0jf6IsMP89IQI3p6/a/qQ7ysd7fYo2I9MNaUgEmz1cq9g1NrvIYTqzwHCg8LXIt8u 5Zmg== 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=YcIgoc0+0Amq8Ci97NZ43uCEMtIsqZaEkrJJHY7ApZE=; b=a4ZoUSmEGHL76f3RYO1WR0nOV5dPOyyxaAQ1my8BVUXHokt26iG7GgkeyQQyvFLk3/ iMvs1IH59nW+PrniAoFza2q3tp3RgXTuUtyIJzNVGlxx89Wi1c6rKXAUBCZiS7iFL2m+ fXRiNTm3Kw/RWzmSdB2SutjLYHgMaAcU60NOtzh8GvnrVKSXqKQqg8HFFkEw162Jgeb4 XCsrd3PKzkRdOxLI5mzObO/ZHhzA5KyzO/RwCbWAEJElRbnxzk3KEly5oz93AqfZB+AI Y6B5DwW+xbNKgKAADNwA0frdi64jgk01Xw6jMaijjPrARGEdvqvKaS/5Qg7y04sxVNuM Ob0g== 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 d16-v6si14784179pfe.267.2018.09.17.01.38.18; Mon, 17 Sep 2018 01:38: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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728187AbeIQODR (ORCPT + 99 others); Mon, 17 Sep 2018 10:03:17 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:54240 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727166AbeIQODR (ORCPT ); Mon, 17 Sep 2018 10:03:17 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.07658547|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03298;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=7;RT=7;SR=0;TI=SMTPD_---.Cruj.ud_1537173385; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.Cruj.ud_1537173385) by smtp.aliyun-inc.com(10.147.43.230); Mon, 17 Sep 2018 16:36:25 +0800 Date: Mon, 17 Sep 2018 16:36:25 +0800 From: Guo Ren To: Rob Herring Cc: tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, mark.rutland@arm.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH V5 2/3] dt-bindings: interrupt-controller: C-SKY APB intc Message-ID: <20180917083623.GA1069@guoren> References: <162f7f98697cd9d806a1a843c6177bb943ea2b33.1537087118.git.ren_guo@c-sky.com> <20180917062336.GA20555@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180917062336.GA20555@bogus> 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 Mon, Sep 17, 2018 at 02:23:36AM -0400, Rob Herring wrote: > On Sun, Sep 16, 2018 at 04:50:03PM +0800, Guo Ren wrote: > > Signed-off-by: Guo Ren > > Needs a commit description. > > > --- > > .../interrupt-controller/csky,apb-intc.txt | 70 ++++++++++++++++++++++ > > 1 file changed, 70 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt > > > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt > > new file mode 100644 > > index 0000000..be7c3d1 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt > > @@ -0,0 +1,70 @@ > > +============================== > > +C-SKY APB Interrupt Controller > > +============================== > > + > > +C-SKY APB Interrupt Controller is a simple soc interrupt controller > > +on the apb bus and we only use it as root irq controller. > > + > > + - csky,apb-intc is used in a lot of csky fpgas and socs, it support 64 irq nums. > > + - csky,dual-apb-intc consists of 2 apb-intc and 128 irq nums supported. > > + - csky,gx6605s-intc is gx6605s soc internal irq interrupt controller, 64 irq nums. > > Is there a relationship between csky,gx6605s-intc and csky,apb-intc? They all use pending register to get irq num and use enable register to mask/unmask. > > + - support-pulse-signal: > > + Usage: select > > + Description: to support pulse signal flag > > What is this for? This is a level-triger interrupt controller at first, but we want it to support pulse signal. It means that when the pulse signal coming, the pending register will hold signals without clear the IFR reg. Some C-SKY cpu's socs need this feature to support pulse interrupt signal. > > + intc: interrupt-controller@500000 { > > + compatible = "csky,apb-intc"; > > + #interrupt-cells = <1>; > > + reg = <0x00500000 0x400>; > > + interrupt-controller; > > + }; > Not really worth 2 examples for just 1 property difference. Ok. I'll retain the above, because only a few socs use support-pulse-signal.