From: William Breathitt Gray <vilhelm.gray@gmail.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: "Maciej S. Szmigiero" <mail@maciej.szmigiero.name>,
Guenter Roeck <linux@roeck-us.net>,
"open list:GPIO SUBSYSTEM" <linux-gpio@vger.kernel.org>,
linux-iio@vger.kernel.org,
LINUXWATCHDOG <linux-watchdog@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 3/5] gpio: Change ISA_BUS_API dependency to selection
Date: Thu, 22 Feb 2018 15:30:09 -0500 [thread overview]
Message-ID: <20180222203009.GA10834@sophia> (raw)
In-Reply-To: <CACRpkdaw75RH_WR4Ta9AmqNmGnaPhFKK2HfC=m8SNabACs95vg@mail.gmail.com>
On Thu, Feb 22, 2018 at 04:16:17PM +0100, Linus Walleij wrote:
>On Fri, Dec 29, 2017 at 9:13 PM, William Breathitt Gray
><vilhelm.gray@gmail.com> wrote:
>
>> The ISA_BUS_API Kconfig option enables the compilation of the ISA bus
>> driver. The ISA bus driver does not perform any hardware interaction,
>> and is instead just a thin layer of software abstraction to eliminate
>> boilerplate code common to ISA-style device drivers. Since ISA_BUS_API
>> has no dependencies and does not jeopardize the integrity of the system
>> when enabled, drivers should select it when the ISA bus driver
>> functionality is needed.
>>
>> Cc: Linus Walleij <linus.walleij@linaro.org>
>> Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
>
>Patch applied to the GPIO tree for v4.17.
>
>Can you confirm that we don't have any dangling ISA
>drivers not using this?
>
>Yours,
>Linus Walleij
Hi Linus,
This patchset should cover all current mainline drivers depending on
ISA_BUS_API.
However, there are existing drivers for ISA compatible devices that
would benefit from utilizing struct isa_driver rather than struct
platform_driver as was done for the Winbond GPIO driver; for example,
a number of the drivers under the "Port-mapped I/O GPIO drivers" menu
are also for Super I/O devices and may benefit from using struct
isa_driver. I thought it best to let the respective maintainers of those
drivers make the changes if they so desire, since the primary benefit of
struct isa_driver over struct platform_driver is code clarity in my
opinion.
I may submit patches myself for some of the low-hanging fruit later this
year if I find the time. Right now implementing the counter subsystem
has been my priority, but perhaps some downtime will be available soon
enough for me to add ISA driver improvements to my plate -- we'll just
have to see how it all goes. :)
William Breathitt Gray
next prev parent reply other threads:[~2018-02-22 20:30 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-29 20:13 [PATCH v2 0/5] Change ISA_BUS_API dependency to selection William Breathitt Gray
2017-12-29 20:13 ` [PATCH v2 1/5] iio: " William Breathitt Gray
2018-01-01 9:55 ` Jonathan Cameron
2018-02-22 15:14 ` Linus Walleij
2017-12-29 20:13 ` [PATCH v2 2/5] watchdog: " William Breathitt Gray
2018-02-22 15:15 ` Linus Walleij
2017-12-29 20:13 ` [PATCH v2 3/5] gpio: " William Breathitt Gray
2018-02-22 15:16 ` Linus Walleij
2018-02-22 20:30 ` William Breathitt Gray [this message]
2018-02-22 20:44 ` Maciej S. Szmigiero
2018-02-23 13:50 ` Maciej S. Szmigiero
2018-02-23 14:09 ` Linus Walleij
2017-12-29 20:14 ` [PATCH v2 4/5] isa: Remove ISA_BUS_API selection for ISA_BUS William Breathitt Gray
2018-02-22 15:18 ` Linus Walleij
2017-12-29 20:14 ` [PATCH v2 5/5] pc104: Add EXPERT dependency for PC104 Kconfig option William Breathitt Gray
2018-02-22 15:20 ` Linus Walleij
2018-02-22 20:45 ` William Breathitt Gray
2018-01-02 9:29 ` [PATCH v2 0/5] Change ISA_BUS_API dependency to selection Linus Walleij
2018-01-31 2:22 ` William Breathitt Gray
2018-02-19 14:47 ` Maciej S. Szmigiero
2018-02-22 15:13 ` Linus Walleij
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=20180222203009.GA10834@sophia \
--to=vilhelm.gray@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=mail@maciej.szmigiero.name \
/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).