linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: Bartosz Golaszewski <brgl@bgdev.pl>
Cc: Linus Walleij <linus.walleij@linaro.org>,
	Bartosz Golaszewski <bgolaszewski@baylibre.com>,
	linux-gpio@vger.kernel.org,
	Loic Poulain <loic.poulain@linaro.org>,
	Marc Zyngier <maz@kernel.org>, NXP Linux Team <linux-imx@nxp.com>,
	Peng Fan <peng.fan@nxp.com>, Shawn Guo <shawnguo@kernel.org>
Subject: Re: [PATCH v6 2/2] gpio: mxc: Always set GPIOs used as interrupt source to INPUT mode
Date: Mon, 16 Jan 2023 10:51:23 +0100	[thread overview]
Message-ID: <a9ad2d35-a142-a218-518d-5e2130080093@denx.de> (raw)
In-Reply-To: <CAMRc=MdDJi7q9ADYYHGzW0EKV6Q00Ctxv7QBviwNUgS=fMYdAQ@mail.gmail.com>

On 1/16/23 09:31, Bartosz Golaszewski wrote:
> On Tue, Jan 10, 2023 at 9:16 AM Marek Vasut <marex@denx.de> wrote:
>>
>> On 12/19/22 00:21, Linus Walleij wrote:
>>> On Fri, Dec 16, 2022 at 10:51 PM Marek Vasut <marex@denx.de> wrote:
>>>> On 10/17/22 12:24, Linus Walleij wrote:
>>>>> On Fri, Oct 14, 2022 at 12:00 AM Marek Vasut <marex@denx.de> wrote:
>>>>>
>>>>>> Always configure GPIO pins which are used as interrupt source as INPUTs.
>>>>>> In case the default pin configuration is OUTPUT, or the prior stage does
>>>>>> configure the pins as OUTPUT, then Linux will not reconfigure the pin as
>>>>>> INPUT and no interrupts are received.
>>>>>>
>>>>>> Always configure the interrupt source GPIO pin as input to fix the above case.
>>>>>>
>>>>>> Fixes: 07bd1a6cc7cbb ("MXC arch: Add gpio support for the whole platform")
>>>>>> Signed-off-by: Marek Vasut <marex@denx.de>
>>>>>
>>>>> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
>>>>
>>>> Can you please just pick these two patches up ?
>>>
>>> Bartosz is queueing GPIO patches, I'm sure he will get to
>>> queue them soon enough.
>>
>> Bartosz, any news ?
> 
> I don't know why this has escaped my attention for so long. I wanted
> to apply it but it no longer applies on top of my for-next branch.
> Could you rebase and resend? Sorry for the trouble Marek.

Done, V7 is out.

  reply	other threads:[~2023-01-16  9:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-13 21:59 [PATCH v6 1/2] gpio: mxc: Protect GPIO irqchip RMW with bgpio spinlock Marek Vasut
2022-10-13 21:59 ` [PATCH v6 2/2] gpio: mxc: Always set GPIOs used as interrupt source to INPUT mode Marek Vasut
2022-10-17 10:24   ` Linus Walleij
2022-12-16 21:51     ` Marek Vasut
2022-12-18 23:21       ` Linus Walleij
2022-12-19  0:29         ` Marek Vasut
2023-01-10  8:16         ` Marek Vasut
2023-01-16  8:31           ` Bartosz Golaszewski
2023-01-16  9:51             ` Marek Vasut [this message]
2022-10-17 10:23 ` [PATCH v6 1/2] gpio: mxc: Protect GPIO irqchip RMW with bgpio spinlock Linus Walleij
2022-10-18  8:33   ` Marek Vasut
2022-10-18  8:46     ` Linus Walleij
2022-10-18  9:04       ` Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a9ad2d35-a142-a218-518d-5e2130080093@denx.de \
    --to=marex@denx.de \
    --cc=bgolaszewski@baylibre.com \
    --cc=brgl@bgdev.pl \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-imx@nxp.com \
    --cc=loic.poulain@linaro.org \
    --cc=maz@kernel.org \
    --cc=peng.fan@nxp.com \
    --cc=shawnguo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).