Cover Letter Detail
Show a cover letter.
GET /api/covers/818910/?format=api
{ "id": 818910, "url": "http://patchwork.ozlabs.org/api/covers/818910/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-imx/cover/1506480343-9597-1-git-send-email-yamada.masahiro@socionext.com/", "project": { "id": 19, "url": "http://patchwork.ozlabs.org/api/projects/19/?format=api", "name": "Linux IMX development", "link_name": "linux-imx", "list_id": "linux-imx-kernel.lists.patchwork.ozlabs.org", "list_email": "linux-imx-kernel@lists.patchwork.ozlabs.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1506480343-9597-1-git-send-email-yamada.masahiro@socionext.com>", "list_archive_url": null, "date": "2017-09-27T02:45:41", "name": "[v7,0/2] gpio: uniphier: UniPhier GPIO driver", "submitter": { "id": 65882, "url": "http://patchwork.ozlabs.org/api/people/65882/?format=api", "name": "Masahiro Yamada", "email": "yamada.masahiro@socionext.com" }, "mbox": "http://patchwork.ozlabs.org/project/linux-imx/cover/1506480343-9597-1-git-send-email-yamada.masahiro@socionext.com/mbox/", "series": [ { "id": 5274, "url": "http://patchwork.ozlabs.org/api/series/5274/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-imx/list/?series=5274", "date": "2017-09-27T02:45:41", "name": "gpio: uniphier: UniPhier GPIO driver", "version": 7, "mbox": "http://patchwork.ozlabs.org/series/5274/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/818910/comments/", "headers": { "Return-Path": "<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>", "X-Original-To": "incoming-imx@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming-imx@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"Aae3nCHJ\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=nifty.com header.i=@nifty.com\n\theader.b=\"nkxImDzr\"; dkim-atps=neutral" ], "Received": [ "from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y22NK1BFDz9sBW\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tWed, 27 Sep 2017 12:49:37 +1000 (AEST)", "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dx2Pj-0008HL-8g; Wed, 27 Sep 2017 02:49:31 +0000", "from conuserg-07.nifty.com ([210.131.2.74])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dx2N5-0006Ag-B4 for linux-arm-kernel@lists.infradead.org;\n\tWed, 27 Sep 2017 02:46:58 +0000", "from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp\n\t[153.142.97.92]) (authenticated)\n\tby conuserg-07.nifty.com with ESMTP id v8R2jiYM009483;\n\tWed, 27 Sep 2017 11:45:44 +0900" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:\n\tSubject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:\n\tResent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:\n\tReferences:List-Owner; bh=CQpwwPYj5qs/ipUwfM3C1r2ZFL7cwUVl2EmQ7RZdqPE=;\n\tb=Aae\n\t3nCHJRuphesPLSZbVyaol5O+QMvTpKeZaK+5ur/Ihbog/1WJl7IeltGcR4YyfcLOoo0cw+yYBypjR\n\tatj0KtlZHo8rUJNfy0asdaDuZI9viYgIVCDg1u1FJ+tijqiDAcXVOOt2eP7khn7nGPBGlTdvBd0gW\n\tM2fsOj0Oka8ylYOBHQNQi/mNSpWoC1aKLmqYm/riq59FlV+attpxM9428UuRl9GU2Yo+q1GrAVwkJ\n\tUbd+mqNnESdVKGg2dHvXgYDe0ljrqx+rzhYXSbeqG+0WIZ6eACk536gEXoXIe6nzWSe2+Sw9FxgJI\n\tFawEq6DZn4S9t/0/y8lj8xBFYK0iNJQ==;", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com;\n\ts=dec2015msa; t=1506480345;\n\tbh=9f5KEOhk8tR5mDxywlVv5uyQMyzdIUM31kLDnTFSZuI=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=nkxImDzrB/qedxVjx4Fhl6IyJDz6u8rrPwAXdCuKESh3y6xoVg91wF/orZPvHkq7W\n\tKiQtL2pKVDHeXRTMXeEJcGM6vTgenl+ARTevYJWywAyCHk0vWRIIdBbCrmh9LOUr+V\n\tnlB96n0q1XedNrGMlBe163LVThHPpwvSfQtUZ5t79JgAV/bKpYvAydIjVqM5QB2GSH\n\tLrMHyqEXq25O0RhHmRc55r3undWTFfG91hLtutq3YvlO576QmmmWLiXARoJmv1gZnX\n\tYKfrGmJUvJooYBHFuESwGVK0AD0z8MnCUl36utgdnmNEDg50FbxtCTUxG/ui874TQ0\n\tKzW/D6AfyZkHQ==" ], "DKIM-Filter": "OpenDKIM Filter v2.10.3 conuserg-07.nifty.com v8R2jiYM009483", "X-Nifty-SrcIP": "[153.142.97.92]", "From": "Masahiro Yamada <yamada.masahiro@socionext.com>", "To": "linux-gpio@vger.kernel.org", "Subject": "[PATCH v7 0/2] gpio: uniphier: UniPhier GPIO driver", "Date": "Wed, 27 Sep 2017 11:45:41 +0900", "Message-Id": "<1506480343-9597-1-git-send-email-yamada.masahiro@socionext.com>", "X-Mailer": "git-send-email 2.7.4", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20170926_194648_388988_6B5DFF4C ", "X-CRM114-Status": "GOOD ( 15.78 )", "X-Spam-Score": "-1.2 (-)", "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details: (-1.2 points)\n\tpts rule name description\n\t---- ----------------------\n\t--------------------------------------------------\n\t0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)\n\t-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED Message has a DKIM or DK signature,\n\tnot necessarily valid", "X-BeenThere": "linux-arm-kernel@lists.infradead.org", "X-Mailman-Version": "2.1.21", "Precedence": "list", "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>", "List-Archive": "<http://lists.infradead.org/pipermail/linux-arm-kernel/>", "List-Post": "<mailto:linux-arm-kernel@lists.infradead.org>", "List-Help": "<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>", "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>", "Cc": "Mark Rutland <mark.rutland@arm.com>, devicetree@vger.kernel.org,\n\tJassi Brar <jaswinder.singh@linaro.org>,\n\tGreg Kroah-Hartman <gregkh@linuxfoundation.org>,\n\tLinus Walleij <linus.walleij@linaro.org>,\n\tRandy Dunlap <rdunlap@infradead.org>, \n\tlinux-kernel@vger.kernel.org, \"David S. Miller\" <davem@davemloft.net>,\n\tMasahiro Yamada <yamada.masahiro@socionext.com>,\n\tRob Herring <robh+dt@kernel.org>,\n\tMasami Hiramatsu <mhiramat@kernel.org>, \n\tMauro Carvalho Chehab <mchehab@kernel.org>,\n\tRob Herring <robh@kernel.org>, linux-arm-kernel@lists.infradead.org", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>", "Errors-To": "linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org", "List-Id": "linux-imx-kernel.lists.patchwork.ozlabs.org" }, "content": "This series adds UniPhier GPIO driver.\n\nThe interrupt controller part is implemented by using hierarchy irqdomain.\n\nIMHO, the problem of the hierarchy irqdomain is that drivers must hard-code\nthe fwspec of the interrupt parent. We will never know the DT binding of\nthe parent unless we parse #interrupt-cell, etc.\n\nI asked about this:\nhttps://lkml.org/lkml/2017/7/6/758\n\nApparently, the current kernel does not provide a systematic way to\ndescribe it.\n\nIn v1-v3, I hard-coded the parent hwirq numbers in the driver because\nirqchip drivers are forced to hard-code more or less about the parent.\nThis was not accepted by Linus Walleij.\n\nIn v4, I tried to use the new API irq_domain_push_irq(). I needed to\nchange the irqdomain framework to make it work for DT, but seemed\ncontroversial in the irqdomain subsystem review.\n\nIn v5, I tried another solution. At first I thought it worked, but\nI found a dead-lock if an irq is disposed from the .alloc hook.\n\nAfter I considered more, I thought \"interrupts\" property does not\nmake much sense here because the last cell (which usually specifies\nthe trigger type) is useless for the hierarchy irqdomain.\n\nI decided to use a vendor-specific property. This is what some drivers\nactually do.\n\n\nChanges in v7:\n - Rename uniphier_gpio_irq_get_hwirq()\n (I just missed to \"git commit\" before \"git send-email\")\n\nChanges in v6:\n - Add \"socionext,interrupt-ranges\"\n\nChanges in v5:\n - Split into a separate patch for DT binding\n - Add a new patch to export of_phandle_args_to_fwspec\n - Split DT binding into a separate file\n - v4 depends on some patches that change irq_domain_push_irq(), but\n they got negative feedback in the irqdomain subsystem review.\n Yet another approach here. Parse \"interrupts\" property in\n .alloc() hook. If the parent IRQ is already mapped, dispose it\n and re-alloc in irqdomain manner.\n\nChanges in v4:\n - Add COMPILE_TEST and select IRQ_DOMAIN_HIERARCHY\n - Reimplement irqchip part by using irq_domain_push_irq()\n\nChanges in v3:\n - Add .irq_set_affinity() hook\n - Use irq_domain_create_hierarchy() instead of legacy\n irq_domain_add_hierarchy()\n\nChanges in v2:\n - Remove +32 offset for parent interrupts to follow the GIC\n binding convention\n - Let uniphier_gpio_irq_alloc() fail if nr_irqs != 1\n - Allocate gpio_chip statically because just one instance is\n supported\n - Fix suspend and resume hooks\n\nMasahiro Yamada (2):\n dt-bindings: gpio: uniphier: add UniPhier GPIO binding\n gpio: uniphier: add UniPhier GPIO controller driver\n\n .../devicetree/bindings/gpio/gpio-uniphier.txt | 40 ++\n MAINTAINERS | 1 +\n drivers/gpio/Kconfig | 8 +\n drivers/gpio/Makefile | 1 +\n drivers/gpio/gpio-uniphier.c | 507 +++++++++++++++++++++\n include/dt-bindings/gpio/uniphier-gpio.h | 18 +\n 6 files changed, 575 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/gpio/gpio-uniphier.txt\n create mode 100644 drivers/gpio/gpio-uniphier.c\n create mode 100644 include/dt-bindings/gpio/uniphier-gpio.h" }