From: Yixun Lan <dlan@gentoo.org>
To: Linus Walleij <linus.walleij@linaro.org>,
Bartosz Golaszewski <brgl@bgdev.pl>,
Thomas Gleixner <tglx@linutronix.de>
Cc: Alex Elder <elder@riscstar.com>,
Inochi Amaoto <inochiama@gmail.com>,
linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org,
linux-riscv@lists.infradead.org, spacemit@lists.linux.dev
Subject: Re: [PATCH v3 2/2] gpiolib: support parsing gpio three-cell interrupts scheme
Date: Mon, 7 Apr 2025 10:33:20 +0000 [thread overview]
Message-ID: <20250407103320-GYA13974@gentoo> (raw)
In-Reply-To: <20250326-04-gpio-irq-threecell-v3-2-aab006ab0e00@gentoo.org>
Hi Linus Walleij:
On 06:06 Wed 26 Mar , Yixun Lan wrote:
> gpio irq which using three-cell scheme should always call
> instance_match() function to find the correct irqdomain.
>
> The select() function will be called with !DOMAIN_BUS_ANY,
> so for specific gpio irq driver, it need to set bus token
> explicitly, something like:
> irq_domain_update_bus_token(girq->domain, DOMAIN_BUS_WIRED);
>
> Signed-off-by: Yixun Lan <dlan@gentoo.org>
> ---
> drivers/gpio/gpiolib-of.c | 8 ++++++++
> drivers/gpio/gpiolib-of.h | 6 ++++++
> drivers/gpio/gpiolib.c | 22 ++++++++++++++++++----
> 3 files changed, 32 insertions(+), 4 deletions(-)
>
I'd assume this patch [2/2] will go via pinctrl's tree?
as patch [1/2] has been accepted by Thomas into tip tree [1]..
Additonally need to pull that commit first? since it's a dependency
[1] https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=irq/core&id=0a02e1f4a54ace747304687ced3b76d159e58914
--
Yixun Lan (dlan)
Gentoo Linux Developer
GPG Key ID AABEFD55
next prev parent reply other threads:[~2025-04-07 10:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-25 22:06 [PATCH v3 0/2] gpio: irq: support describing three-cell interrupts Yixun Lan
2025-03-25 22:06 ` [PATCH v3 1/2] irqdomain: support three-cell scheme interrupts Yixun Lan
2025-03-25 22:06 ` [PATCH v3 2/2] gpiolib: support parsing gpio three-cell interrupts scheme Yixun Lan
2025-04-07 10:33 ` Yixun Lan [this message]
2025-04-07 11:26 ` Bartosz Golaszewski
2025-04-08 8:47 ` Thomas Gleixner
2025-04-08 8:59 ` Bartosz Golaszewski
2025-04-08 9:03 ` Bartosz Golaszewski
2025-04-08 11:53 ` Yixun Lan
2025-04-08 7:23 ` [PATCH v3 0/2] gpio: irq: support describing three-cell interrupts Geert Uytterhoeven
2025-04-15 7:32 ` Linus Walleij
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=20250407103320-GYA13974@gentoo \
--to=dlan@gentoo.org \
--cc=brgl@bgdev.pl \
--cc=elder@riscstar.com \
--cc=inochiama@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=spacemit@lists.linux.dev \
--cc=tglx@linutronix.de \
/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