[PATCH V3 3/3] pinctrl: imx: Support building i.MX pinctrl core driver as module

Arnd Bergmann arnd at arndb.de
Tue Sep 8 03:45:52 EDT 2020


On Tue, Sep 8, 2020 at 9:34 AM Anson Huang <anson.huang at nxp.com> wrote:
> > Subject: Re: [PATCH V3 3/3] pinctrl: imx: Support building i.MX pinctrl core
> > driver as module
> >
> > On Tue, Sep 8, 2020 at 9:20 AM Anson Huang <Anson.Huang at nxp.com>
> > wrote:
> >
> > >  # SPDX-License-Identifier: GPL-2.0-only  config PINCTRL_IMX
> > > -       bool
> > > +       tristate "IMX pinctrl core driver"
> > > +       depends on OF
> > >         select GENERIC_PINCTRL_GROUPS
> > >         select GENERIC_PINMUX_FUNCTIONS
> > >         select GENERIC_PINCONF
> >
> > I don't see why you need to make this option user-visible when it is already
> > selected by the drivers that need it. Wouldn't it be enough to change the 'bool'
> > to 'tristate' without adding a prompt?
>
> Make sense, so it is same for PINCTRL_IMX_SCU, right?

Yes, correct.

I wasn't on Cc on the other two patches, so I missed that.

     Arnd



More information about the linux-arm-kernel mailing list