Received: by 10.213.65.68 with SMTP id h4csp1269111imn; Mon, 26 Mar 2018 04:26:50 -0700 (PDT) X-Google-Smtp-Source: AIpwx49zeJHzjYSKmdWxGyBbdmIdaUOEq6rKQiTRLQ0jqyWImY/cVBR7N+eg92r8CLFLpECKRmF4 X-Received: by 10.167.129.90 with SMTP id d26mr803067pfn.108.1522063610727; Mon, 26 Mar 2018 04:26:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522063610; cv=none; d=google.com; s=arc-20160816; b=zW95kGhUGeG1PMHrKstW3jwry0Crhn3InnYZc4uaAXk2UGaDOekrzXTPF2/jssJo3u AGsy3ngdYpILVkkh4+hqlDF2szPE0qv4/pj2A4gPw8iRqCTnIR0bcEvxQV+TQCj9buP2 yi1ZnBoHNFX7lnDzBcY6EfplY7Z/HbLv6+YO5wWBq79/xO4SdAqL5iWzO94Gr6hAbHi4 vbw4lwNWRKqSTgjFQelstouYrV1CiEMFLQRasEpkJ4Tlc1RelglmzELGOf5SpfM+sFvp TMCSnWxW+ie9ciLxigaSddVG59a4Uj5/Llwg8IPy8j6qV9qycT7vhy9Gi60ryxsIGEe7 C/tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=k1kRx5rnZN1UNHqjeGu4R6K4i0P+Xeu/b3GGz6gqz2I=; b=RSxYu9CJKlEhiAOK8Ab3fwoBi5soxadmOtIpoqJSANyGhG9vJFSYrylAANNql7Lsaq /fNxTuLsWKmLcp+DmPASob57oNcKSwtXISWEMBlhrzgs+1TcGjxgiGHi/gFHXodx8t7C fgx00i3SmNFt4Tgn4Lk3QbJa8tvyOktyXGtrfTZkalUluADqOIPN00DHP0Jgpan3MYDk ye2Ck7aBSUdPQl1/mDvIWdBUKhIzo1LrXSH+feA6jPYGlmvlihnVfnbTks6qpqPIFLZQ 1TqacDrVkUp0yb1gFspfBDATD8ch286k+6yPMvDc8HbEbp+zGUjX+Bcm3zKui+raPD69 RnBg== 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 15-v6si14477669pla.342.2018.03.26.04.26.35; Mon, 26 Mar 2018 04:26:50 -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 S1751805AbeCZLZo (ORCPT + 99 others); Mon, 26 Mar 2018 07:25:44 -0400 Received: from mail.bootlin.com ([62.4.15.54]:40928 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751042AbeCZLZj (ORCPT ); Mon, 26 Mar 2018 07:25:39 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id E17FC2072B; Mon, 26 Mar 2018 13:25:36 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from bbrezillon (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id 1960D200FB; Mon, 26 Mar 2018 13:25:26 +0200 (CEST) Date: Mon, 26 Mar 2018 13:25:26 +0200 From: Boris Brezillon To: Geert Uytterhoeven Cc: Wolfram Sang , Linux I2C , Jonathan Corbet , linux-doc@vger.kernel.org, Greg Kroah-Hartman , Arnd Bergmann , Przemyslaw Sroka , Arkadiusz Golec , Alan Douglas , Bartosz Folta , Damian Kos , Alicja Jurasik-Urbaniak , Cyprian Wronka , Suresh Punnoose , Rafal Ciepiela , Thomas Petazzoni , Nishanth Menon , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Vitor Soares , Linus Walleij , Xiang Lin , "open list:GPIO SUBSYSTEM" Subject: Re: [PATCH v3 11/11] dt-bindings: gpio: Add bindings for Cadence I3C gpio expander Message-ID: <20180326132526.1634946e@bbrezillon> In-Reply-To: References: <20180323110020.19080-1-boris.brezillon@bootlin.com> <20180323110020.19080-12-boris.brezillon@bootlin.com> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 26 Mar 2018 12:12:54 +0200 Geert Uytterhoeven wrote: > Hi Boris, > > On Fri, Mar 23, 2018 at 12:00 PM, Boris Brezillon > wrote: > > Document the Cadence I3C gpio expander bindings. > > > > Signed-off-by: Boris Brezillon > > Thanks for your patch! > > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/gpio/gpio-cdns-i3c.txt > > > +- #interrupt-cells : Should be 2. The first cell is the GPIO number. > > + The second cell bits[3:0] is used to specify trigger type and level flags: > > + 1 = low-to-high edge triggered. > > + 2 = high-to-low edge triggered. > > + 3 = triggered on both edges. > > + 4 = active high level-sensitive. > > + 8 = active low level-sensitive. > > These are identical to the values in . > Perhaps you can refer to those definitions? Well, I'm not sure this is allowed since DT bindings docs are supposed to be OS-agnostic and macros defined in are, AFAIK, only available to Linux. Note that I copied these definitions from another binding ;-). Rob, any opinion? -- Boris Brezillon, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com