Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3608133imm; Sun, 16 Sep 2018 23:24:29 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaL7LiefB4Gk4VwWrCzN4exUZqk99xgL0hjtnCNMHAO6uvoIfs+f0WuyUqTEEYozvUkqDfi X-Received: by 2002:a62:cd3:: with SMTP id 80-v6mr24689430pfm.184.1537165469120; Sun, 16 Sep 2018 23:24:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537165469; cv=none; d=google.com; s=arc-20160816; b=fGaLcpVULXXR2aEZpDtvQoEL7mZxC5bKCyG2/+Is2eCxsGjRMtqcmQOyLqmhiaSzMw gCvQtd7wfNEhpGVsYa5blkqmpRFWHnclzoAE6xuaAZShwTw2NRXujb5PwNcmfFovSjmX eBLxRolUhgZ51OyJUMfcblTNbb/ljYX6bp6ySMZoWVf78g5Bc+0bh/Kh5ZJGLXMCzcAE JiTG2ZjpiMnaA0d7Ad7tp/o2ArfDCKUVtqbYhC76c+1qL+xjhQmc2OPX6qNhpRhK0Ofq xwxjrAag/wnSm+CGpUs0zpNs3WM188Dx2l+2VfV/sKcI/m+UiPc0/G5mwvCUalon3gvN ypDA== 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=dSxjTum8wfTtXUQOOSIitCo9anmdohRMwlt1aHxfL/o=; b=tcEhe0Zmrm5MoZFniCn0d4Yk2hicUFxFpQaLfPzWW+IrFRSyqz9Nk0La1VV2GESCEt wxK1o4iHiqVyn/9G4tjRB7kSB/1FIuPKTsLpg9bXFC8psRs+1g/2Z5uA5ghQbUGYoT3z 8xoXU6iuq2yZr0ThCSZon0+C7e3kSDJ8lo57XL4qwzWwrEOdlWCrrGmTBp+g9q+3PK5v LTsTlafUgcI1JsnqZFL/xBXMpB+6UI3xiixrJKwdNLUfQDOStzka99yKXzyxz7MfvFdg T49N/Ohmad5lnDN/SoT3ByA4KUXhx9//RGMyZv8QHVQ3iyDtGCT+4HPTwDAzBQLe3ieR yUNA== 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 p3-v6si14415113pld.329.2018.09.16.23.24.14; Sun, 16 Sep 2018 23:24:29 -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 S1728315AbeIQLtd (ORCPT + 99 others); Mon, 17 Sep 2018 07:49:33 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:32802 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726075AbeIQLtd (ORCPT ); Mon, 17 Sep 2018 07:49:33 -0400 Received: by mail-it0-f65.google.com with SMTP id j198-v6so10224146ita.0; Sun, 16 Sep 2018 23:23:38 -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=dSxjTum8wfTtXUQOOSIitCo9anmdohRMwlt1aHxfL/o=; b=IlmN0lQXwVELAHWZZkuRcbjt6xLhjJa9FOPRsdAfA98xE/bA8liwztNhWKB6A6+6yT aB0TvPAefUPbnUcAKR8lhDK1ZExSCIW7U/wxTGB4EMHCk+CVw626J0Bm2Z5OvKkf9U46 e1c2+1u4dHffXFi8MjswuuxTKwfCPOSAF9iA8QT9EEnO0weL2JZWp9oHEv9G3PE641Ei MQasH/aigyTYghxNNhQst2e9F1W4CsuQbLFR/PT1yfjEYULUXSyFnaYREPS4UIXdVemd 0eiVu8PJfkNu9xIUsVwIiOAFoUXzaoagiD8SQrJUrZJ6VjxTtSDuD36qDM929g30Gnjt P2hw== X-Gm-Message-State: APzg51DujchFBYMAxMjcuSPV1sb+T760kVX5/PP8GrTthWRgRVOw+983 qxdxoEeRdXxFjC0tyn96+A== X-Received: by 2002:a24:be8f:: with SMTP id i137-v6mr11583443itf.113.1537165417733; Sun, 16 Sep 2018 23:23:37 -0700 (PDT) Received: from localhost ([209.82.80.116]) by smtp.gmail.com with ESMTPSA id i2-v6sm4549144ioh.80.2018.09.16.23.23.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 16 Sep 2018 23:23:37 -0700 (PDT) Date: Mon, 17 Sep 2018 02:23:36 -0400 From: Rob Herring To: Guo Ren 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: <20180917062336.GA20555@bogus> References: <162f7f98697cd9d806a1a843c6177bb943ea2b33.1537087118.git.ren_guo@c-sky.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <162f7f98697cd9d806a1a843c6177bb943ea2b33.1537087118.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 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? > + > +============================= > +intc node bindings definition > +============================= > + > + Description: Describes APB interrupt controller > + > + PROPERTIES > + > + - compatible > + Usage: required > + Value type: > + Definition: must be "csky,apb-intc" > + "csky,dual-apb-intc" > + "csky,gx6605s-intc" > + - #interrupt-cells > + Usage: required > + Value type: > + Definition: must be <1> > + - reg > + Usage: required > + Value type: > + Definition: in soc from cpu view > + - interrupt-controller: > + Usage: required > + - support-pulse-signal: > + Usage: select > + Description: to support pulse signal flag What is this for? > + > +Examples: > +--------- > + > + intc: interrupt-controller@500000 { > + compatible = "csky,apb-intc"; > + #interrupt-cells = <1>; > + reg = <0x00500000 0x400>; > + interrupt-controller; > + }; > + > + intc: interrupt-controller@500000 { > + compatible = "csky,apb-intc"; > + #interrupt-cells = <1>; > + reg = <0x00500000 0x400>; > + interrupt-controller; > + support-pulse-signal; > + }; Not really worth 2 examples for just 1 property difference. > + > + intc: interrupt-controller@500000 { > + compatible = "csky,dual-apb-intc"; > + #interrupt-cells = <1>; > + reg = <0x00500000 0x400>; > + interrupt-controller; > + }; > + > + intc: interrupt-controller@500000 { > + compatible = "csky,gx6605s-intc"; > + #interrupt-cells = <1>; > + reg = <0x00500000 0x400>; > + interrupt-controller; > + }; > -- > 2.7.4 >