From: grant.likely@secretlab.ca (Grant Likely)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] gpio: ep93xx: move driver to drivers/gpio
Date: Tue, 31 May 2011 17:28:26 -0600 [thread overview]
Message-ID: <BANLkTikp=Pbh+r3od7fKRP4A7wJrC-i25A@mail.gmail.com> (raw)
In-Reply-To: <ADE657CA350FB648AAC2C43247A983F001F381FC4A77@AUSP01VMBX24.collaborationhost.net>
On Tue, May 31, 2011 at 4:37 PM, H Hartley Sweeten
<hartleys@visionengravers.com> wrote:
> On Tuesday, May 31, 2011 1:41 PM, Grant Likely wrote:
>> On Tue, May 31, 2011 at 1:49 PM, H Hartley Sweeten wrote:
>>> The GPIO driver should reside in drivers/gpio.
>>>
>>> Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
>>> Cc: Ryan Mallon <ryan@bluewatersys.com>
>>> Cc: Grant Likely <grant.likely@secretlab.ca>
>>>
>>> ---
>>>
>>> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
>>> index 342d634..7307302 100644
>>> --- a/drivers/gpio/Kconfig
>>> +++ b/drivers/gpio/Kconfig
>>> @@ -86,6 +86,13 @@ config GPIO_IT8761E
>>> ? ? ? ?help
>>> ? ? ? ? ?Say yes here to support GPIO functionality of IT8761E super I/O chip.
>>>
>>> +config GPIO_EP93XX
>>> + ? ? ? bool "Cirrus EP93xx GPIO support"
>>> + ? ? ? depends on ARCH_EP93XX
>>> + ? ? ? default y
>>> + ? ? ? help
>>> + ? ? ? ? Say yes here to support the Cirrus EP93xx GPIO peripheral.
>>> +
>>
>> Do you really want a user-visible Kconfig symbol here? ?If it cannot
>> be built as a module, then I suspect that for most on-chip gpio
>> controllers they should just be enabled unconditionally on the SoC's
>> Kconfig symbol.
>
> Grant,
>
> No, I a user-visible symbol is not needed. ?Should I change this to:
>
> +config GPIO_EP93XX
> + ? ? ? bool
> + ? ? ? depends on ARCH_EP93XX
> + ? ? ? default y
>
> Or like the Samsung drivers, without the visibility:
>
> +config GPIO_EP93XX
> + ? ? ? bool
> + ? ? ? depends on ARM
> + ? ? ? default y if ARCH_EP93XX
I like the former.
> Also, should the help information remain with a hidden Kconfig symbol?
The help text is pretty vanilla. Drop it.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
next prev parent reply other threads:[~2011-05-31 23:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-31 19:49 [PATCH] gpio: ep93xx: move driver to drivers/gpio H Hartley Sweeten
2011-05-31 20:40 ` Grant Likely
2011-05-31 22:37 ` H Hartley Sweeten
2011-05-31 23:28 ` Grant Likely [this message]
2011-06-01 8:26 ` Russell King - ARM Linux
2011-06-01 16:46 ` Grant Likely
2011-06-01 17:24 ` H Hartley Sweeten
2011-06-02 2:44 ` Kyungmin Park
2011-06-02 16:55 ` H Hartley Sweeten
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BANLkTikp=Pbh+r3od7fKRP4A7wJrC-i25A@mail.gmail.com' \
--to=grant.likely@secretlab.ca \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).