From: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
To: Andy Shevchenko
<andriy.shevchenko-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
Cc: Mika Westerberg
<mika.westerberg-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
David Cohen
<david.a.cohen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
Jarkko Nikula
<jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
Subject: Re: [PATCH v2 2/4] i2c: designware-pci: shrink dw_pci_controllers array
Date: Sat, 24 Jan 2015 05:19:14 +0100 [thread overview]
Message-ID: <20150124041914.GA1190@katana> (raw)
In-Reply-To: <1422018246.31903.162.camel-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1966 bytes --]
On Fri, Jan 23, 2015 at 03:04:06PM +0200, Andy Shevchenko wrote:
> On Fri, 2015-01-23 at 14:48 +0200, Mika Westerberg wrote:
> > On Fri, Jan 23, 2015 at 01:41:55PM +0100, Wolfram Sang wrote:
> > > On Fri, Jan 23, 2015 at 01:54:03PM +0200, Andy Shevchenko wrote:
> > > > There is no need to duplicate same data for each controller. If we need
> > > > specific stuff for a certain controller in the future we may add it later. The
> > > > patch leaves one controller per platform.
> > > >
> > > > Signed-off-by: Andy Shevchenko <andriy.shevchenko-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> > > > ---
> > > > drivers/i2c/busses/i2c-designware-pcidrv.c | 63 ++++++------------------------
> > > > 1 file changed, 11 insertions(+), 52 deletions(-)
> > > >
> > > > diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c
> > > > index 5c6fca7..435a8ec 100644
> > > > --- a/drivers/i2c/busses/i2c-designware-pcidrv.c
> > > > +++ b/drivers/i2c/busses/i2c-designware-pcidrv.c
> > > > @@ -40,13 +40,7 @@
> > > > #define DRIVER_NAME "i2c-designware-pci"
> > > >
> > > > enum dw_pci_ctl_id_t {
> > > > - medfield_0,
> > > > - medfield_1,
> > > > - medfield_2,
> > > > - medfield_3,
> > > > - medfield_4,
> > > > - medfield_5,
> > > > -
> > > > + medfield,
> > > > baytrail,
> > > > haswell,
> > > > };
> > > > @@ -98,47 +92,12 @@ static struct dw_scl_sda_cfg hsw_config = {
> > > > };
> > > >
> > > > static struct dw_pci_controller dw_pci_controllers[] = {
> > > > - [medfield_0] = {
> > > > - .bus_num = 0,
> > >
> > > Wasn't that bus_num used to ensure stable bus numbers? Adding Mika.
> >
> > That's right.
> >
> > However, I don't think anybody really uses Medfield outside Intel so in
> > that sense this patch should not break anything.
>
> I think better to ask David who is closer to that Intel MID area.
OK, waiting for a reply from him here.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2015-01-24 4:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-23 11:54 [PATCH v2 1/4] i2c: designware-pci: remove Moorestown support Andy Shevchenko
[not found] ` <1422014045-20584-1-git-send-email-andriy.shevchenko-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-01-23 11:54 ` [PATCH v2 2/4] i2c: designware-pci: shrink dw_pci_controllers array Andy Shevchenko
[not found] ` <1422014045-20584-2-git-send-email-andriy.shevchenko-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-01-23 12:41 ` Wolfram Sang
2015-01-23 12:48 ` Mika Westerberg
[not found] ` <20150123124805.GP1850-3PARRvDOhMZrdx17CPfAsdBPR1lH4CV8@public.gmane.org>
2015-01-23 13:04 ` Andy Shevchenko
[not found] ` <1422018246.31903.162.camel-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-01-24 4:19 ` Wolfram Sang [this message]
2015-01-26 12:15 ` Wolfram Sang
2015-02-05 19:21 ` Wolfram Sang
2015-02-05 22:56 ` David Cohen
[not found] ` <20150205225651.GA1022-UmZa8NLUsbhHELxPJs4m+1DQ4js95KgL@public.gmane.org>
2015-02-06 10:50 ` Andy Shevchenko
2015-01-23 11:54 ` [PATCH v2 3/4] i2c: designware-pci: no need to provide clk_khz Andy Shevchenko
[not found] ` <1422014045-20584-3-git-send-email-andriy.shevchenko-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-01-23 14:36 ` Wolfram Sang
2015-01-23 11:54 ` [PATCH v2 4/4] i2c: designware-pci: update Intel copyright line Andy Shevchenko
2015-01-23 14:35 ` [PATCH v2 1/4] i2c: designware-pci: remove Moorestown support Wolfram Sang
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=20150124041914.GA1190@katana \
--to=wsa-z923lk4zbo2bacvfa/9k2g@public.gmane.org \
--cc=andriy.shevchenko-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
--cc=david.a.cohen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
--cc=jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mika.westerberg-VuQAYsv1563Yd54FQh9/CA@public.gmane.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).