[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110527110130.4b3448f2@endymion.delvare>
Date: Fri, 27 May 2011 11:01:30 +0200
From: Jean Delvare <khali@...ux-fr.org>
To: Grant Likely <grant.likely@...retlab.ca>
Cc: Peter Tyser <ptyser@...-inc.com>, linux-kernel@...r.kernel.org,
Alek Du <alek.du@...el.com>,
Samuel Ortiz <sameo@...ux.intel.com>,
Eric Miao <eric.y.miao@...il.com>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
Joe Perches <joe@...ches.com>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Syed S Azam <Syed.Azam@...com>,
Vincent Palatin <vpalatin@...omium.org>
Subject: Re: [PATCH v6] gpio: Add support for Intel ICHx/3100/Series[56]
GPIO
Hi Grant,
On Fri, 27 May 2011 00:42:38 -0600, Grant Likely wrote:
> On Wed, Apr 20, 2011 at 11:35:54AM -0500, Peter Tyser wrote:
> > This driver works on many Intel chipsets, including the ICH6, ICH7,
> > ICH8, ICH9, ICH10, 3100, Series 5/3400 (Ibex Peak), Series 6/C200
> > (Cougar Point), and NM10 (Tiger Point).
> >
> > Additional Intel chipsets should be easily supported if needed, eg the
> > ICH1-5, EP80579, etc.
> >
> > Tested on a QM57 (Ibex Peak), 3100 (Whitmore Lake) , and
> > NM10 (Tiger Point).
> >
> > Cc: Alek Du <alek.du@...el.com>
> > Cc: Samuel Ortiz <sameo@...ux.intel.com>
> > Cc: Eric Miao <eric.y.miao@...il.com>
> > Cc: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
> > Cc: Mark Brown <broonie@...nsource.wolfsonmicro.com>
> > Cc: Joe Perches <joe@...ches.com>
> > Cc: Alan Cox <alan@...rguk.ukuu.org.uk>
> > Cc: Grant Likely <grant.likely@...retlab.ca>
> > Cc: Syed S Azam <Syed.Azam@...com>
> > Signed-off-by: Peter Tyser <ptyser@...-inc.com>
> > Signed-off-by: Vincent Palatin <vpalatin@...omium.org>
> > Tested-by: Vincent Palatin <vpalatin@...omium.org>
>
> Hmmm, I merged a patch from Jean Delvare adding support for Intel
> 82801 gpio pins[1]. Does this driver support the same hardware? I see
> the same PCI ids.
>
> [1] https://lkml.org/lkml/2011/4/19/170
There is indeed a common range in the supported devices: ICH6 to ICH10.
My driver also supports older ICH chips (ICH to ICH5), while Peter's
support newer devices my driver does not (basically everything after
the ICH10).
Another key difference is that my driver is a simple PCI driver, while
Peter's is a platform driver. It makes some sense to have a platform
driver because the PCI device is a multifunction device so other
drivers may want to bind to it. However, I suspect that the other
functions (ACPI?) will never need a driver (not in the Linux device
driver binding model sense of the term at least) which is why I did not
bother. Peter, what was you reason to go for a platform driver? If you
really want to it go that route, you'll have to follow the standard MFD
model (see drivers/mfd/lpc_sch.c for an example.)
The only device I really care to see supported at the moment is the
ICH10, and it is supported by both drivers, so I don't care too much
which driver is picked.
--
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists