Received: by 10.213.65.68 with SMTP id h4csp1277391imn; Mon, 26 Mar 2018 04:37:09 -0700 (PDT) X-Google-Smtp-Source: AG47ELsqf4OLW26trpOM7O0LImwq2vV0hE2qdVxqWKXZcqHAQ8aH2qGA3GJ8DhIiZSUAS+aT1V92 X-Received: by 2002:a17:902:8c8e:: with SMTP id t14-v6mr31069994plo.206.1522064229265; Mon, 26 Mar 2018 04:37:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522064229; cv=none; d=google.com; s=arc-20160816; b=ggXweu7MQ5RceMu2kFEt910mDAfZBFLQiT5OLNL3FPm/8dznHwDpnHTqSUmkYVu7D8 rN25ButkwCHp5KyBzxL6QPXHs0KtvQ/gHjg67ETpZQ31CYZeoo/EJ+mevsOE22ftwM7O dFbK9T2yY0i7ec/JmfLOQVWKyNKsJSmHdi2vWcvtqb4sa4NhDi3HHcyX8rJYrEesvP+D YskCHr0akDhtEEpR2CaEAUincpvMtKbCCAFMOnJXprtiyupfmYA8i9TGt5rLRovIbGd8 djtdLBIHMuodxL6bBrovX9S+6tHk/qBsRcYA5GE1SCQ4j2QOHDkAsDd6g4sgx27masW9 Zaxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=v8GShf95lIyZmSlxKnaNrhtQzlN7re/MNslzHk+2rFs=; b=nTpM+GNwVN4pax1N794FKUd3OmGKWc+dTuYe18SszQ2zNKS8D29USMX9Y9AggZjaL3 E7FVOPA+i1lQFf3f48If+JJfyP2qR2XIXnMUs6IRn8x9peg0V8V87VkmQFSjl60+QO3T 9Cwp4y7zG6nn1wZDHfX/5w3ZJL4zYaFCO9fE42mfoJ9+ove0DXTUbNP3vAXzFJ61sUCb Oer4y7oCy0y8lziQ1gGZzGTlhlP/PZdchrVXvJbti25gr973dX4O7BaCpe6Hp6LCz5OO hh8h7pYS4exhstDvK/Hj4LvIIMh2IVwaH0245bMmJN6kB0V1YtFOiXP1ZzPu7lSgD9Qm +tzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=E/8fWj7y; 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 32-v6si14545313plg.555.2018.03.26.04.36.53; Mon, 26 Mar 2018 04:37:09 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=E/8fWj7y; 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 S1751684AbeCZLf5 (ORCPT + 99 others); Mon, 26 Mar 2018 07:35:57 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:34940 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751024AbeCZLfz (ORCPT ); Mon, 26 Mar 2018 07:35:55 -0400 Received: by mail-qt0-f194.google.com with SMTP id s2so19144066qti.2; Mon, 26 Mar 2018 04:35:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=v8GShf95lIyZmSlxKnaNrhtQzlN7re/MNslzHk+2rFs=; b=E/8fWj7yUizrSDU/1qecp+MxQD9OS2jLGdxou6RGWnaW7daNgPYt5BLkdYS9+OaP8l 6dALtMm47wN3vb+8hUDgdtqfWfx3ObUSlu0Aqcxuz+FlxhpITEqadFUN61jmNATK8HCm L0Vjvy3ut4fqh/uZElo25UaiiZQUo/kKckJgUxaf5WDLXQ8NxeWkrVYzYV/bkVmELnxZ 1qyJrtyZif+6DwPSdvrGMX9cA59iLhjOKN5aQPMqIiBqgVcmFnsjnf5jG13mIsIb4DG5 H+caAOUv2MbJCZseuj+91T1la1d1RYSbmRhLgEBSFvGg89wgkKFfjv1F98YwG24fkLV6 Zqhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=v8GShf95lIyZmSlxKnaNrhtQzlN7re/MNslzHk+2rFs=; b=E4HZLG2pgYKMvkB9J52vRUBGcSyh5blEhu7lD78fk02SSRoCcYryjeWOSGb4bDVRME BeWiGej6IkXPBMHKxzZKYJoUS6EC0uvMNGH+evD4X6xjcCNC9xrsI7q0dQcCQpbi22ei Umw+L4PKoBybRExClxwth1Xjmfu3xm05lwN77gi9qs4Y33Ai95MVvTz7UJg9AOvah6ry FTM2T+F5J280nGanjF4K2XptB7cq3wIRZmKdjwlW0cYEB+IY6Pv4LbQiS+jvx8thwx0p 6OagA5Td7HXzz3uTxWEdsn0Dy4duKmUp94/cUhyisIcKEt9OYayQimrXKBjigG0B2giD 4Xmw== X-Gm-Message-State: AElRT7HP+GbjKvAPjva64STFG0NmF4s4i9q31z3hzhVc+VJH9ZD7YAI0 8ueQ0t2dQzwSDL9sOUUy+RNFJBa79RGn56BSxYk= X-Received: by 10.200.28.61 with SMTP id a58mr58742695qtk.280.1522064153973; Mon, 26 Mar 2018 04:35:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.54.147 with HTTP; Mon, 26 Mar 2018 04:35:53 -0700 (PDT) In-Reply-To: <20180326132526.1634946e@bbrezillon> References: <20180323110020.19080-1-boris.brezillon@bootlin.com> <20180323110020.19080-12-boris.brezillon@bootlin.com> <20180326132526.1634946e@bbrezillon> From: Geert Uytterhoeven Date: Mon, 26 Mar 2018 13:35:53 +0200 X-Google-Sender-Auth: VDRmG6Gx97o6jUwHOELIMIJfY_4 Message-ID: Subject: Re: [PATCH v3 11/11] dt-bindings: gpio: Add bindings for Cadence I3C gpio expander To: Boris Brezillon 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" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Boris, On Mon, Mar 26, 2018 at 1:25 PM, Boris Brezillon wrote: > On Mon, 26 Mar 2018 12:12:54 +0200 > Geert Uytterhoeven wrote: >> 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. If they're under include/dt-bindings/, they're part of the DT bindings. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds