From: Josh Wu <josh.wu@atmel.com>
To: Josh Wu <josh.wu@atmel.com>
Cc: nicolas.ferre@atmel.com, plagnioj@jcrosoft.com,
linux-mtd@lists.infradead.org,
linux-arm-kernel@lists.infradead.org, dedekind1@gmail.com
Subject: Re: [PATCH 0/5 v3] at91: PMECC: enable PMECC in dt for at91sam9x5ek, at91sam9n12ek
Date: Thu, 07 Feb 2013 11:04:49 +0800 [thread overview]
Message-ID: <511319D1.8090505@atmel.com> (raw)
In-Reply-To: <1358945232-2282-1-git-send-email-josh.wu@atmel.com>
Hi,
Just a ping. Any feedback for this v3 patch?
Best Regards,
Josh Wu
On 1/23/2013 8:47 PM, Josh Wu wrote:
> Those patches will enable PMECC in dt parameters for at91sam9x5ek and
> at91sam9n12ek.
>
> The PMECC driver will check minimum required ecc on ONFI parameter from NAND
> flash.
>
> If pmecc-cap, pmecc-sector-size in dts file is specified, use those two.
> otherwise, set those according to NAND flash ONFI parameters.
>
> If the pmecc-cap, pmecc-sector-size in dts are different with ecc requirement
> in ONFI, print out a warning.
>
>
> For the following compile error:
> ERROR (phandle_references): Reference to non-existent node or label "pinctrl_ssc0_tx"
>
> ERROR: Input tree has errors, aborting (use -f to force output)
> make[2]: *** [arch/arm/boot/dts/at91sam9g20ek.dtb] Error 2
>
> the fixes are already merged in Linux mainline in v3.8-rc4.
> you can find in:
> 544ae6b2e676c3c37fb8c93ef9327932fc2e5bc2 (ARM: at91/dts: add pinctrl support for SSC peripheral)
> ea03c81521bde526570e1dec96eaa21fe5ac84a2 (ASoC: atmel-ssc: add pinctrl selection to driver)
>
>
> Change logs:
> v2: rebase to v3.8-rc3. And wrapped the commit message.
>
> v3: big chages:
> 1. reduce the PMECC lookup table mapping. Just the lookup table not whole
> ROM code according to J.C's suggestion.
> 2. use simpler strategy to handle pmecc-cap, pmecc-sector-size:
> * make pmecc-cap, pmecc-sector-size optional.
> * If pmecc-cap, pmecc-sector-size are not set, use ONFI ecc parameters.
> otherwise, use those in DTS file.
> * print out a warning if PMECC use different ecc bits or sector size
> from ONFI ecc parameters.
>
> Josh Wu (5):
> MTD: atmel_nand: avoid to report an error when lookup table offset is
> 0.
> ARM: at91: at91sam9x5: add DT parameters to enable PMECC
> ARM: at91: at91sam9n12: add DT parameters to enable PMECC
> MTD: atmel_nand: make pmecc-cap, pmecc-sector-size in dts is
> optional.
> MTD: at91: atmel_nand: for PMECC, add code to check the ONFI
> parameter ECC requirement.
>
> arch/arm/boot/dts/at91sam9n12.dtsi | 3 +-
> arch/arm/boot/dts/at91sam9n12ek.dts | 5 +-
> arch/arm/boot/dts/at91sam9x5.dtsi | 4 +
> arch/arm/boot/dts/at91sam9x5cm.dtsi | 5 +-
> drivers/mtd/nand/atmel_nand.c | 141 +++++++++++++++++++++++++++++------
> 5 files changed, 131 insertions(+), 27 deletions(-)
>
WARNING: multiple messages have this Message-ID (diff)
From: josh.wu@atmel.com (Josh Wu)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/5 v3] at91: PMECC: enable PMECC in dt for at91sam9x5ek, at91sam9n12ek
Date: Thu, 07 Feb 2013 11:04:49 +0800 [thread overview]
Message-ID: <511319D1.8090505@atmel.com> (raw)
In-Reply-To: <1358945232-2282-1-git-send-email-josh.wu@atmel.com>
Hi,
Just a ping. Any feedback for this v3 patch?
Best Regards,
Josh Wu
On 1/23/2013 8:47 PM, Josh Wu wrote:
> Those patches will enable PMECC in dt parameters for at91sam9x5ek and
> at91sam9n12ek.
>
> The PMECC driver will check minimum required ecc on ONFI parameter from NAND
> flash.
>
> If pmecc-cap, pmecc-sector-size in dts file is specified, use those two.
> otherwise, set those according to NAND flash ONFI parameters.
>
> If the pmecc-cap, pmecc-sector-size in dts are different with ecc requirement
> in ONFI, print out a warning.
>
>
> For the following compile error:
> ERROR (phandle_references): Reference to non-existent node or label "pinctrl_ssc0_tx"
>
> ERROR: Input tree has errors, aborting (use -f to force output)
> make[2]: *** [arch/arm/boot/dts/at91sam9g20ek.dtb] Error 2
>
> the fixes are already merged in Linux mainline in v3.8-rc4.
> you can find in:
> 544ae6b2e676c3c37fb8c93ef9327932fc2e5bc2 (ARM: at91/dts: add pinctrl support for SSC peripheral)
> ea03c81521bde526570e1dec96eaa21fe5ac84a2 (ASoC: atmel-ssc: add pinctrl selection to driver)
>
>
> Change logs:
> v2: rebase to v3.8-rc3. And wrapped the commit message.
>
> v3: big chages:
> 1. reduce the PMECC lookup table mapping. Just the lookup table not whole
> ROM code according to J.C's suggestion.
> 2. use simpler strategy to handle pmecc-cap, pmecc-sector-size:
> * make pmecc-cap, pmecc-sector-size optional.
> * If pmecc-cap, pmecc-sector-size are not set, use ONFI ecc parameters.
> otherwise, use those in DTS file.
> * print out a warning if PMECC use different ecc bits or sector size
> from ONFI ecc parameters.
>
> Josh Wu (5):
> MTD: atmel_nand: avoid to report an error when lookup table offset is
> 0.
> ARM: at91: at91sam9x5: add DT parameters to enable PMECC
> ARM: at91: at91sam9n12: add DT parameters to enable PMECC
> MTD: atmel_nand: make pmecc-cap, pmecc-sector-size in dts is
> optional.
> MTD: at91: atmel_nand: for PMECC, add code to check the ONFI
> parameter ECC requirement.
>
> arch/arm/boot/dts/at91sam9n12.dtsi | 3 +-
> arch/arm/boot/dts/at91sam9n12ek.dts | 5 +-
> arch/arm/boot/dts/at91sam9x5.dtsi | 4 +
> arch/arm/boot/dts/at91sam9x5cm.dtsi | 5 +-
> drivers/mtd/nand/atmel_nand.c | 141 +++++++++++++++++++++++++++++------
> 5 files changed, 131 insertions(+), 27 deletions(-)
>
next prev parent reply other threads:[~2013-02-07 3:04 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-23 12:47 [PATCH 0/5 v3] at91: PMECC: enable PMECC in dt for at91sam9x5ek, at91sam9n12ek Josh Wu
2013-01-23 12:47 ` Josh Wu
2013-01-23 12:47 ` [PATCH 1/5] MTD: atmel_nand: avoid to report an error when lookup table offset is 0 Josh Wu
2013-01-23 12:47 ` Josh Wu
2013-01-23 12:47 ` [PATCH 2/5] ARM: at91: at91sam9x5: add DT parameters to enable PMECC Josh Wu
2013-01-23 12:47 ` Josh Wu
2013-01-23 12:47 ` [PATCH 3/5] ARM: at91: at91sam9n12: " Josh Wu
2013-01-23 12:47 ` Josh Wu
2013-01-23 12:47 ` [PATCH 4/5] MTD: atmel_nand: make pmecc-cap, pmecc-sector-size in dts is optional Josh Wu
2013-01-23 12:47 ` Josh Wu
2013-01-23 12:47 ` [PATCH 5/5] MTD: at91: atmel_nand: for PMECC, add code to check the ONFI parameter ECC requirement Josh Wu
2013-01-23 12:47 ` Josh Wu
2013-02-07 3:04 ` Josh Wu [this message]
2013-02-07 3:04 ` [PATCH 0/5 v3] at91: PMECC: enable PMECC in dt for at91sam9x5ek, at91sam9n12ek Josh Wu
2013-02-07 16:16 ` Nicolas Ferre
2013-02-07 16:16 ` Nicolas Ferre
2013-02-08 16:57 ` Jean-Christophe PLAGNIOL-VILLARD
2013-02-08 16:57 ` Jean-Christophe PLAGNIOL-VILLARD
2013-02-10 0:40 ` Olof Johansson
2013-02-10 0:40 ` Olof Johansson
2013-02-11 3:44 ` Josh Wu
2013-02-11 3:44 ` Josh Wu
2013-02-12 15:01 ` Artem Bityutskiy
2013-02-12 15:01 ` Artem Bityutskiy
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=511319D1.8090505@atmel.com \
--to=josh.wu@atmel.com \
--cc=dedekind1@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=nicolas.ferre@atmel.com \
--cc=plagnioj@jcrosoft.com \
/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.