Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2425480yba; Fri, 10 May 2019 11:15:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqw3HvC+tPZRzrWKGpB0wHOfL92Jzpj6b7nPigW3QnZOGpRYrlugJdiNt0cGupNzQ7/T6ZZe X-Received: by 2002:a63:2ace:: with SMTP id q197mr15486666pgq.371.1557512153968; Fri, 10 May 2019 11:15:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557512153; cv=none; d=google.com; s=arc-20160816; b=QDdCbjx9K82sW2tbFdpnD1lcB0Bz1ERfJ7H421DUzb3m18DTjlTqZT3TNwyOs6i8jH nPl8aaGrdPEozy8UKYXkffrNOKFuPfJFpQL+xlggjaCy6x0DLcl8519OnQvGV1e+Qrr3 BMPw9rA6qpblD7Khf6k0VxhnOfCXv5Jbs+SIgYos3MFX+qeITaIgIG3VtC7s97ixEgU+ 6HvbPQoyndKCiSazTscsCg6dpBZiaBtbjAHpnc7NreGlD9g9lcfRBg0mr+uA10NPevVz dInlidgX7YAxx44SBQjyfW82Du0MI8vYtuE833usPT08u3Xn2PwKzP5nAp/DKWMN+E/0 1W7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:organization:user-agent :references:in-reply-to:subject:cc:to:from:message-id:date; bh=WaQ2ttX2QeJbTHrf4dpBcYPsx2ZwGv3q8xlfbpg72/c=; b=yZ+2XtlohHsZv2ScUyLJuDsAPMg8AvSv3ez0aAV4nniKl4/iGSFeh8JvHSRAgLamWj EpgrepObYqdcU/PA9/R1WuUbmXztO7GuABpp8yGjFUyFr4SW7skyQ3M9Ge1Yf2/Tsrd4 Dr3Hswh+XUURYykL2sx3jSobBKNPKpBuFklkEN1DL04Yj2HpNQV+hzgppHgualpMMWDR YMVTiZcGy30tRJQhYeiD1l4HvjKr0twSroCofNWBwy7GuxgIuMIW6rXk5/MZLIMloJqC M/RYHyqaW5kN1Tash8egLUU43QcnUE+LLL3slom689IR1SStj0i5NCGQSEDu8tomWpkz vvfw== 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 v1si8155986plp.26.2019.05.10.11.15.37; Fri, 10 May 2019 11:15:53 -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 S1727806AbfEJSBi (ORCPT + 99 others); Fri, 10 May 2019 14:01:38 -0400 Received: from foss.arm.com ([217.140.101.70]:54390 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727383AbfEJSBi (ORCPT ); Fri, 10 May 2019 14:01:38 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E9A1DA78; Fri, 10 May 2019 11:01:37 -0700 (PDT) Received: from big-swifty.misterjones.org (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 906F33F6C4; Fri, 10 May 2019 11:01:36 -0700 (PDT) Date: Fri, 10 May 2019 19:01:19 +0100 Message-ID: <86sgtmchow.wl-marc.zyngier@arm.com> From: Marc Zyngier To: Guo Ren Cc: tglx@linutronix.de, robh+dt@kernel.org, linux-kernel@vger.kernel.org, Guo Ren Subject: Re: [PATCH V2 5/7] dt-bindings: interrupt-controller: Update csky mpintc In-Reply-To: <20190510083546.GA27608@guoren-Inspiron-7460> References: <1550455483-11710-1-git-send-email-guoren@kernel.org> <1550455483-11710-5-git-send-email-guoren@kernel.org> <20190218142845.4ad56ec0@why.wild-wind.fr.eu.org> <20190510083546.GA27608@guoren-Inspiron-7460> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 EasyPG/1.0.0 Emacs/26 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) Organization: ARM Ltd MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 10 May 2019 09:57:54 +0100, Guo Ren wrote: > > Thx Marc, > > On Mon, Feb 18, 2019 at 02:28:45PM +0000, Marc Zyngier wrote: > > On Mon, 18 Feb 2019 10:04:41 +0800 > > guoren@kernel.org wrote: > > > > > From: Guo Ren > > > > > > Add trigger type and priority setting for csky,mpintc. > > > > > > Changelog: > > > - change #interrupt-cells to <3> > > > > > > Signed-off-by: Guo Ren > > > Cc: Marc Zyngier > > > Cc: Rob Herring > > > --- > > > .../bindings/interrupt-controller/csky,mpintc.txt | 21 +++++++++++++++++---- > > > 1 file changed, 17 insertions(+), 4 deletions(-) > > > > > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt b/Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt > > > index ab921f1..dccd913 100644 > > > --- a/Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt > > > +++ b/Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt > > > @@ -6,11 +6,18 @@ 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. > > > > > > +Interrupt triger mode: > > > + IRQ_TYPE_LEVEL_HIGH (default) > > > + IRQ_TYPE_LEVEL_LOW > > > + IRQ_TYPE_EDGE_RISING > > > + IRQ_TYPE_EDGE_FALLING > > > + > > > +Interrupt priority range: 0-255 > > > + > > > ============================= > > > intc node bindings definition > > > ============================= > > > @@ -26,15 +33,21 @@ intc node bindings definition > > > - #interrupt-cells > > > Usage: required > > > Value type: > > > - Definition: must be <1> > > > + Definition: <3> > > > > This seem to be invalidating all existing DTs. Is this an acceptable > > thing to do? It will require an Ack from a DT maintainer. > There is no DTs upstreamed and current implementation of driver could > support old format which isn't mentioned here. We just give a complete > format here. It would be good to mention it anyway, if only for people to understand what is happening with this changing binding. Thanks, M. -- Jazz is not dead, it just smell funny.