From: sudeep.holla@arm.com (Sudeep Holla)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM64: juno: add NOR flash to device tree
Date: Mon, 19 Oct 2015 11:17:01 +0100 [thread overview]
Message-ID: <5624C31D.3070906@arm.com> (raw)
In-Reply-To: <CACRpkdaSox9WKb5-dkD_zAwO9WxP6+b010p3bdxsm1LRy=WvKg@mail.gmail.com>
On 18/10/15 10:25, Linus Walleij wrote:
> On Thu, Oct 15, 2015 at 5:30 PM, Sudeep Holla <sudeep.holla@arm.com> wrote:
>> Me
>>> Results after
>>> enabling MTD, MTD_CFI, MTD_PHYSMAP, MTD_PHYSMAP_OF,
>>> MTD_CFI_INTELEXT:
>>
>> Just a note on this: we can't enable these when CPUIDLE is enabled as
>> the firmware assumes the flash is always in read mode while Linux leaves
>> NOR flash in "read id" mode after initialization.
>
> Sorry I'm too unfamiliar with this lingo. Can you give me some detail
> on what "read mode" and "read id" mode is all about?
>
OK, sorry for that I just quoted from my understanding. Here is the
actual one from the data sheet:
"The device can be in any of four read states: Read Array, Read
Identifier, Read Status or Read Query. Upon power-up, or after a reset,
the device defaults to Read Array. To change the read state, the
appropriate read command must be written to the device..."
After the driver gets initialized, it usually leaves the device in Read
Identifier state as the last command sent is to read ID from the chip.
>> So until the firmware is ready to handle that, we can't enabled both
>> on Juno. We had same issue even on TC2. I will follow up internally to
>> see if we can fix on Juno at-least.
>
> Sounds like something that should be fixed for all Versatile
> Express that have cpuidle?
>
Correct, I just mentioned so that if you see/get any boot issue report
with NOR flash and CPUIdle enabled, you will have the background instead
of investigating the known issue again.
--
Regards,
Sudeep
next prev parent reply other threads:[~2015-10-19 10:17 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-15 10:20 [PATCH] ARM64: juno: add NOR flash to device tree Linus Walleij
2015-10-15 11:58 ` Liviu Dudau
2015-10-15 15:20 ` Arnd Bergmann
2015-10-18 9:22 ` Linus Walleij
2015-10-15 15:30 ` Sudeep Holla
2015-10-18 9:25 ` Linus Walleij
2015-10-19 10:17 ` Sudeep Holla [this message]
2015-10-19 10:29 ` Mark Rutland
2015-10-19 11:19 ` Linus Walleij
2015-10-19 11:27 ` Leif Lindholm
2015-10-19 21:50 ` Linus Walleij
2015-10-19 11:39 ` Mark Rutland
2015-10-19 14:40 ` Ard Biesheuvel
2015-10-19 21:58 ` Linus Walleij
2015-10-20 14:13 ` Ard Biesheuvel
2015-10-19 21:55 ` Linus Walleij
2015-10-20 11:20 ` Leif Lindholm
[not found] ` <CAD0U-hKZM-A2N_Lpnzwkt0WmAi+kRR=UOEE4Vr2M-iTo9ikkOg@mail.gmail.com>
2015-10-27 11:55 ` Linus Walleij
2015-10-27 12:01 ` Sudeep Holla
2015-10-27 12:22 ` Linus Walleij
2015-10-27 12:33 ` Sudeep Holla
2015-10-27 21:41 ` Linus Walleij
2015-10-27 12:33 ` Mark Rutland
2015-10-27 12:41 ` Sudeep Holla
2015-10-27 21:43 ` Linus Walleij
2015-10-27 13:20 ` Ryan Harkin
2015-10-19 11:20 ` Leif Lindholm
2015-10-21 11:18 ` Ryan Harkin
2015-10-26 8:41 ` [PATCH] arm64/efi: register UEFI runtime mmio regions as iomem resources Ard Biesheuvel
2015-10-27 12:08 ` Linus Walleij
2015-10-27 12:31 ` Ard Biesheuvel
2015-11-16 12:45 ` Ard Biesheuvel
2015-10-27 11:59 ` [PATCH] ARM64: juno: add NOR flash to device tree Linus Walleij
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=5624C31D.3070906@arm.com \
--to=sudeep.holla@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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.