Re: [PATCH v3] gpio: add GPIO support for F71882FG and F71889F

From: Guenter Roeck
Date: Thu Aug 29 2013 - 12:08:39 EST


On Thu, Aug 29, 2013 at 04:37:38PM +0100, Matthew Garrett wrote:
> On Thu, Aug 29, 2013 at 06:41:41AM -0700, Guenter Roeck wrote:
> > On 08/29/2013 05:57 AM, Matthew Garrett wrote:
> > >If a vendor doesn't provide any way to autoprobe a device, there's no
> > >way to autoprobe a device. That usually means that you're not expected
> > >to use that device.
> > >
> >
> > Pretty radical. Following your advice, should we remove all watchdog
> > and hwmon drivers for all SuperIO chips out there, plus any existing
> > gpio drivers (drivers/char/pc8736x_gpio.c might be a candidate) ?
>
> The majority of board vendors clearly don't expect the OS to drive the
> hwmon chips - they're there for the benefit of ACPI and SMM code. That
> doesn't mean that there's no benefit in having drivers for them, just
> that the board vendors don't care about that use case and so won't do
> anything to make it easier.
>
Actually, not entirely true. Some vendors even provide software running on
Windows to access those chips (including access to fans controlled through
GPIO pins) and to provide information to the user. It might be more accurate
to say that some board vendors don't care about Linux (or about providing
access through ACPI, for that matter).

Question here is what the Linux kernel community's policy is going to be
to handle such cases. Pragmatic or dogmatic ?

Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/