linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: <Tudor.Ambarus@microchip.com>
To: <michael@walle.cc>
Cc: heiko.thiery@gmail.com, linux-mtd@lists.infradead.org,
	p.yadav@ti.com, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 0/2] mtd: spi-nor: Fix Quad Enable method for MX25L12835F
Date: Tue, 1 Mar 2022 12:46:50 +0000	[thread overview]
Message-ID: <6af32b60-b508-1c17-7e5c-c453feeabf37@microchip.com> (raw)
In-Reply-To: <f04908c3d761220d8efad70ac244bb84@walle.cc>

On 3/1/22 14:36, Michael Walle wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Am 2022-03-01 11:52, schrieb Tudor.Ambarus@microchip.com:
>> On 3/1/22 12:38, Michael Walle wrote:
>>> EXTERNAL EMAIL: Do not click links or open attachments unless you know
>>> the content is safe
>>>
>>> Am 2022-03-01 11:29, schrieb Heiko Thiery:
>>>> Hi Tudor,
>>>>
>>>> Am Di., 1. März 2022 um 10:56 Uhr schrieb Tudor Ambarus
>>>> <tudor.ambarus@microchip.com>:
>>>>>
>>>>> Hi, Heiko,
>>>>>
>>>>> Would you please apply this patch set on top of:
>>>>> https://lore.kernel.org/linux-mtd/20220228134505.203270-1-tudor.ambarus@microchip.com/
>>>>
>>>> When applying that series the flash will be properly detected.
>>>>
>>>> [    1.322655] spi-nor spi0.0: mx25l12835f (16384 Kbytes)
>>>>
>>>> Thanks
>>>
>>> But doesn't that mean that the previous series introduces
>>> possible regressions for other flashes, too?
>>>
>> no, because the other flashes are using the deprecated way of
>> initializing
>> parameters which calls default_init() hooks.
> 
> ahh right!
> 
> But we should clear the quad_enable in the case the SFDP doesn't
> specify it. Right now, we are falling back to a function
> which doesn't make sense, and might even be harmful.
> 

do you mean the one set in the default_init() hook for macronix? we should
get rid of the default_init(), yes. We should use SFDP where possible, where
not possible we should use the late_init() hook to set the Quad Enable method.

I'm cleaning all these right now.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2022-03-01 12:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-01  9:56 [PATCH 0/2] mtd: spi-nor: Fix Quad Enable method for MX25L12835F Tudor Ambarus
2022-03-01  9:56 ` [PATCH 1/2] mtd: spi-nor: macronix: Move set_4byte_addr_mode() to late_init() Tudor Ambarus
2022-03-01 11:16   ` Tudor.Ambarus
2022-03-01  9:56 ` [PATCH 2/2] mtd: spi-nor: macronix: Use post_bfpt hook to fix quad_enable method for MX25L12835F Tudor Ambarus
2022-03-01 14:41   ` Michael Walle
2022-03-01 10:29 ` [PATCH 0/2] mtd: spi-nor: Fix Quad Enable " Heiko Thiery
2022-03-01 10:38   ` Michael Walle
2022-03-01 10:52     ` Tudor.Ambarus
2022-03-01 12:36       ` Michael Walle
2022-03-01 12:46         ` Tudor.Ambarus [this message]
2022-03-01 12:54           ` Michael Walle
2022-03-01 10:54   ` Tudor.Ambarus
2022-03-01 10:56     ` Tudor.Ambarus
2022-03-01 14:23       ` Heiko Thiery
2022-03-01 14:13     ` Heiko Thiery

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=6af32b60-b508-1c17-7e5c-c453feeabf37@microchip.com \
    --to=tudor.ambarus@microchip.com \
    --cc=heiko.thiery@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=michael@walle.cc \
    --cc=p.yadav@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;
as well as URLs for NNTP newsgroup(s).