Received: by 10.213.65.68 with SMTP id h4csp1215136imn; Mon, 26 Mar 2018 03:15:14 -0700 (PDT) X-Google-Smtp-Source: AG47ELuhY1iRqsgGvOdykQJhbR93QfgK6hxpK6UBvPhAo3ZfBCF6LKHOEA0LhSZwwy4lHJ++HfVg X-Received: by 10.98.214.152 with SMTP id a24mr8755094pfl.159.1522059314609; Mon, 26 Mar 2018 03:15:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522059314; cv=none; d=google.com; s=arc-20160816; b=AebgRfgysUHkZ9hyKC4UPIiILkxpC+t2IsTmn9+Bbs+LJk18i8PMzInMI5Q+29qwyv Qfk9BXwiWXlGr5OP+mLdrWUHllaSJw5/u77V4rcEVrG1Hnd7eNsngN5nD9w3tlA2g3dt dtexZ3Utr/j22LkpkHJ0nLfT5YU3wxgcyaQ4XliDzdaljvdjyyWLsiQYTRMnpMkNIBHJ rvhYFx2M0BhrJWcGRZH1hvJh2/x1Gbdzh/yhvl/Upv6zbCnSuCukpHlCRm1DwNkU6qrZ 6oldZxoOh/JQwZPy8wZaJ8woyz97ajG49aei0MLAxfLAUNgzR2ZD0LBX5nKKaKm8fgOb m8Pg== 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=mIt2nkooN/lrRvE+dHA+bJcbbHNJlx2F5V98nrRH2nU=; b=fVm6HkD5swmkp2NtHobeWbcflZ0BuxvZo9JiYRScyJon1sHMOq4tb26RJIQrQFgqEd w9GFCD+pZzpV476B5q6E3JLMWOkRdEkgmsJ0tWrEfz8uuSQ17ISqJNdnbfetKR/547+r wzcI2siblX/TMLhJ5gJIW1qWg+J0A/1G53aA2aWlE95bD3aeYnelp6InXUi8y/ZsfhU5 fZuYrxMf2bjEGNorCYJzCtfAhvLJUgp7aUKss9qaaoqhbIFjLG7GSsvTl/FurgyfQNCT UchK8MqZSUYGP5zUJeYlc7CWLLxhvHmzabLsdptR6Bw3ljHYB12RWaXl3pR0Qj+wqr/4 QoAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=XE2ErK6W; 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 a32-v6si10732197pla.313.2018.03.26.03.15.00; Mon, 26 Mar 2018 03:15:14 -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=XE2ErK6W; 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 S1751827AbeCZKM6 (ORCPT + 99 others); Mon, 26 Mar 2018 06:12:58 -0400 Received: from mail-qk0-f195.google.com ([209.85.220.195]:32854 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751010AbeCZKMz (ORCPT ); Mon, 26 Mar 2018 06:12:55 -0400 Received: by mail-qk0-f195.google.com with SMTP id d206so7090334qkb.0; Mon, 26 Mar 2018 03:12:55 -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=mIt2nkooN/lrRvE+dHA+bJcbbHNJlx2F5V98nrRH2nU=; b=XE2ErK6WudxBSZChrNIGs/OCbhJr7xwPpiDnO4v6LhthH3t3nAxZxwTwTbyo5udNvh 4B6nn4Rckcvfm3dBHch/XWkTKydV34Qtyt49wVLhpYS+IUr2QmHWtPIA9qEasOMkcxYe AG9rIfpxLWwtdHVJEyhqiNEPFw3zz0DW/zFHA1zfiEe1rkRl470A2lqWyMkL+tvuKjft fS8qZRwrQX8flAufdo927qNbnhG+KLCRsPqG/W+DJ9FPeMo6ANZQ6vghT/Npw+tzQ3SP BHLDE6djCUBIkZlNCQcEp9iVlU3QTxySZCtpVxkjOwN9IobgtRnJvJO5drXGAo6Iy0xw g9Jw== 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=mIt2nkooN/lrRvE+dHA+bJcbbHNJlx2F5V98nrRH2nU=; b=ZpwFcJqzt58cEzEvmFJfK15iKAtNvTrr2gfY6iRQ1H9341Euglyv/RQuM55H/IMufQ cBbByLXXErgzuTluR8IGO45Q2FTW5lCFuScL+bHaXJbULz6Z+IPO75lw7yMbXI1lvZjw HwkQ6aAhectAJ07H9USFC6ESZuvJ9/zolZPLNWDn9YE7Z4UxRtYUIu9fU6rm2Sm+cLKT nbtNRwGUlfkErW04rDgrE7LAGTOlpKOIvUqdbxZSPmfY08wU/VWUCfAWHLhWt6DCfmnY ifF+mqPb0GOE/Q0S3zPJwQpO2IlCn+0PBQ37EELEXgrfrsg6Gtk8mwHuAYHP4b/Ria6G 9/zw== X-Gm-Message-State: AElRT7F3RMWItcK95CUfyc3ol+Z6egFZKaJT+5IjYCT7usGRfJudCQCw Pffeh4HQJoORcDU+exCVJZoRCo+0OApw3M85e68= X-Received: by 10.55.209.79 with SMTP id s76mr55581605qki.89.1522059174873; Mon, 26 Mar 2018 03:12:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.54.147 with HTTP; Mon, 26 Mar 2018 03:12:54 -0700 (PDT) In-Reply-To: <20180323110020.19080-12-boris.brezillon@bootlin.com> References: <20180323110020.19080-1-boris.brezillon@bootlin.com> <20180323110020.19080-12-boris.brezillon@bootlin.com> From: Geert Uytterhoeven Date: Mon, 26 Mar 2018 12:12:54 +0200 X-Google-Sender-Auth: efwvJAPYgE6xiSWdibSHmeZaZ0Q 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 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? I don't think we want to see the hardcoded numbers in DTS files. 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