Re: [PATCH] mtd/ifc: Add support for IFC controller version 2.0

From
Li Yang <hidden>
Date
2016-02-04 23:07:19
Reply to
Raghav Dogra, 2016-02-03
On Wed, Feb 3, 2016 at 12:36 AM, Raghav Dogra [off-list ref] wrote:
The new IFC controller version 2.0 has a different memory map page.
Upto IFC 1.4 PAGE size is 4 KB and from IFC2.0 PAGE size is 64KB.
This patch segregates the IFC global and runtime registers to appropriate
PAGE sizes.
If the global registers and the runtime registers are so independent
that they have to be on different page boundaries, it would make more
sense for them to be defined as separate reg regions in the device
tree at the very beginning.  Then we would only need to change the
device tree now and it would be future proof for any page size.
Signed-off-by: Jaiprakash Singh <redacted>
Signed-off-by: Raghav Dogra <redacted>
The patch cannot apply on latest 4.5-rc cleanly either.  Otherwise,

Acked-by: Li Yang <redacted>
---
This patch is the new version of following patch with changed title:
https://patchwork.ozlabs.org/patch/557391/

This patch is dependent on the
"drivers/memory: Add deep sleep support for IFC" patch:
https://patchwork.ozlabs.org/patch/564785/

 drivers/memory/fsl_ifc.c        | 250 +++++++++++++++++++++-------------------
 drivers/mtd/nand/fsl_ifc_nand.c |  72 ++++++------
 include/linux/fsl_ifc.h         |  48 +++++---
 3 files changed, 202 insertions(+), 168 deletions(-)
Regards,
Leo
Thread (12 messages) 12 messages, 5 authors, last reply 2016-02-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help