Re: [PATCH 2/2] mmc: Use mmc_delay() instead of mdelay() for time delay

2011-08-26 Thread Lan Chunhe
On Thu, 25 Aug 2011 18:23:35 +0800, Kyungmin Park wrote: On Thu, Aug 25, 2011 at 5:54 PM, Chunhe Lan wrote: The mmc_delay() is a wrapper function for mdelay() and msleep(). o mdelay() -- block the system when busy-waiting. o msleep() -- suspend the currently running task to enable C

Re: [PATCH] mtd/nand: Don't add disabled nand flash devices

2011-08-22 Thread Lan Chunhe
On Wed, 17 Aug 2011 05:46:29 +0800, Scott Wood wrote: On 08/16/2011 04:27 AM, Chunhe Lan wrote: Nand flash nodes with the property status="disabled" are not usable and so avoid adding "disabled" nand flash devices with the system. Signed-off-by: Chunhe Lan --- drivers/mtd/nand/fsl_elbc_na

Re: [PATCH] mtd/physmap_of: Don't add disabled flash devices

2011-08-22 Thread Lan Chunhe
On Wed, 17 Aug 2011 05:44:56 +0800, Scott Wood wrote: On 08/16/2011 04:25 AM, Chunhe Lan wrote: Flash(cfi-flash, jedec-flash, and so on) nodes with the property status="disabled" are not usable and so avoid adding "disabled" flash devices with the system. Signed-off-by: Chunhe Lan --- dri

Re: [PATCH 3/3 v2] of/device: Register children with a compatible value in of_platform_bus_probe()

2010-12-30 Thread Lan Chunhe
On Thu, 30 Dec 2010 15:31:57 +0800, Grant Likely wrote: On Thu, Dec 30, 2010 at 03:23:11PM +0800, Lan Chunhe wrote: On Thu, 30 Dec 2010 14:50:45 +0800, Grant Likely wrote: >On Fri, Dec 10, 2010 at 06:52:20PM +0800, Lan Chunhe wrote: >>Currently, of_platform_bus_probe() complet

Re: [PATCH 3/3 v2] of/device: Register children with a compatible value in of_platform_bus_probe()

2010-12-29 Thread Lan Chunhe
On Thu, 30 Dec 2010 14:50:45 +0800, Grant Likely wrote: On Fri, Dec 10, 2010 at 06:52:20PM +0800, Lan Chunhe wrote: Currently, of_platform_bus_probe() completely skips nodes which do not explicitly match the 'matches' table passed in. Or, if the root node matches, then it registe

[PATCH 3/3 v2] of/device: Register children with a compatible value in of_platform_bus_probe()

2010-12-10 Thread Lan Chunhe
e() to register all nodes at the top level if they either match the matches table (the current behaviour), or if they have a 'compatible' value (indicating it represents a device). Signed-off-by: Lan Chunhe --- drivers/of/platform.c | 28 +++- 1 files cha

[PATCH 2/3 v2] edac/85xx: PCI/PCIE error interrupt edac support

2010-12-10 Thread Lan Chunhe
handle both of them. Signed-off-by: Kai.Jiang Signed-off-by: Kumar Gala Signed-off-by: Lan Chunhe --- drivers/edac/mpc85xx_edac.c | 240 +- 1 files changed, 188 insertions(+), 52 deletions(-) diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac

[PATCH 1/3 v2] edac: Use ccsr_pci structure instead of hardcoded define

2010-12-10 Thread Lan Chunhe
remove the hardcoded define and add pci/pcie error management register in ccsr_pci structure. Signed-off-by: Kai.Jiang Signed-off-by: Kumar Gala Signed-off-by: Lan Chunhe --- arch/powerpc/sysdev/fsl_pci.h | 54 +++- drivers/edac/mpc85xx_edac.c |8

[PATCH 3/3] powerpc/85xx: Update of_platform_bus_probe list to include PCI controller

2010-11-04 Thread Lan Chunhe
We need to get the pci controller created as an of platform device to allow the EDAC driver to bind to it on P4080DS. Signed-off-by: Kai.Jiang Signed-off-by: Kumar Gala Signed-off-by: Lan Chunhe --- arch/powerpc/platforms/85xx/corenet_ds.c |3 +++ 1 files changed, 3 insertions(+), 0

[PATCH 2/3] edac/85xx: PCI/PCIE error interrupt edac support

2010-11-04 Thread Lan Chunhe
handle both of them. Due to the error management register offset and definition difference between pci and pcie, use ccsr_pci structure to merge pci and pcie edac code into one. Signed-off-by: Kai.Jiang Signed-off-by: Kumar Gala Signed-off-by: Lan Chunhe --- drivers/edac/mpc85xx_edac.c | 243

[PATCH 1/3] edac: Use ccsr_pci structure instead of hardcoded define

2010-11-04 Thread Lan Chunhe
remove the hardcoded define and add pci/pcie error management register in ccsr_pci structure. Signed-off-by: Kai.Jiang Signed-off-by: Kumar Gala Signed-off-by: Lan Chunhe --- arch/powerpc/sysdev/fsl_pci.h | 54 +++- drivers/edac/mpc85xx_edac.h | 13

[PATCH 3/3] powerpc/85xx: Update of_platform_bus_probe list to include PCI controller

2010-11-04 Thread Lan Chunhe
We need to get the pci controller created as an of platform device to allow the EDAC driver to bind to it on P4080DS. Signed-off-by: Kai.Jiang Signed-off-by: Kumar Gala Signed-off-by: Lan Chunhe --- arch/powerpc/platforms/85xx/corenet_ds.c |3 +++ 1 files changed, 3 insertions(+), 0

[PATCH 2/3] edac/85xx: PCI/PCIE error interrupt edac support

2010-11-04 Thread Lan Chunhe
handle both of them. Due to the error management register offset and definition difference between pci and pcie, use ccsr_pci structure to merge pci and pcie edac code into one. Signed-off-by: Kai.Jiang Signed-off-by: Kumar Gala Signed-off-by: Lan Chunhe --- drivers/edac/mpc85xx_edac.c | 243

[PATCH 1/3] edac: Use ccsr_pci structure instead of hardcoded define

2010-11-04 Thread Lan Chunhe
remove the hardcoded define and add pci/pcie error management register in ccsr_pci structure. Signed-off-by: Kai.Jiang Signed-off-by: Kumar Gala Signed-off-by: Lan Chunhe --- arch/powerpc/sysdev/fsl_pci.h | 54 +++- drivers/edac/mpc85xx_edac.h | 13