[{"id":1784396,"web_url":"http://patchwork.ozlabs.org/comment/1784396/","msgid":"<CACRpkdaJE_-tfZ+Mr3UowY9W0EdEwWEMdfhCfkj7VVOzje7MrA@mail.gmail.com>","list_archive_url":null,"date":"2017-10-11T08:35:59","subject":"Re: [PATCH v6 1/2] dt-bindings: gpio: uniphier: add UniPhier GPIO\n\tbinding","submitter":{"id":7055,"url":"http://patchwork.ozlabs.org/api/people/7055/","name":"Linus Walleij","email":"linus.walleij@linaro.org"},"content":"On Wed, Sep 27, 2017 at 4:40 AM, Masahiro Yamada\n<yamada.masahiro@socionext.com> wrote:\n\n> This GPIO controller is used on UniPhier SoC family.\n>\n> The vendor specific property \"socionext,interrupt-ranges\" is for\n> specifying interrupt mapping to the parent interrupt controller\n> because the mapping is not contiguous.  It works like \"ranges\",\n> but transforms \"interrupts\" instead of \"reg\".\n>\n> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\n> Acked-by: Rob Herring <robh@kernel.org>\n\nPatch applied.\n\n> +- socionext,interrupt-ranges: Specifies an interrupt number mapping between\n> +  this GPIO controller and its interrupt parent, in the form of arbitrary\n> +  number of <child-interrupt-base parent-interrupt-base length> triplets.\n(...)\n> +               socionext,interrupt-ranges = <0 48 16>, <16 154 5>, <21 217 3>;\n\nStill uncertain about that thing.\n\nBut as it is, you need running code, and we have rough consensus.\n\nSo merging.\n\nIf it turns out to be a bad binding we may need to patch in an alternative\nlater.\n\nYours,\nLinus Walleij\n--\nTo unsubscribe from this list: send the line \"unsubscribe linux-gpio\" in\nthe body of a message to majordomo@vger.kernel.org\nMore majordomo info at  http://vger.kernel.org/majordomo-info.html","headers":{"Return-Path":"<linux-gpio-owner@vger.kernel.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-gpio-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"amtcKOXA\"; dkim-atps=neutral"],"Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3yBnQ217gQz9t3H\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 11 Oct 2017 19:36:26 +1100 (AEDT)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S932757AbdJKIgF (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tWed, 11 Oct 2017 04:36:05 -0400","from mail-it0-f46.google.com ([209.85.214.46]:56269 \"EHLO\n\tmail-it0-f46.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S932756AbdJKIgA (ORCPT\n\t<rfc822; linux-gpio@vger.kernel.org>); Wed, 11 Oct 2017 04:36:00 -0400","by mail-it0-f46.google.com with SMTP id l196so1898022itl.4\n\tfor <linux-gpio@vger.kernel.org>;\n\tWed, 11 Oct 2017 01:36:00 -0700 (PDT)","by 10.79.14.140 with HTTP; Wed, 11 Oct 2017 01:35:59 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc; bh=SkCyo2gmXX5hbG9YcCJJnsZX0xF/Jm1poGzhRbL90XM=;\n\tb=amtcKOXAVxRyyF4a5vo0KSKYjp4XmHVr2mRMiBhRyIURFGNh3sEmPRPkdK3eJOSzQu\n\tLdh5Ms1jBgwFTHcnv/i0pR5b7nFBznHISxCJRzKDbN5eNeJnP/wvWUBBqANV85J/coed\n\ti/KLoZSbRUEhv5F4gIgN4SOS2RD1oUMUY0c58=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=SkCyo2gmXX5hbG9YcCJJnsZX0xF/Jm1poGzhRbL90XM=;\n\tb=b2G7TNsavHfybWLuUVWBxBSBSPVC26eeidT/Y6Dseoj5g9QlDEpMJ2z8u+Gi+F/wjh\n\tDEplR0QdnE9j6BpmKZJycDGIAnQAse0S1IOKO0XBQquiu8Bz/lLNYJAaXVDwBXxkiWZx\n\t4Y9KjVZ2z0bgguHuRqAEedVPN0Y6zTXDPQPlWWyUpynE405mqera8TiSO1PEyYi1xm7p\n\t9HN5U0aQhm2XH0zO4WA8GH+NWLND/M+CGRYPJMk7j02mQN4oxNAFrtptfiXObM735eW1\n\tARWjjd6H3nuBQDDkrhxmkRn4zWrlwcnlP84+OIzKsC6L8R6L1NCab/9wV368Gdio8bIi\n\tQKRg==","X-Gm-Message-State":"AMCzsaUwtaLMTiR/5Vt2GNiZX7PwQAxzUiCjPERAkOahlH/j4NK+755s\n\t+qn/VVfsegYpblQolMwu49xo74SSCCKZ52/mY4eTYQ==","X-Google-Smtp-Source":"AOwi7QCYTuB48wbwnhr/FH5f+LOK9hIHcBLPb8gwaaCKy5eOyxttMUaE1s0BIzSmMv0fVw+d5adRQRNPl3/LNmY0DtM=","X-Received":"by 10.36.92.193 with SMTP id q184mr4104136itb.83.1507710960368; \n\tWed, 11 Oct 2017 01:36:00 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<1506480022-8995-2-git-send-email-yamada.masahiro@socionext.com>","References":"<1506480022-8995-1-git-send-email-yamada.masahiro@socionext.com>\n\t<1506480022-8995-2-git-send-email-yamada.masahiro@socionext.com>","From":"Linus Walleij <linus.walleij@linaro.org>","Date":"Wed, 11 Oct 2017 10:35:59 +0200","Message-ID":"<CACRpkdaJE_-tfZ+Mr3UowY9W0EdEwWEMdfhCfkj7VVOzje7MrA@mail.gmail.com>","Subject":"Re: [PATCH v6 1/2] dt-bindings: gpio: uniphier: add UniPhier GPIO\n\tbinding","To":"Masahiro Yamada <yamada.masahiro@socionext.com>","Cc":"\"linux-gpio@vger.kernel.org\" <linux-gpio@vger.kernel.org>,\n\t\"devicetree@vger.kernel.org\" <devicetree@vger.kernel.org>,\n\tRob Herring <robh@kernel.org>, Masami Hiramatsu <mhiramat@kernel.org>,\n\tJassi Brar <jaswinder.singh@linaro.org>,\n\t\"linux-kernel@vger.kernel.org\" <linux-kernel@vger.kernel.org>,\n\tRob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>,\n\t\"linux-arm-kernel@lists.infradead.org\" \n\t<linux-arm-kernel@lists.infradead.org>","Content-Type":"text/plain; charset=\"UTF-8\"","Sender":"linux-gpio-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<linux-gpio.vger.kernel.org>","X-Mailing-List":"linux-gpio@vger.kernel.org"}},{"id":1784405,"web_url":"http://patchwork.ozlabs.org/comment/1784405/","msgid":"<CACRpkdaNhzM=p971eW+wNhkaOLyNgszx3qwJp1C5RUgVQc9s6Q@mail.gmail.com>","list_archive_url":null,"date":"2017-10-11T08:43:06","subject":"Re: [PATCH v6 1/2] dt-bindings: gpio: uniphier: add UniPhier GPIO\n\tbinding","submitter":{"id":7055,"url":"http://patchwork.ozlabs.org/api/people/7055/","name":"Linus Walleij","email":"linus.walleij@linaro.org"},"content":"On Wed, Oct 11, 2017 at 10:35 AM, Linus Walleij\n<linus.walleij@linaro.org> wrote:\n> On Wed, Sep 27, 2017 at 4:40 AM, Masahiro Yamada\n> <yamada.masahiro@socionext.com> wrote:\n>\n>> This GPIO controller is used on UniPhier SoC family.\n>>\n>> The vendor specific property \"socionext,interrupt-ranges\" is for\n>> specifying interrupt mapping to the parent interrupt controller\n>> because the mapping is not contiguous.  It works like \"ranges\",\n>> but transforms \"interrupts\" instead of \"reg\".\n>>\n>> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\n>> Acked-by: Rob Herring <robh@kernel.org>\n>\n> Patch applied.\n>\n>> +- socionext,interrupt-ranges: Specifies an interrupt number mapping between\n>> +  this GPIO controller and its interrupt parent, in the form of arbitrary\n>> +  number of <child-interrupt-base parent-interrupt-base length> triplets.\n> (...)\n>> +               socionext,interrupt-ranges = <0 48 16>, <16 154 5>, <21 217 3>;\n>\n> Still uncertain about that thing.\n>\n> But as it is, you need running code, and we have rough consensus.\n>\n> So merging.\n>\n> If it turns out to be a bad binding we may need to patch in an alternative\n> later.\n\nSorry I had to take it back out, because the <dt-bindings/*> stuff in the\nother patch should also be in this patch rather than in the driver.\n\nPlease move that over here, and if you insist on those macros, also\nuse them in the example so we understand how this is supposed to\nbe used, i.e. also add a consumer node to the bindings example\nif it is gonna use magic macros.\n\nYours,\nLinus Walleij\n--\nTo unsubscribe from this list: send the line \"unsubscribe linux-gpio\" in\nthe body of a message to majordomo@vger.kernel.org\nMore majordomo info at  http://vger.kernel.org/majordomo-info.html","headers":{"Return-Path":"<linux-gpio-owner@vger.kernel.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-gpio-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"P6eL6/Tz\"; dkim-atps=neutral"],"Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3yBnYp1pZfz9t3H\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 11 Oct 2017 19:43:10 +1100 (AEDT)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1757295AbdJKInI (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tWed, 11 Oct 2017 04:43:08 -0400","from mail-it0-f47.google.com ([209.85.214.47]:44805 \"EHLO\n\tmail-it0-f47.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1757128AbdJKInH (ORCPT\n\t<rfc822; linux-gpio@vger.kernel.org>); Wed, 11 Oct 2017 04:43:07 -0400","by mail-it0-f47.google.com with SMTP id n195so12790157itg.1\n\tfor <linux-gpio@vger.kernel.org>;\n\tWed, 11 Oct 2017 01:43:07 -0700 (PDT)","by 10.79.14.140 with HTTP; Wed, 11 Oct 2017 01:43:06 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc; bh=9ODSiFqwxMjbt9h8yYEepYg5SRquqGraEM4j0tdgPlI=;\n\tb=P6eL6/TzWfCbxqXMzc84g+eSvhFF9JyuEsfRmyr1oACMX+KIqKXx4kjvm9mlMO0DdJ\n\t0/CFoA9nc8t5OdSExJKKj2IcMOxIKbeZ+l31ilMYxWlRl/RVd5KdpdmVWTU5NA3jKPl0\n\tVmnyIRKjqUuZx5vVdvVg/UROmxxOV7pzq7wnY=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=9ODSiFqwxMjbt9h8yYEepYg5SRquqGraEM4j0tdgPlI=;\n\tb=Qnpwep+0dPhrhDc2UY4tnCR7dPx2brxdgiLMDdb1+5BhOVdH72iazQRVi8vqM8HeaF\n\tqOHte94RJFteel6qEu5a8h81oH47eWUDm6Ew2TWc/85wBTCKK6buJs6btfR3eM0jmqEO\n\tAnXEZVFuiUc4mfIDnkry52FKrpSmiY55H8TsRsCJarMIxq8/f/QQxM6vTEw9Sv4xuLU0\n\tnNf1JATPOuXDN7y6vU4pnrIm0VJFHzs1IjMMR9tn+OLprkSBV71WdzTdsXxVLKXysVhm\n\taNVnvPvoAamd2JTCcmix0Hv4S3ZWQcl0SrBn1hi4ZlsD1aF2rOovyyGdKGKgacn+OkR5\n\tf5bg==","X-Gm-Message-State":"AMCzsaWWrzku2YrM3xJJZyfoDL0PcBp6swf5epk/KxiR7aeCHrMBLeBJ\n\tILxEgbm+lMMRVEADuMsWjxyPEuSWbYzlEQJfODbwBQ==","X-Google-Smtp-Source":"AOwi7QDGYoNnKFgr2fqPWC/bUWcTDrVY+kYUgcQVNud5g4NONt2TZkyoKobNmFx/Cw1jpHsrJSlu5HKD5hMvSdUQ0zA=","X-Received":"by 10.36.92.193 with SMTP id q184mr4120365itb.83.1507711386680; \n\tWed, 11 Oct 2017 01:43:06 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<CACRpkdaJE_-tfZ+Mr3UowY9W0EdEwWEMdfhCfkj7VVOzje7MrA@mail.gmail.com>","References":"<1506480022-8995-1-git-send-email-yamada.masahiro@socionext.com>\n\t<1506480022-8995-2-git-send-email-yamada.masahiro@socionext.com>\n\t<CACRpkdaJE_-tfZ+Mr3UowY9W0EdEwWEMdfhCfkj7VVOzje7MrA@mail.gmail.com>","From":"Linus Walleij <linus.walleij@linaro.org>","Date":"Wed, 11 Oct 2017 10:43:06 +0200","Message-ID":"<CACRpkdaNhzM=p971eW+wNhkaOLyNgszx3qwJp1C5RUgVQc9s6Q@mail.gmail.com>","Subject":"Re: [PATCH v6 1/2] dt-bindings: gpio: uniphier: add UniPhier GPIO\n\tbinding","To":"Masahiro Yamada <yamada.masahiro@socionext.com>","Cc":"\"linux-gpio@vger.kernel.org\" <linux-gpio@vger.kernel.org>,\n\t\"devicetree@vger.kernel.org\" <devicetree@vger.kernel.org>,\n\tRob Herring <robh@kernel.org>, Masami Hiramatsu <mhiramat@kernel.org>,\n\tJassi Brar <jaswinder.singh@linaro.org>,\n\t\"linux-kernel@vger.kernel.org\" <linux-kernel@vger.kernel.org>,\n\tRob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>,\n\t\"linux-arm-kernel@lists.infradead.org\" \n\t<linux-arm-kernel@lists.infradead.org>","Content-Type":"text/plain; charset=\"UTF-8\"","Sender":"linux-gpio-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<linux-gpio.vger.kernel.org>","X-Mailing-List":"linux-gpio@vger.kernel.org"}}]