From: Linus Walleij <linusw@kernel.org>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Dan Carpenter <dan.carpenter@linaro.org>,
AKASHI Takahiro <akashi.tkhro@gmail.com>,
Bartosz Golaszewski <brgl@kernel.org>,
linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org,
Andy Shevchenko <andriy.shevchenko@intel.com>,
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,
arm-scmi@vger.kernel.org,
Vincent Guittot <vincent.guittot@linaro.org>,
Khaled Ali Ahmed <Khaled.AliAhmed@arm.com>,
Michal Simek <michal.simek@amd.com>
Subject: Re: [PATCH v6 7/7] gpio: gpio-by-pinctrl: add pinctrl based generic GPIO driver
Date: Tue, 7 Apr 2026 14:19:25 +0200 [thread overview]
Message-ID: <CAD++jL=EHrgDiXS3X+49MPZLaG7+WiPFaich0Cf6EmD8eGTrEQ@mail.gmail.com> (raw)
In-Reply-To: <CAMuHMdWRgkAE-eSzRif6DSqRgOySiN48vcogESN1s2gs2k7bJQ@mail.gmail.com>
On Tue, Apr 7, 2026 at 12:21 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> > +config GPIO_BY_PINCTRL
> > + tristate "GPIO support based on a pure pin control backend"
> > + depends on GPIOLIB
>
> Should this depend on ARM_SCMI *|| COMPILE_TEST)? The driver only
> matches against the "scmi-pinctrl-gpio" compatible value.
> Or do you envision a use case without SCMI?
It can be used without SCMI but SCMI is the only current user.
I imagine any firmware protocol (e.g. rpmsg, heh) implementing
a pinctrl driver could get GPIO "for free" using this.
Yours,
Linus Walleij
next prev parent reply other threads:[~2026-04-07 12:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-23 19:01 [PATCH v6 0/7] gpio: introduce a GPIO driver for SCMI Dan Carpenter
2026-03-23 19:01 ` [PATCH v6 1/7] pinctrl: introduce pinctrl_gpio_get_config() Dan Carpenter
2026-03-23 19:01 ` [PATCH v6 2/7] pinctrl: scmi: Add SCMI_PIN_INPUT_VALUE Dan Carpenter
2026-03-23 19:01 ` [PATCH v6 4/7] pinctrl: scmi: ignore PIN_CONFIG_PERSIST_STATE Dan Carpenter
2026-03-23 19:01 ` [PATCH v6 3/7] pinctrl: scmi: Delete PIN_CONFIG_OUTPUT_IMPEDANCE_OHMS support Dan Carpenter
2026-03-23 19:01 ` [PATCH v6 5/7] firmware: arm_scmi: Allow PINCTRL_REQUEST to return EOPNOTSUPP Dan Carpenter
2026-03-23 19:01 ` [PATCH v6 6/7] gpio: dt-bindings: Add GPIO on top of generic pin control Dan Carpenter
2026-03-23 19:01 ` [PATCH v6 7/7] gpio: gpio-by-pinctrl: add pinctrl based generic GPIO driver Dan Carpenter
2026-03-24 11:15 ` Andy Shevchenko
2026-03-24 11:41 ` Dan Carpenter
2026-04-07 10:21 ` Geert Uytterhoeven
2026-04-07 12:19 ` Linus Walleij [this message]
2026-03-24 13:10 ` [PATCH v6 0/7] gpio: introduce a GPIO driver for SCMI Linus Walleij
2026-03-25 10:24 ` 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='CAD++jL=EHrgDiXS3X+49MPZLaG7+WiPFaich0Cf6EmD8eGTrEQ@mail.gmail.com' \
--to=linusw@kernel.org \
--cc=Khaled.AliAhmed@arm.com \
--cc=akashi.tkhro@gmail.com \
--cc=andriy.shevchenko@intel.com \
--cc=arm-scmi@vger.kernel.org \
--cc=bartosz.golaszewski@oss.qualcomm.com \
--cc=brgl@kernel.org \
--cc=dan.carpenter@linaro.org \
--cc=geert@linux-m68k.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michal.simek@amd.com \
--cc=vincent.guittot@linaro.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 read-only IMAP folder(s) and NNTP newsgroup(s).