[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK8P3a2v9i+iT5_TKSjDwVpw_dQrhfRiVNm3YOL7W7YTAEdagg@mail.gmail.com>
Date: Tue, 8 Sep 2020 09:45:52 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Anson Huang <anson.huang@....com>
Cc: Aisheng Dong <aisheng.dong@....com>,
Fabio Estevam <festevam@...il.com>,
Shawn Guo <shawnguo@...nel.org>,
Stefan Agner <stefan@...er.ch>,
Sascha Hauer <kernel@...gutronix.de>,
Linus Walleij <linus.walleij@...aro.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
dl-linux-imx <linux-imx@....com>
Subject: Re: [PATCH V3 3/3] pinctrl: imx: Support building i.MX pinctrl core
driver as module
On Tue, Sep 8, 2020 at 9:34 AM Anson Huang <anson.huang@....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@....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
Powered by blists - more mailing lists