linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v1 4/8] gpiolib: Get rid of ARCH_NR_GPIOS
       [not found]         ` <CAHp75VfF78rWpC6+i2Hu6-PMULFeFMbqXhBVRkx5aFGFTU3U4A@mail.gmail.com>
@ 2022-09-02 11:02           ` Geert Uytterhoeven
  0 siblings, 0 replies; only message in thread
From: Geert Uytterhoeven @ 2022-09-02 11:02 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: Arnd Bergmann, Nuno Sá,
	Christophe Leroy, Linus Walleij, Bartosz Golaszewski,
	Geert Uytterhoeven, Keerthy, Russell King, Jonathan Corbet,
	Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen,
	H. Peter Anvin, Catalin Marinas, Will Deacon,
	Linux Kernel Mailing List, open list:GPIO SUBSYSTEM,
	linux-arm Mailing List, Linux-Arch, Linux Documentation List,
	maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT),
	Linux-sh list

Hi Andy,

CC linux-sh

On Fri, Sep 2, 2022 at 12:53 PM Andy Shevchenko
<andy.shevchenko@gmail.com> wrote:
> On Wed, Aug 31, 2022 at 11:55 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > drivers/pinctrl/renesas/gpio.c: gc->base = pfc->nr_gpio_pins; // ??? don't understand
>
> I think, w/o looking into the code, that this just guarantees the
> continuous numbering for all banks (chips) on the platform.

This part of the code depends on CONFIG_PINCTRL_SH_FUNC_GPIO,
which is used only on SH.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-02 11:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <cover.1661789204.git.christophe.leroy@csgroup.eu>
     [not found] ` <abb46a587b76d379ad32d53817d837d8a5fea8bd.1661789204.git.christophe.leroy@csgroup.eu>
     [not found]   ` <CAHp75VcngRihpfUkeKs-g+TbPnpOsZ+-Q37zDVoWp8p_2GbSvQ@mail.gmail.com>
     [not found]     ` <18cda49e-84f0-a806-566a-6e77705e98b3@csgroup.eu>
     [not found]       ` <1d548a19-feec-42b9-944d-890d6dde2fb8@www.fastmail.com>
     [not found]         ` <CAHp75VfF78rWpC6+i2Hu6-PMULFeFMbqXhBVRkx5aFGFTU3U4A@mail.gmail.com>
2022-09-02 11:02           ` [PATCH v1 4/8] gpiolib: Get rid of ARCH_NR_GPIOS Geert Uytterhoeven

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).