[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c8284b5b0906111316p1367a508vdb59ee7c2a8d2ff1@mail.gmail.com>
Date: Thu, 11 Jun 2009 13:16:12 -0700
From: Rob Emanuele <poorarm@...reis.com>
To: Haavard Skinnemoen <haavard.skinnemoen@...el.com>
Cc: Joey Oravec <joravec@...wtech.com>,
Nicolas Ferre <nicolas.ferre@...el.com>,
linux-arm-kernel@...ts.arm.linux.org.uk,
linux-kernel@...r.kernel.org, drzeus-mmc@...eus.cx
Subject: Re: [PATCH][Fix] New Unified AVR32/AT91 MCI Driver that supports both
MCI slots used at the same time
Hi Haavard,
>> This patch unifies the at91 changes I had into the atmel-mci
>> (originally for AVR32) driver.
>
> That doesn't look so bad...but I suspect PDC support hasn't been
> integrated yet?
PDC support is not written yet.
>
>> As with the at91 port I had of this driver, I had to add more flags to
>> the ATMCI_DATA_ERROR_FLAGS as other communication errors were
>> occurring and they were not be reported back. Can anyone add more
>> insight into this?
>
> Adding them to the data error bits doesn't sound like the right thing
> to do...but I guess there might be some sort of timing issue in there
> where we think we're done sending the command but the controller may
> still raise errors.
>
>> Again, anyone who can, please test (on either or both the AT91 and
>> AVR32) and comment.
>
> I haven't looked very closely at it yet, but I spotted a few things
> which might prevent the patch from being accepted as-is:
> - I'm not sure if adding "unified" (or "now supports AT91") all over
> the place is the right thing to do. If the driver is selectable
> when you configure for AT91, it should obviously work on AT91.
Well, what is the best way to differentiate it from the at91_mci
driver and keep users from trying to use both drivers?
> - The patch seems to do a bit too much all at once. The bug fix which
> has already been fixed is one example, another is the clock cap
> option -- we used to have a module parameter for the same purpose,
> but Pierre (the MMC maintainer, who should probably be added to the
> loop) had problems with it. If this feature was in a separate
> patch, it could be rejected without blowing away the rest of the
> driver.
Which kernel branch should I generate the patch against to have the
most recent set of changes?
I can break out the clock cap code without any issues.
> - The AT91 platform parts should be separated from the rest since it
> may need to go through a different maintainer.
Who would that be as I haven't seen anyone who maintains any of those
boards other than the at91rm8200 (at least nothing listed in the
MAINTAINERS file)? The board-sam9g20ek.c platform only shows Atmel as
the most recent copyright.
Thank you,
Rob Emanuele
--
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