mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: <Tudor.Ambarus@microchip.com>
To: <p.yadav@ti.com>, <potin.lai@quantatw.com>
Cc: <michael@walle.cc>, <miquel.raynal@bootlin.com>, <richard@nod.at>,
	<vigneshr@ti.com>, <patrick@stwcx.xyz>,
	<linux-mtd@lists.infradead.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/1] mtd: spi-nor: winbond: Add support for w25q01jv-iq
Date: Wed, 29 Dec 2021 14:01:03 +0000	[thread overview]
Message-ID: <43c0c326-7ab7-5791-30f5-a36de9f6950d@microchip.com> (raw)
In-Reply-To: <20211227090149.k53bhq3h3giuz2h2@ti.com>

On 12/27/21 11:01 AM, Pratyush Yadav wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> On 24/12/21 06:45PM, Potin Lai wrote:
>> Add support for winbond w25q01jv-iq chip
>>
>> Signed-off-by: Potin Lai <potin.lai@quantatw.com>
>> ---
>>  drivers/mtd/spi-nor/winbond.c | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/drivers/mtd/spi-nor/winbond.c b/drivers/mtd/spi-nor/winbond.c
>> index c783ab4ba1e4..a2a72d05fc28 100644
>> --- a/drivers/mtd/spi-nor/winbond.c
>> +++ b/drivers/mtd/spi-nor/winbond.c
>> @@ -104,6 +104,8 @@ static const struct flash_info winbond_parts[] = {
>>                           SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) },
>>       { "w25q512jvq", INFO(0xef4020, 0, 64 * 1024, 1024,
>>                            SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
>> +     { "w25q01jv-iq", INFO(0xef4021, 0, 64 * 1024, 2048,
>> +                             SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
> 
> We recently reworked how flags are set. Please use the new flags
> variants. See [0] If the flash supports SFDP then we prefer you only set
> the PARSE_SFDP flag. See [1].
> 
> You also need to show the dumps of the SFDP and other flash parameters.
> See [2].
> 
> [0] https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git/commit/?h=spi-nor/next&id=ec1c0e996035c8f93eca7bb64ccf0411b57fddea
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git/commit/?h=spi-nor/next&id=1c513c986b0a4c7151cb4571e568136f16c9dc58
> [2] https://patchwork.ozlabs.org/project/linux-mtd/patch/20211209190436.401946-2-tudor.ambarus@microchip.com/

Thanks for the guidance, Pratyush, your hints are correct.
I'm in the process of updating the documentation where I'm adding some
guidelines on how to submit a new flash proposal or how to update an
existing flash_info entry. We'll be able to guide contributors to the SPI NOR
documentation soon.

Cheers,
ta

      reply	other threads:[~2021-12-29 14:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-24 10:45 Potin Lai
2021-12-27  9:01 ` Pratyush Yadav
2021-12-29 14:01   ` Tudor.Ambarus [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=43c0c326-7ab7-5791-30f5-a36de9f6950d@microchip.com \
    --to=tudor.ambarus@microchip.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=michael@walle.cc \
    --cc=miquel.raynal@bootlin.com \
    --cc=p.yadav@ti.com \
    --cc=patrick@stwcx.xyz \
    --cc=potin.lai@quantatw.com \
    --cc=richard@nod.at \
    --cc=vigneshr@ti.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®