From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932949AbcILNjU (ORCPT ); Mon, 12 Sep 2016 09:39:20 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:43222 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755984AbcILNjR (ORCPT ); Mon, 12 Sep 2016 09:39:17 -0400 Subject: Re: [PATCH v4 6/9] pinctrl: Add IRQ support to STM32 gpios To: Linus Walleij References: <1473180341-1999-1-git-send-email-alexandre.torgue@st.com> <1473180341-1999-7-git-send-email-alexandre.torgue@st.com> <0063a1ef-1b09-7cfc-f18b-76f2bb07eb84@st.com> CC: Maxime Coquelin , Thomas Gleixner , Jason Cooper , Marc Zyngier , Mark Rutland , Rob Herring , "linux-gpio@vger.kernel.org" , Arnd Bergmann , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , Daniel Thompson , Bruno Herrera , Lee Jones From: Alexandre Torgue Message-ID: <77a03549-232b-f73e-216f-6e332192cb1c@st.com> Date: Mon, 12 Sep 2016 15:38:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.48.0.2] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-09-12_06:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, On 09/12/2016 02:58 PM, Linus Walleij wrote: > On Thu, Sep 8, 2016 at 5:47 PM, Alexandre Torgue > wrote: > >> Just one question, when you say "super-complex irqchip in use", do you mean >> I could use another (simplest) solution to handle this EXTI controller? > > I don't know, GPIOLIB_IRQCHIP is to be used for some specific > cases documented in Documentation/gpio/driver.txt. > > For anything complex, we either need to have this hairy code > or invent new abstractions. > Ok I see . > For now, I assume this is needed... Yes it is. Regards Alex > > Yours, > Linus Walleij >