public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Michel Stempin <michel.stempin@wanadoo.fr>
To: David Woodhouse <dwmw2@infradead.org>
Cc: "Marek Vašut" <marex@denx.de>,
	"Artem Bityutskiy" <artem.bityutskiy@linux.intel.com>,
	"Luka Perkov" <luka@openwrt.org>,
	"Gabor Juhos" <juhosg@openwrt.org>,
	"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
	"Brian Norris" <computersforpeace@gmail.com>
Subject: Re: [PATCH v2] mtd: m25p80: add support for PMC SPI flash
Date: Fri, 30 Aug 2013 23:11:03 +0200	[thread overview]
Message-ID: <52210A67.5080807@wanadoo.fr> (raw)
In-Reply-To: <1377895857.22372.89.camel@shinybook.infradead.org>



Le 30/08/2013 22:50, David Woodhouse a écrit :
> On Wed, 2013-08-21 at 12:03 +0200, Luka Perkov wrote:
>>
>> On Wed, Aug 21, 2013 at 02:12:42AM -0700, Brian Norris wrote:
>>> I just noticed this version of Michel's patch (it was filtered to my
>>> spam for some reason). I pushed Michel's version,
>>
>> Ok, I have only changed commit message.
> 
> And I'm going to change it a little more to make it make sense, I think.
> Can someone confirm the accuracy of the following (fixing non-standard
> terms, and also I think fixing the comment about Pm25LQ032 block size):

I can't get used to these IEC prefixes vs. the customary ones, but you are right,
this is the international standard.

> 
> -commit ac36246d7c8684128c5879219c3178838983fbd0
> +commit ab50c34679ca03929fbc313da378b4f934e706ea
>  Author: Michel Stempin <michel.stempin@wanadoo.fr>
>  Date:   Mon Jul 15 12:13:56 2013 +0200
>  
>      mtd: chips: Add support for PMC SPI Flash chips in m25p80.c
>      
> -    Add support for PMC (now Chingis, part of ISSI) Pm25LV512 (512 kBbit),
> -    Pm25LV010 (1 Mbit) and Pm25LQ032 (32 Mbit) SPI Flash chips.
> +    Add support for PMC (now Chingis, part of ISSI) Pm25LV512 (512 Kib),
> +    Pm25LV010 (1 Mib) and Pm25LQ032 (32 Mib) SPI Flash chips.
>      
>      This patch addresses two generations of PMC SPI Flash chips:
>      
> -     - Pm25LV512 and Pm25LV010: these have 4KB sectors and 32KB
> -       blocks. The 4KB sector erase uses a non-standard opcode
> +     - Pm25LV512 and Pm25LV010: these have 4KiB sectors and 32KiB
> +       blocks. The 4KiB sector erase uses a non-standard opcode
>         (0xd7). They do not support JEDEC RDID (0x9f), and so they can only
>         be detected by matching their name string with pre-configured
>         platform data. Because of the cascaded acquisitions, the datasheet
> @@ -20,7 +20,7 @@ Date:   Mon Jul 15 12:13:56 2013 +0200
>         only public datasheet available seems to be on GeoCities:
>         <http://www.geocities.jp/scottle556/pdf/Pm25LV512-010.pdf>
>      
> -     - Pm25LQ032: a newer generation flash, with 4KB sectors and 32KB
> +     - Pm25LQ032: a newer generation flash, with 4KiB sectors and 64KiB

Yes, this is a 64KiB block size indeed.

>         blocks. It uses the standard erase and JEDEC read-ID
>         opcodes. Manufacturer's datasheet is here:
>         <http://www.chingistek.com/img/Product_Files/Pm25LQ032C%20datasheet%20v1.6.1.pdf>
> @@ -46,6 +46,7 @@ Date:   Mon Jul 15 12:13:56 2013 +0200
>      Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
>      [Brian: fixed conflict]
>      Signed-off-by: Brian Norris <computersforpeace@gmail.com>
> +    Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
>  
> 
> 
> 
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
> 

-- Michel

      reply	other threads:[~2013-08-30 21:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-17 23:44 [PATCH v2] mtd: m25p80: add support for PMC SPI flash Luka Perkov
2013-08-21  9:12 ` Brian Norris
2013-08-21 10:03   ` Luka Perkov
2013-08-30 20:50     ` David Woodhouse
2013-08-30 21:11       ` Michel Stempin [this message]

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=52210A67.5080807@wanadoo.fr \
    --to=michel.stempin@wanadoo.fr \
    --cc=artem.bityutskiy@linux.intel.com \
    --cc=computersforpeace@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=juhosg@openwrt.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=luka@openwrt.org \
    --cc=marex@denx.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox