Re: [PATCH v1 1/1] gpio: Move and sort Kconfig entries as suggested

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 14, 2024 at 12:39 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>
> On Thu, Nov 14, 2024 at 12:15:46PM +0100, Bartosz Golaszewski wrote:
> > On Thu, Nov 14, 2024 at 11:39 AM Andy Shevchenko
> > <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> > > On Thu, Nov 14, 2024 at 09:54:50AM +0100, Bartosz Golaszewski wrote:
> > > > On Wed, Nov 13, 2024 at 6:12 PM Andy Shevchenko
> > > > <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> > > > >
> > > > > The Kconfig under drivers/gpio has a specific comment
> > > > >
> > > > >   put drivers in the right section, in alphabetical order
> > > > >
> > > > > but in time some of the entries fell unordered there.
> > > > > Put an order again.
> > > > >
> > > > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> > > > > ---
> > > > Could you elaborate on why you're moving drivers between categories?
> > > > For instance: you moved Intel LJCA to USB drivers and I'm sure you
> > > > have a reason for it (it's not clear if this actually is a USB driver,
> > >
> > > This one is actually clear as you see that it depends on USB_LJCS which
> > > suggests that it's USB based.
> > >
> > > > it's not registered as such
> > >
> > > Neither one of the existing ones in that category, right?
> > >
> >
> > Well if you really want to open that can of worms...
> >
> > Only gpio-mpsse is really a stand-alone USB GPIO expander. Others in
> > this section are actually MFD devices and would probably better fit in
> > there.
> >
> > I don't have a strong opinion but we should at least be consistent.
>
> So, as far as I can read the whole picture the categories are based on the HW
> (and this is how it should be) and these what I moved _are_ true USB devices.
> Linux abstraction is just a Linux abstraction.

If that was true, we'd have no MFD section at all in GPIO. In there
you have I2C, SPI, platform and I don't think there's a reason to
treat USB MFD devices differently.

You know what? How about just reordering Kconfig entries
alphabetically for this merge window and next release cycle we can
decide on what to do about Kconfig consistency?

Bart

>
> If you want consistency, drop these categories for good, just have plain list
> of the all GPIO drivers. No room for any speculations :-)
>
> > > > ) but please expand on it in the commit message.
> > >
> > > Okay, I will do in v2.
> > >
> > > Thank you for the review!
>
> --
> With Best Regards,
> Andy Shevchenko
>
>





[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux