[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75Vejqe3r6s5eoOfza0DjXEwN-hK73FWkxx6VNpx0y1ms2w@mail.gmail.com>
Date: Tue, 27 Apr 2021 10:31:08 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Michal Simek <michal.simek@...inx.com>
Cc: Sai Krishna Potthuri <lakshmis@...inx.com>,
Linus Walleij <linus.walleij@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-arm Mailing List <linux-arm-kernel@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
devicetree <devicetree@...r.kernel.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
git <git@...inx.com>,
"saikrishna12468@...il.com" <saikrishna12468@...il.com>
Subject: Re: [PATCH v6 3/3] pinctrl: Add Xilinx ZynqMP pinctrl driver support
On Tue, Apr 27, 2021 at 10:23 AM Michal Simek <michal.simek@...inx.com> wrote:
>
> Hi Andy,
>
> On 4/26/21 4:04 PM, Andy Shevchenko wrote:
> > On Mon, Apr 26, 2021 at 4:20 PM Sai Krishna Potthuri
> > <lakshmis@...inx.com> wrote:
> >>> From: Andy Shevchenko <andy.shevchenko@...il.com>
> >>> Sent: Friday, April 23, 2021 9:24 PM
> >>> On Thu, Apr 22, 2021 at 11:31 AM Sai Krishna Potthuri
> >>> <lakshmi.sai.krishna.potthuri@...inx.com> wrote:
> >
> > ...
> >
> >>>> +config PINCTRL_ZYNQMP
> >>>> + tristate "Pinctrl driver for Xilinx ZynqMP"
> >>>> + depends on ZYNQMP_FIRMWARE
> >>>> + select PINMUX
> >>>> + select GENERIC_PINCONF
> >>>> + default ZYNQMP_FIRMWARE
> >>>> + help
> >>>> + This selects the pinctrl driver for Xilinx ZynqMP platform.
> >>>> + This driver will query the pin information from the firmware
> >>>> + and allow configuring the pins.
> >>>> + Configuration can include the mux function to select on those
> >>>> + pin(s)/group(s), and various pin configuration parameters
> >>>> + such as pull-up, slew rate, etc.
> >>>
> >>> Missed module name.
> >> Is this (module name) a configuration option in Kconfig?
> >
> > It's a text in a free form that sheds light on how the module will be
> > named in case the user will choose "m".
>
> Is this described somewhere in documentation that module name should be
> the part of symbol description? I was looking at pinctrl Kconfig and I
> can't see any description like this there that's why I want to double
> check.
I dunno if it is described, the group of maintainers require that for some time.
I personally found this as a good practice.
> Also if this is a rule checkpatch should be extended to checking this.
There was a discussion at some point to add a check that help
description shouldn't be less than 3 lines. Not sure what the outcome
of it.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists