From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [PATCH v3 4/5] pinctrl: mcp23s08: configure irq polarity using irq data Date: Fri, 1 Dec 2017 09:38:54 +0100 Message-ID: References: <1511252491-79952-1-git-send-email-preid@electromag.com.au> <1511252491-79952-5-git-send-email-preid@electromag.com.au> <20171121133434.tuvxtrrbabjk4zeg@earth> <20171121152142.zg3r57gl2kenjwgi@earth> <1ba1c850-dd22-fa98-66ea-fcb8527ec5ad@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from mail-io0-f193.google.com ([209.85.223.193]:40236 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750994AbdLAIi4 (ORCPT ); Fri, 1 Dec 2017 03:38:56 -0500 Received: by mail-io0-f193.google.com with SMTP id d21so10458197ioe.7 for ; Fri, 01 Dec 2017 00:38:55 -0800 (PST) In-Reply-To: <1ba1c850-dd22-fa98-66ea-fcb8527ec5ad@arm.com> Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Marc Zyngier Cc: Sebastian Reichel , Phil Reid , Rob Herring , Mark Rutland , linux-gpio@vger.kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" On Thu, Nov 30, 2017 at 4:50 PM, Marc Zyngier wrote: > I'm clearly inclined to prefer the first solution. But maybe it is time > to invent a "generic inverter" driver that could be reusable, just like > we have a generic irqchip? I'm leaning towards that we should create compatible = "irqline-inverter"; irqchip and just slap that into drivers/of/irq.c for everyone. *Maybe* with a Kconfig for it if people worry about the extra bytes. Yours, Linus Walleij