All of lore.kernel.org
 help / color / mirror / Atom feed
From: <Tudor.Ambarus@microchip.com>
To: <zhengxunli@mxic.com.tw>, <masonccyang@mxic.com.tw>
Cc: juliensu@mxic.com.tw, ycllin@mxic.com.tw, michael@walle.cc,
	linux-mtd@lists.infradead.org, heiko.thiery@gmail.com,
	p.yadav@ti.com
Subject: Re: spi-nor: maxronix MX25L12835F support
Date: Thu, 18 Feb 2021 08:49:08 +0000	[thread overview]
Message-ID: <52400cb7-1ee2-a0e3-4e70-266096941d95@microchip.com> (raw)
In-Reply-To: <a4d2999f-33b7-eeb3-db45-26cf2334b341@microchip.com>

On 2/18/21 9:56 AM, Tudor Ambarus - M18064 wrote:
> Hi, Zhengxun, Mason,
> 
> On 2/18/21 7:45 AM, zhengxunli@mxic.com.tw wrote:
>> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>>
>> Hi,
>>
>> <Tudor.Ambarus@microchip.com> wrote on 2021/02/16 下午 07:15:33:
>>
>>> <Tudor.Ambarus@microchip.com>
>>> 2021/02/16 下午 07:15
>>>
>>> To
>>>
>>> <michael@walle.cc>, <p.yadav@ti.com>, <ycllin@mxic.com.tw>,
>>> <zhengxunli@mxic.com.tw>, <juliensu@mxic.com.tw>,
>>>
>>> cc
>>>
>>> <heiko.thiery@gmail.com>, <linux-mtd@lists.infradead.org>
>>>
>>> Subject
>>>
>>> Re: spi-nor: maxronix MX25L12835F support
>>>
>>> Hi, all,
>>>
>>> +zhengxunli, juliensu & ycllin
>>>
>>> On 2/16/21 11:48 AM, Michael Walle wrote:
>>>> EXTERNAL EMAIL: Do not click links or open attachments unless you
>>> know the content is safe
>>>>
>>>> Am 2021-02-16 10:27, schrieb Pratyush Yadav:
>>>>> On 15/02/21 10:53PM, Heiko Thiery wrote:
>>>>>> Hi all,
>>>>>>
>>>>>> I faced an issue with a SPI flash on our board. We use a macronix
>>>>>> MX25L12835F [1]. Unfortunately this flash has the same JEDEC ID like
>>>>>> the MX25L12805D [2].
>>>>>>
>>>>>> The newer MX25L12835F has support for dual/quad read mode and RDSFDP
>>>>>> while the older doesn't.
>>>>>>
>>>>>> I thought that I could do a fixup with a device specific
>>>>>> post_bfpt_fixups() call but by now this seems not possible. The
>> older
>>>>>> MX25L12805D has no flags set that allows a call to
>>>>>> spi_nor_sfdp_init_params() and implements the fixup.
>>>>>>
>>>>>> Has anyone an idea how to solve this?
>>>
>>> Maybe macronix can help with some suggestions on how to differentiate
>>> between flashes at runtime.
>>
>> In fact, the duplicate ID also caused us trouble. Maybe you can refer to
>> our colleagues' patches and add a new ID before the old ID.
>>
>> https://patchwork.ozlabs.org/project/linux-mtd/patch/1587631123-25474-2-git-send-email-masonccyang@mxic.com.tw/
>>
> 
> No, that patch is wrong because mx66l51235l will no longer be
> detected. I see that mx66l51235l also supports SECT_4K, as
> mx25l51245g does. Do you know why Mason added a new flash ID?
> Was it just to get the new flash name? I'll send a patch right
> now to correct this.
> 

I'll wait a bit, I see there's something else about mx66l51235l:
https://linux-mtd.infradead.narkive.com/90mgDZkV/patch-mtd-spi-nor-fix-options-for-mx66l51235f#post1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

  reply	other threads:[~2021-02-18  8:50 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-15 21:53 spi-nor: maxronix MX25L12835F support Heiko Thiery
2021-02-16  9:27 ` Pratyush Yadav
2021-02-16  9:45   ` Heiko Thiery
2021-02-16  9:48   ` Michael Walle
2021-02-16 10:16     ` Pratyush Yadav
2021-02-16 10:20       ` Pratyush Yadav
2021-02-16 10:41         ` Heiko Thiery
2021-02-16 10:48           ` Pratyush Yadav
2021-02-16 10:55             ` Heiko Thiery
2021-02-16 11:05               ` Pratyush Yadav
2021-02-16 11:15     ` Tudor.Ambarus
2021-02-18  5:45       ` zhengxunli
2021-02-18  7:15         ` Heiko Thiery
2021-02-18  7:56         ` Tudor.Ambarus
2021-02-18  8:49           ` Tudor.Ambarus [this message]
2021-02-18  7:43       ` Heiko Thiery
2021-02-18  9:27         ` Tudor.Ambarus
2021-02-18 10:15           ` Heiko Thiery
2021-02-18 10:26             ` Tudor.Ambarus
2021-02-18 10:36               ` Heiko Thiery
2021-02-19  2:45               ` zhengxunli
2021-02-27 21:52               ` Heiko Thiery
2021-03-01 10:52                 ` Vignesh Raghavendra
2021-03-01 11:11                   ` Tudor.Ambarus
2021-03-01 13:36                     ` Pratyush Yadav
2021-03-01 13:50                       ` Michael Walle
2021-03-01 14:09                         ` Tudor.Ambarus
2021-03-01 14:42                           ` Michael Walle
2021-03-01 15:25                             ` Tudor.Ambarus
2021-03-02  5:49                               ` Vignesh Raghavendra
2021-03-03 13:44                                 ` Heiko Thiery
2021-03-04  7:02                                   ` Vignesh Raghavendra
2021-03-04  7:10                                     ` Heiko Thiery
2021-03-19 14:33                                       ` Stefan Herbrechtsmeier
2021-03-01 15:40                         ` Pratyush Yadav
2021-03-01 14:03                       ` Tudor.Ambarus
2021-06-28  7:29 ` Tudor.Ambarus

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=52400cb7-1ee2-a0e3-4e70-266096941d95@microchip.com \
    --to=tudor.ambarus@microchip.com \
    --cc=heiko.thiery@gmail.com \
    --cc=juliensu@mxic.com.tw \
    --cc=linux-mtd@lists.infradead.org \
    --cc=masonccyang@mxic.com.tw \
    --cc=michael@walle.cc \
    --cc=p.yadav@ti.com \
    --cc=ycllin@mxic.com.tw \
    --cc=zhengxunli@mxic.com.tw \
    /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.