From: Tyler Baker <tyler.baker@oss.qualcomm.com>
To: Abel Vesa <abel.vesa@oss.qualcomm.com>
Cc: Philipp Zabel <p.zabel@pengutronix.de>,
Bartosz Golaszewski <brgl@kernel.org>,
Linus Walleij <linusw@kernel.org>,
linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] reset: gpio: Parent the reset-gpio device to the GPIO controller
Date: Fri, 6 Nov 2026 00:21:31 -0500 [thread overview]
Message-ID: <20261106052132.2737352-1-tyler.baker@oss.qualcomm.com> (raw)
In-Reply-To: <20261026-b4-reset-gpio-parent-to-gpio-controller-v1-1-11549e6ea930@oss.qualcomm.com>
On Mon, 26 Oct 2026 at 14:21, Abel Vesa wrote:
> Make the controller the parent instead, which stays registered while it
> is unbound and gets a new GPIO device when it is bound again. Keep using
> the GPIO device if it has no parent.
Fixes: 46dae84a90f9 ("reset: make the provider of reset-gpios the parent of the reset device")
> + aux_parent = parent->parent ?: parent;
On banked controllers (a gpio_chip and fwnode per bank)
gpio_shared_dev_is_reset_gpio() stops matching, since it compares the
parent's fwnode. I'll send a small fix for that on top of this.
Adding Bartosz and linux-gpio.
Tested-by: Tyler Baker <tyler.baker@oss.qualcomm.com> # Hamoa IoT EVK
next prev parent reply other threads:[~2026-11-06 5:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-26 12:21 Abel Vesa
2026-11-06 5:21 ` Tyler Baker [this message]
2026-11-06 10:02 ` Bartosz Golaszewski
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=20261106052132.2737352-1-tyler.baker@oss.qualcomm.com \
--to=tyler.baker@oss.qualcomm.com \
--cc=abel.vesa@oss.qualcomm.com \
--cc=brgl@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=p.zabel@pengutronix.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
all inboxes | Powered by JetHome®