* Re: [PATCH 2/3] mtd: mediatek: driver for MTK Smart Device Gen1 NAND
[not found] ` <20160309214348.5aa78af5@bbrezillon>
@ 2016-03-18 14:00 ` Jorge Ramirez-Ortiz
[not found] ` <56EC09F5.5020704-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Jorge Ramirez-Ortiz @ 2016-03-18 14:00 UTC (permalink / raw)
To: Boris Brezillon
Cc: robh-DgEjT+Ai2ygdnm+yROfE0A,
daniel.thompson-QSEj5FYQhm4dnm+yROfE0A,
linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w,
linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
xiaolei.li-NuS5LvNUpcJWk0Htik3J/w,
computersforpeace-Re5JQEeQqe8AvxtiuMwx3w,
dwmw2-wEGCiKHe2LqWVfeAwA7xHQ
On 03/09/2016 03:43 PM, Boris Brezillon wrote:
> On Wed, 9 Mar 2016 15:01:22 -0500
> Jorge Ramirez-Ortiz <jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> wrote:
>
>> On 03/08/2016 11:24 AM, Boris Brezillon wrote:
>>>> + switch (mtd->writesize) {
>>>>> + case KB(2):
>>>>> + fmt = PAGEFMT_512_2K;
>>>>> + chip->ecc.layout = &nand_2k_64;
>>>>> + break;
>>>>> + case KB(4):
>>>>> + fmt = PAGEFMT_2K_4K;
>>>>> + chip->ecc.layout = &nand_4k_128;
>>>>> + break;
>>>>> + case KB(8):
>>>>> + fmt = PAGEFMT_4K_8K;
>>>>> + break;
>>>>> + default:
>>>>> + dev_err(dev, "invalid page size: %d\n", mtd->writesize);
>>>>> + return -EINVAL;
>>>>> + }
>>> ecclayout info should be exposed through mtd_ooblayout_ops now.
>>>
>> do you have an approximate date for when this interface will be merged in
>> git://git.infradead.org/l2-mtd.git?
>>
> Should be ready for 4.7, in the meantime you can base your work on my
> branch [1] (which is based on l2-mtd/master).
>
> [1]https://github.com/bbrezillon/linux-0day/tree/nand/ecclayout
hi Boris, just a quick one, please could you confirm that you would like to see
the RFC v2 patch-set for this driver based on this branch? or should we rebase
on some other tree?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 2/3] mtd: mediatek: driver for MTK Smart Device Gen1 NAND
[not found] ` <56EC09F5.5020704-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
@ 2016-03-18 14:24 ` Boris Brezillon
0 siblings, 0 replies; 2+ messages in thread
From: Boris Brezillon @ 2016-03-18 14:24 UTC (permalink / raw)
To: Jorge Ramirez-Ortiz
Cc: robh-DgEjT+Ai2ygdnm+yROfE0A,
daniel.thompson-QSEj5FYQhm4dnm+yROfE0A,
linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w,
linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
xiaolei.li-NuS5LvNUpcJWk0Htik3J/w,
computersforpeace-Re5JQEeQqe8AvxtiuMwx3w,
dwmw2-wEGCiKHe2LqWVfeAwA7xHQ
On Fri, 18 Mar 2016 10:00:21 -0400
Jorge Ramirez-Ortiz <jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> wrote:
> On 03/09/2016 03:43 PM, Boris Brezillon wrote:
> > On Wed, 9 Mar 2016 15:01:22 -0500
> > Jorge Ramirez-Ortiz <jorge.ramirez-ortiz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> wrote:
> >
> >> On 03/08/2016 11:24 AM, Boris Brezillon wrote:
> >>>> + switch (mtd->writesize) {
> >>>>> + case KB(2):
> >>>>> + fmt = PAGEFMT_512_2K;
> >>>>> + chip->ecc.layout = &nand_2k_64;
> >>>>> + break;
> >>>>> + case KB(4):
> >>>>> + fmt = PAGEFMT_2K_4K;
> >>>>> + chip->ecc.layout = &nand_4k_128;
> >>>>> + break;
> >>>>> + case KB(8):
> >>>>> + fmt = PAGEFMT_4K_8K;
> >>>>> + break;
> >>>>> + default:
> >>>>> + dev_err(dev, "invalid page size: %d\n", mtd->writesize);
> >>>>> + return -EINVAL;
> >>>>> + }
> >>> ecclayout info should be exposed through mtd_ooblayout_ops now.
> >>>
> >> do you have an approximate date for when this interface will be merged in
> >> git://git.infradead.org/l2-mtd.git?
> >>
> > Should be ready for 4.7, in the meantime you can base your work on my
> > branch [1] (which is based on l2-mtd/master).
> >
> > [1]https://github.com/bbrezillon/linux-0day/tree/nand/ecclayout
>
>
> hi Boris, just a quick one, please could you confirm that you would like to see
> the RFC v2 patch-set for this driver based on this branch?
Yes, I confirm you can base your work on this tree.
> or should we rebase on some other tree?
You may have to rebase on a different tree after 4.6-rc1 is out though.
--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-18 14:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1456938013-8819-1-git-send-email-jorge.ramirez-ortiz@linaro.org>
[not found] ` <1456938013-8819-3-git-send-email-jorge.ramirez-ortiz@linaro.org>
[not found] ` <20160308172437.6eccce05@bbrezillon>
[not found] ` <56E08112.7040201@linaro.org>
[not found] ` <20160309214348.5aa78af5@bbrezillon>
2016-03-18 14:00 ` [PATCH 2/3] mtd: mediatek: driver for MTK Smart Device Gen1 NAND Jorge Ramirez-Ortiz
[not found] ` <56EC09F5.5020704-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-03-18 14:24 ` Boris Brezillon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox