From: Huang Shijie <b32955@freescale.com>
To: Wolfram Sang <w.sang@pengutronix.de>
Cc: "Arnd Bergmann" <arnd@arndb.de>,
s.hauer@pengutronix.de, thierry.nolf.barco@gmail.com,
linux-mtd@lists.infradead.org, u.kleine-koenig@pengutronix.de,
"Linus Walleij" <linus.walleij@linaro.org>,
linux-arm-kernel@lists.infradead.org,
"Lothar Waßmann" <LW@karo-electronics.de>
Subject: Re: [PATCH v5 1/3] ARM: mxs: add GPMI-NFC support for imx23/imx28
Date: Fri, 1 Jul 2011 16:45:39 +0800 [thread overview]
Message-ID: <4E0D8932.9000801@freescale.com> (raw)
In-Reply-To: <4E0D87A9.5040203@freescale.com>
于 2011年07月01日 16:39, Huang Shijie 写道:
> Hi:
>> On Fri, Jul 01, 2011 at 03:53:13PM +0800, Huang Shijie wrote:
>>> Hi:
>>>> Hi Arnd,
>>>>
>>>>> If you really want to call out obsceneties, how about the fact
>>>>> that this
>>>>> driver comes with an 805 line patch to add a HAL for a single chip!
>>>>>
>>>>> Such abstractions should not be introduced as long as there is only
>>>>> a single instance of the hardware.
>>>> If I understood correctly, most if not all upcoming i.MX will have
>>>> the GPMI
>>>> (mx50, mx6). Huang, do you already have a draft for the mx50-hal?
>>>>
>>> I have finished the code for mx50's GPMI.
>>> And I am coding for the MX6's GPMI recently.
>>>
>>> I need a separate mx50-hal (or mx60-hal) to make the code tidy.
>>> The MX50 and mx60 support ONFI NAND and TOGGLE nand(which mx23/mx28
>>> do not support),
>>> they need a long code to initialize the TIMING register. What's
>>> more, the READ/WRITE functions
>>> are different from the mx23/mx28.
>>>
>>> Frankly speaking, I can merge the mxs-hal.c file to the gpmi-nfc.c,
>>> but don't you think it too
>>> messy?
>> Is it possible to post the mx50 code (as RFC with a note saying that it
>> is not ready yet and is not intended to be merged) so we can see better?
>>
> The attachment is for mx50 GPMI driver.
> You can see the long timing initialization.
The normal mx50 board does not supports DDR mode, so i do not enable it
in the patch.
But another special MX50 board(ddr2 board) supports DDR mode, the code
is for that board.
Best Regards
Huang Shijie
>
> I will take a business trip in the following several days.
> I will submit new version when i come back to office.
>
WARNING: multiple messages have this Message-ID (diff)
From: b32955@freescale.com (Huang Shijie)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 1/3] ARM: mxs: add GPMI-NFC support for imx23/imx28
Date: Fri, 1 Jul 2011 16:45:39 +0800 [thread overview]
Message-ID: <4E0D8932.9000801@freescale.com> (raw)
In-Reply-To: <4E0D87A9.5040203@freescale.com>
? 2011?07?01? 16:39, Huang Shijie ??:
> Hi:
>> On Fri, Jul 01, 2011 at 03:53:13PM +0800, Huang Shijie wrote:
>>> Hi:
>>>> Hi Arnd,
>>>>
>>>>> If you really want to call out obsceneties, how about the fact
>>>>> that this
>>>>> driver comes with an 805 line patch to add a HAL for a single chip!
>>>>>
>>>>> Such abstractions should not be introduced as long as there is only
>>>>> a single instance of the hardware.
>>>> If I understood correctly, most if not all upcoming i.MX will have
>>>> the GPMI
>>>> (mx50, mx6). Huang, do you already have a draft for the mx50-hal?
>>>>
>>> I have finished the code for mx50's GPMI.
>>> And I am coding for the MX6's GPMI recently.
>>>
>>> I need a separate mx50-hal (or mx60-hal) to make the code tidy.
>>> The MX50 and mx60 support ONFI NAND and TOGGLE nand(which mx23/mx28
>>> do not support),
>>> they need a long code to initialize the TIMING register. What's
>>> more, the READ/WRITE functions
>>> are different from the mx23/mx28.
>>>
>>> Frankly speaking, I can merge the mxs-hal.c file to the gpmi-nfc.c,
>>> but don't you think it too
>>> messy?
>> Is it possible to post the mx50 code (as RFC with a note saying that it
>> is not ready yet and is not intended to be merged) so we can see better?
>>
> The attachment is for mx50 GPMI driver.
> You can see the long timing initialization.
The normal mx50 board does not supports DDR mode, so i do not enable it
in the patch.
But another special MX50 board(ddr2 board) supports DDR mode, the code
is for that board.
Best Regards
Huang Shijie
>
> I will take a business trip in the following several days.
> I will submit new version when i come back to office.
>
next prev parent reply other threads:[~2011-07-01 8:45 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-30 3:53 [PATCH v5 0/3] add the GPMI-NFC support for imx23/imx28 Huang Shijie
2011-06-30 3:53 ` Huang Shijie
2011-06-30 3:53 ` [PATCH v5 1/3] ARM: mxs: add " Huang Shijie
2011-06-30 3:53 ` Huang Shijie
2011-06-30 13:55 ` Arnd Bergmann
2011-06-30 13:55 ` Arnd Bergmann
2011-06-30 14:58 ` Lothar Waßmann
2011-06-30 14:58 ` Lothar Waßmann
2011-06-30 22:22 ` Arnd Bergmann
2011-06-30 22:22 ` Arnd Bergmann
2011-07-01 5:59 ` Lothar Waßmann
2011-07-01 5:59 ` Lothar Waßmann
2011-07-01 6:03 ` Wolfram Sang
2011-07-01 6:03 ` Wolfram Sang
2011-07-01 7:53 ` Huang Shijie
2011-07-01 7:53 ` Huang Shijie
2011-07-01 8:01 ` Wolfram Sang
2011-07-01 8:01 ` Wolfram Sang
2011-07-01 8:39 ` Huang Shijie
2011-07-01 8:39 ` Huang Shijie
2011-07-01 8:45 ` Huang Shijie [this message]
2011-07-01 8:45 ` Huang Shijie
2011-07-01 9:25 ` Arnd Bergmann
2011-07-01 9:25 ` Arnd Bergmann
2011-07-08 7:31 ` Uwe Kleine-König
2011-07-08 7:31 ` Uwe Kleine-König
2011-07-08 7:40 ` Huang Shijie
2011-07-08 7:40 ` Huang Shijie
2011-07-08 9:09 ` Uwe Kleine-König
2011-07-08 9:09 ` Uwe Kleine-König
2011-07-08 9:27 ` Huang Shijie
2011-07-08 9:27 ` Huang Shijie
2011-07-08 10:16 ` Uwe Kleine-König
2011-07-08 10:16 ` Uwe Kleine-König
2011-07-08 10:24 ` Lothar Waßmann
2011-07-08 10:24 ` Lothar Waßmann
2011-07-11 8:00 ` Uwe Kleine-König
2011-07-11 8:00 ` Uwe Kleine-König
2011-07-11 8:30 ` Huang Shijie
2011-07-11 8:30 ` Huang Shijie
2011-07-11 8:37 ` Lothar Waßmann
2011-07-11 8:37 ` Lothar Waßmann
2011-07-08 9:02 ` Arnd Bergmann
2011-07-08 9:02 ` Arnd Bergmann
2011-06-30 3:53 ` [PATCH v5 2/3] ARM: mxs/mx23evk: add GPMI-NFC device Huang Shijie
2011-06-30 3:53 ` Huang Shijie
2011-06-30 7:55 ` Uwe Kleine-König
2011-06-30 7:55 ` Uwe Kleine-König
2011-06-30 8:37 ` Huang Shijie
2011-06-30 8:37 ` Huang Shijie
2011-06-30 3:53 ` [PATCH v5 3/3] ARM: mxs/mx28evk: " Huang Shijie
2011-06-30 3:53 ` Huang Shijie
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=4E0D8932.9000801@freescale.com \
--to=b32955@freescale.com \
--cc=LW@karo-electronics.de \
--cc=arnd@arndb.de \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
--cc=thierry.nolf.barco@gmail.com \
--cc=u.kleine-koenig@pengutronix.de \
--cc=w.sang@pengutronix.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.