RE: [PATCH][v2] driver/memory: Update dependency of IFC for Layerscape

2016-07-04 Thread Raghav Dogra
Scott uses the updated email id and is already added. Regards, Raghav > -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > Sent: Monday, July 04, 2016 3:19 PM > To: Boris Brezillon ; Raghav Dogra > ; Paul Mackerras ; Michael > Ell

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

2016-06-29 Thread Raghav Dogra
> -Original Message- > From: Leo Li [mailto:pku@gmail.com] > Sent: Saturday, May 28, 2016 3:34 AM > To: Brian Norris ; Raghav Dogra > > Cc: Boris Brezillon ; Yang-Leo Li > ; Prabhakar Kushwaha > ; Scott Wood ; linux- > m...@lists.infradead.org; li

RE: [PATCH][v3] drivers/memory: Add deep sleep support for IFC

2016-02-17 Thread Raghav Dogra
> -Original Message- > From: Scott Wood [mailto:o...@buserror.net] > Sent: Tuesday, February 16, 2016 2:05 PM > To: Raghav Dogra ; linuxppc-dev@lists.ozlabs.org > Cc: Prabhakar Kushwaha > Subject: Re: [PATCH][v3] drivers/memory: Add deep sleep support for IFC > &g

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

2016-02-17 Thread Raghav Dogra
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. Signed-off-by: Jaiprakash Singh Signed-off-by: Raghav Dogra Acked-by: Li

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

2016-02-15 Thread Raghav Dogra
> -Original Message- > From: Scott Wood [mailto:o...@buserror.net] > Sent: Tuesday, February 16, 2016 6:12 AM > To: Raghav Dogra ; Brian Norris > ; Li Yang > Cc: Raghav Dogra ; linux-...@lists.infradead.org; > linuxppc-dev ; Prabhakar Kushwaha > ; Jaiprakas

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

2016-02-15 Thread Raghav Dogra
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. Signed-off-by: Jaiprakash Singh Signed-off-by: Raghav Dogra Acked-by: Li

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

2016-02-14 Thread Raghav Dogra
> -Original Message- > From: Brian Norris [mailto:computersforpe...@gmail.com] > Sent: Saturday, February 13, 2016 1:14 AM > To: Li Yang > Cc: Raghav Dogra ; linux-...@lists.infradead.org; > linuxppc-dev ; o...@buserror.net; Prabhakar > Kushwaha ; Jaiprakash S

[PATCH][v3] drivers/memory: Add deep sleep support for IFC

2016-02-14 Thread Raghav Dogra
Add support of suspend, resume function to support deep sleep. Also make sure of SRAM initialization during resume. Signed-off-by: Prabhakar Kushwaha Signed-off-by: Raghav Dogra --- Changes for v3: Replace spin_event_timeout() with arch independent macro Based on git://git.kernel.org/pub/scm

[PATCH][v3] mpc85xx/lbc: modify suspend/resume entry sequence

2016-02-09 Thread Raghav Dogra
Modify platform driver suspend/resume to syscore suspend/resume. This is because p1022ds needs to use localbus when entering the PCIE resume. Signed-off-by: Raghav Dogra --- Changes for v3: rebased to linux.git main branch arch/powerpc/sysdev/Makefile | 2 +- arch/powerpc/sysdev/fsl_lbc.c

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

2016-02-02 Thread Raghav Dogra
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. Signed-off-by: Jaiprakash Singh Signed-off-by: Raghav Dogra --- This patch

[PATCH 2/3] driver/memory: Update dependency of IFC for Layerscape

2016-02-01 Thread Raghav Dogra
IFC NAND is not working on ARM layescape platform due to undefined macro FSL_SOC. This patch fixes the dependency to enable NAND. Signed-off-by: Raghav Dogra --- drivers/memory/Kconfig | 2 +- drivers/memory/fsl_ifc.c | 4 +++- drivers/mtd/nand/Kconfig | 2 +- 3 files changed, 5 insertions

[PATCH 3/3] mtd/ifc: Segregate IFC fcm and runtime registers

2016-02-01 Thread Raghav Dogra
IFC has two set of registers viz FCM (Flash control machine) aka global and run time registers. These set are defined in two memory map PAGES. Upto IFC 1.4 PAGE size is 4 KB and from IFC2.0 PAGE size is 64KB Signed-off-by: Jaiprakash Singh Signed-off-by: Raghav Dogra --- drivers/memory

[PATCH 1/3] driver/memory: Removal of deprecated NO_IRQ

2016-02-01 Thread Raghav Dogra
Replacing the NO_IRQ macro with 0. If there is no interrupt, returned value will be 0 regardless of what NO_IRQ is defined. Signed-off-by: Raghav Dogra --- This patchset is dependent on the IFC deep sleep patch: https://patchwork.ozlabs.org/patch/564785/ drivers/memory/fsl_ifc.c | 2 +- 1 file

[PATCH][v2] drivers/memory: Add deep sleep support for IFC

2016-01-08 Thread Raghav Dogra
Add support of suspend, resume function to support deep sleep. Also make sure of SRAM initialization during resume. Signed-off-by: Prabhakar Kushwaha Signed-off-by: Raghav Dogra --- Changes for v2: Copying only the correct registers while resume. Based on git://git.kernel.org/pub/scm/linux

[PATCH][v2] mpc85xx/lbc: modify suspend/resume entry sequence

2015-12-31 Thread Raghav Dogra
Modify platform driver suspend/resume to syscore suspend/resume. This is because p1022ds needs to use localbus when entering the PCIE resume. Signed-off-by: Raghav Dogra --- changes for v2: return type correction arch/powerpc/sysdev/Makefile | 2 +- arch/powerpc/sysdev/fsl_lbc.c | 49

[PATCH 2/2] powerpc/fsl_lbc: removal of dead code

2015-10-30 Thread Raghav Dogra
The condition check is not used. Signed-off-by: Raghav Dogra --- arch/powerpc/sysdev/fsl_lbc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_lbc.c b/arch/powerpc/sysdev/fsl_lbc.c index 332d700..a41d281 100644 --- a/arch/powerpc/sysdev/fsl_lbc.c +++ b/arch/powerpc

[PATCH 1/2] mpc85xx/lbc: modify suspend/resume entry sequence

2015-10-30 Thread Raghav Dogra
Modify platform driver suspend/resume to syscore suspend/resume. This is because p1022ds needs to use localbus when entering the PCIE resume. Signed-off-by: Raghav Dogra --- arch/powerpc/sysdev/Makefile | 2 +- arch/powerpc/sysdev/fsl_lbc.c | 51 +-- 2