From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Rich Felker <dalias@libc.org>,
John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Linus Walleij <linusw@kernel.org>,
Bartosz Golaszewski <brgl@kernel.org>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Arnd Bergmann <arnd@kernel.org>,
linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-renesas-soc@vger.kernel.org, linux-gpio@vger.kernel.org
Subject: Re: [PATCH v2 0/5] rsk7203: switch to using static device property, drop legacy gpio API
Date: Mon, 6 Jul 2026 22:07:55 -0700 [thread overview]
Message-ID: <akyJOW79W0xvI-P9@google.com> (raw)
In-Reply-To: <20260520-rsk7203-properties-v2-0-465f3308021b@gmail.com>
On Wed, May 20, 2026 at 10:13:16PM -0700, Dmitry Torokhov wrote:
> This series of patches converts rsk7203 to use static device properties
> for its devices, including gpio-keys and gpio-leds, and removing
> dependency on legacy gpio API (in favor of gpiod API).
>
> To configure pin functions the board is switched to use gpio-hogs, as
> doing full conversion to pinmux is too challenging without access to
> hardware.
>
> v2:
> - Added a patch to isolate the function gpiochip from the parent fwnode
> to prevent ambiguous property lookups
> - Added a patch attaching a software node to the main PFC gpiochip device
> - Adjusted the board setup to use the PFC's software node for LEDs and
> GPIO keys instead of creating a standalone node
> - Added support to sh-pfc for configuring the secondary "function"
> gpiochip via a "functions" child software node.
> - Converted board pin configuration from legacy gpio_request() to GPIO
> hogs, using postcore_initcall to ensure nodes are available during
> driver probe.
>
> v1:
>
> http://lore.kernel.org/r/jwtdoptatzfo47mbpmmjwhhhjn4mbw6ekp4gtoopca7azbcelo@uvtz4w2ga5qn
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Gentle ping on this series... It still applies cleanly and we need this
to be able top drop legacy gpio interfaces from gpio-keys (and
eventually from the kernel).
> ---
> Dmitry Torokhov (5):
> pinctrl: renesas: gpio: isolate function gpiochip from parent fwnode
> sh: pfc: attach software node to the GPIO chip
> sh: mach-rsk: rsk7203: use static device properties for LEDs and GPIO buttons
> pinctrl: renesas: gpio: support software nodes for function GPIOs
> sh: mach-rsk: rsk7203: convert pin configuration to using software nodes
>
> arch/sh/boards/mach-rsk/devices-rsk7203.c | 282 ++++++++++++++++++++++--------
> arch/sh/include/cpu-common/cpu/pfc.h | 3 +
> arch/sh/kernel/cpu/pfc.c | 20 ++-
> drivers/pinctrl/renesas/gpio.c | 28 +++
> 4 files changed, 254 insertions(+), 79 deletions(-)
> ---
> base-commit: 6a50ba100ace43f43c87384367eb2d2605fcc16c
> change-id: 20260310-rsk7203-properties-82bf2c12b985
>
> Thanks.
>
--
Dmitry
prev parent reply other threads:[~2026-07-07 5:08 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-21 5:13 [PATCH v2 0/5] rsk7203: switch to using static device property, drop legacy gpio API Dmitry Torokhov
2026-05-21 5:13 ` [PATCH v2 1/5] pinctrl: renesas: gpio: isolate function gpiochip from parent fwnode Dmitry Torokhov
2026-05-21 9:09 ` Bartosz Golaszewski
2026-05-21 5:13 ` [PATCH v2 2/5] sh: pfc: attach software node to the GPIO chip Dmitry Torokhov
2026-05-21 9:12 ` Bartosz Golaszewski
2026-05-21 5:13 ` [PATCH v2 3/5] sh: mach-rsk: rsk7203: use static device properties for LEDs and GPIO buttons Dmitry Torokhov
2026-05-21 9:12 ` Bartosz Golaszewski
2026-06-02 22:02 ` Andy Shevchenko
2026-06-02 22:06 ` Dmitry Torokhov
2026-06-02 23:45 ` Andy Shevchenko
2026-06-02 23:52 ` Andy Shevchenko
2026-06-02 23:52 ` Dmitry Torokhov
2026-06-03 0:10 ` Andy Shevchenko
2026-05-21 5:13 ` [PATCH v2 4/5] pinctrl: renesas: gpio: support software nodes for function GPIOs Dmitry Torokhov
2026-05-21 9:13 ` Bartosz Golaszewski
2026-05-21 5:13 ` [PATCH v2 5/5] sh: mach-rsk: rsk7203: convert pin configuration to using software nodes Dmitry Torokhov
2026-05-21 9:14 ` Bartosz Golaszewski
2026-05-25 8:56 ` [PATCH v2 0/5] rsk7203: switch to using static device property, drop legacy gpio API Linus Walleij
2026-07-07 5:07 ` Dmitry Torokhov [this message]
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=akyJOW79W0xvI-P9@google.com \
--to=dmitry.torokhov@gmail.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=arnd@kernel.org \
--cc=brgl@kernel.org \
--cc=dalias@libc.org \
--cc=geert+renesas@glider.be \
--cc=glaubitz@physik.fu-berlin.de \
--cc=linusw@kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=ysato@users.sourceforge.jp \
/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